export images into a product [message #512029] |
Wed, 03 February 2010 11:59  |
Eclipse User |
|
|
|
Hi,
I've got a project that uses images for views, perspective and other items loading them from an img project subfolder. The plugin.xml looks like this:
<view
allowMultiple="false"
class="hrpm.rcp.gui.view.SkillFamilyTableView"
icon="img/skill.png"
id="hrpm.rcp.gui.view.SkillFamilyView"
name="Famiglie di competenze"
restorable="true">
</view>
<view
allowMultiple="false"
class="hrpm.rcp.gui.view.SkillTableView"
icon="img/skill.png"
id="hrpm.rcp.gui.view.SkillTableView"
name="Competenze"
restorable="true">
</view>
so for instance the SkillFamilyView has the img/skill.png image. Now, the project works fine when launched from inside Eclipse, but when I run it as a product I cannot see any image. I've noticed that the img subfolder is not included into the product final folder, but it should be since it is in the classpath of the project.
Am I doing something wrong?
Thanks
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.30167 seconds