Bug 146256 Birt cannot process images from a jar-based plugin
BIRT Build: 2.1.0.N20060531-1258 I have an XML document containg references to images with an Eclipse plugin jar file. For example see "severityImage" in the following example: <RESULT name="Avoid returning java.lang.Object , downcast to specific type instead" severity="Recommendation" severityId="0" severityImage="jar:file:D:\rad\eclipse\plugins\org.eclipse.tptp.platform.analysis.core_4.2.0.v200605251528.jar!/icons/rulercmdation_obj.gif"> </RESULT> The URL was generated by Eclipse API's and returns a path to an image stored within a JARred plugin. This plugin is in the same workspace as BIRT so BIRT should be able to find it. However when the BIRT report generator tries to build the report it is unable to find the image. I suspect the image loader in the BIRT report generator does not properly handle Eclipse-based URL's. This is impacting our product deliverables and the only workarounds appears to be for our code to extract the images from the plugin and write them to the filesystem, then reference that image file for BIRT.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/i18n/MessageConstants.java
{
	
	public static final String NAME_PREFIX_NEW_MESSAGE = "Message.NamePrefixNew"; 
	public static final String CHANGE_PROPERTY_MESSAGE = "Message.ChangeProperty"; 
	public static final String CHANGE_PROPERTY_DEFINITION_MESSAGE = "Message.ChangePropertyDefinition"; 
	public static final String MOVE_ITEM_MESSAGE = "Message.MoveItem"; 
	public static final String ADD_TRANSLATION_MESSAGE = "Message.AddTranslation"; 
	public static final String DROP_TRANSLATION_MESSAGE = "Message.DropTranslation"; 
	public static final String CHANGE_TRANSLATION_MESSAGE = "Message.ChangeTranslation"; 
	public static final String MOVE_CONTENT_MESSAGE = "Message.MoveContent"; 
	public static final String REPLACE_ELEMENT_MESSAGE = "Message.ReplaceElement"; 
	public static final String TRANSFORM_TEMPLATE_MESSAGE = "Message.TransformTemplate"; 
	public static final String ADD_PROPERTY_MESSAGE = "Message.AddProperty"; 
	public static final String DROP_PROPERTY_MESSAGE = "Message.DropProperty"; 
	public static final String SET_NAME_MESSAGE = "Message.SetName"; 
	public static final String ADD_ELEMENT_MESSAGE = "Message.AddElement"; 
	public static final String DROP_ELEMENT_MESSAGE = "Message.DropElement"; 
	public static final String SET_STYLE_MESSAGE = "Message.SetStyle"; 
	public static final String REPLACE_ITEM_MESSAGE = "Message.ReplaceItem"; 
	public static final String SET_LOCALE_MESSAGE = "Message.SetLocale"; 
	public static final String SET_TRANSLATION_TEXT_MESSAGE = "Message.SetTranslationText";