Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » how to export images into a product?
how to export images into a product? [message #508591] Tue, 19 January 2010 09:56 Go to next message
Luca Ferrari is currently offline Luca Ferrari
Messages: 159
Registered: November 2009
Senior Member
HI,
I've got my rcp application that is configured to load images from the (project) local directory "img", as shown in the plugin.xml file:

   <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>


Now the problem is that when I export the application into a product such directory is not copied into the final product directory, and the images are not present in the application. Do I have to make a plugin for such images or something else?

Thanks
Re: how to export images into a product? [message #509501 is a reply to message #508591] Fri, 22 January 2010 06:10 Go to previous messageGo to next message
Grant Gayed is currently offline Grant Gayed
Messages: 2148
Registered: July 2009
Senior Member
You may get more response if you ask this on the eclipse.platform.rcp
newsgroup.

Grant


"Luca Ferrari" <fluca1978@infinito.it> wrote in message
news:hj4h6t$ak1$1@build.eclipse.org...
> HI,
> I've got my rcp application that is configured to load images from the
(project) local directory "img", as shown in the plugin.xml file:
>
>
> <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>
>
>
> Now the problem is that when I export the application into a product such
directory is not copied into the final product directory, and the images are
not present in the application. Do I have to make a plugin for such images
or something else?
>
> Thanks
Re: how to export images into a product? [message #512247 is a reply to message #508591] Thu, 04 February 2010 08:59 Go to previous message
Catalin Gerea is currently offline Catalin Gerea
Messages: 89
Registered: July 2009
Location: Bucharest, Romania
Member

Hello Luca

Did you checked the build configuration of your plug-in? My guess is that you did not included your images in the binary build.


Time is what you make of it.
Previous Topic:swt browser with pop-up blocker
Next Topic:Deploy an SWT app
Goto Forum:
  


Current Time: Sat Apr 19 09:08:24 EDT 2014

Powered by FUDForum. Page generated in 0.01532 seconds