Skip to main content


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 14:56 Go to next message
Luca Ferrari is currently offline Luca FerrariFriend
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 11:10 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
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 13:59 Go to previous message
Catalin Gerea is currently offline Catalin GereaFriend
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: Thu Dec 26 18:43:08 GMT 2024

Powered by FUDForum. Page generated in 0.03931 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top