- Summary:
Fixed classpath of chart and
core plugin so that icons are included in the bin directory as a resource.
- Bugzilla Bug (s) Resolved: None
- Description:
The icons folder was not set as
a source folder in the classpath, and so is not added to the bin directory.
That results in the code being unable to load a resource using
Class.getResource(). This only affects development environment when working directly
with the BIRT source code (bundle package do already add the icons folder, but
they are made by a different build script).
The second problem is that
the icons must be retrieved using class.getResource() if not in a OSGi
environment. The current code uses a hard-coded path, which forces the user to
copy the icons folder to his own application. This is chart-specific as the
chart engine can be used in non-OSGi mode (although with no possibility to load
custom extensions then).
- Tests Description :
Unit tests, rendering tests
- Notes to Build Team:
- Notes to Developers:
- Notes to QA:
- Notes to Documentation:
-
Files Edited:
"/org.eclipse.birt.chart.ui/.classpath"
"/org.eclipse.birt.chart.ui/src/org/eclipse/birt/chart/ui/util/UIHelper.java"
"/org.eclipse.birt.core.ui/src/org/eclipse/birt/core/ui/utils/UIHelper.java"
"/org.eclipse.birt.core.ui/.classpath"
- Files Added:
- Files Deleted