Bug 140860 ResourceLocator does not locate externalized strings stored in .properties files
I have been investigating the support to add my custom resource locator to find my externalized properties files and I want to make sure that I will have the right support. I looked at the BIRT code and found that org.eclipse.birt.report.model.core.BundleHelper does not use the IResourceLocator to find the .properties file. Instead it has a "msgFolder" attribute that holds the directory path of the resource files. However this is not going to work for me. I would like the BundleHelper class to make a call to the IResourceLocator to find the .properties files. Could the component owner change this bug to the right component.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/BundleHelper.java
if ( bundle != null )
				bundleHierarchy.add( bundle );
		}
		
		PropertyResourceBundle bundle = populateBundle( new File( msgFolder,
				baseName + ".properties" ) ); 
		if ( bundle != null )
			bundleHierarchy.add( bundle );
		return bundleHierarchy;
	}
	/**
	 * Populates a <code>ResourceBundle</code> for a input file.
	 * 
	 * @param file
	 *            a file binds to a message file.
	 * @return A <code>ResourceBundle</code> for a input file, return
	 *         <code>null</code> if the file doesn't exist or any exception
	 *         occurred during I/O reading.
	 */
	private PropertyResourceBundle populateBundle( File file )
	{
		assert file != null;
		if ( !file.exists( ) )
			return null;
		InputStream is = null;
		try
		{
			is = new FileInputStream( file );
			PropertyResourceBundle bundle = new PropertyResourceBundle( is );
			is.close( );