Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » dependent plugins | plugin packaging
dependent plugins | plugin packaging [message #330874] Thu, 14 August 2008 20:26 Go to next message
Eclipse UserFriend
Originally posted by: prasad.chand.gmail.com

Hi,

I am trying to package a plugin as an rcp application. As a part of that
process I have created a product configuration file where I specify
the splash-screen and the icons (of various sizes).

When I test the product (by clicking the Launch eclipse app) it works
fine.But when I export the product and launch it as an application I am
facing the following two problems.

1. The icons and splashscreen are missing.
> I checked the config.ini its alright but splash.bmp and other icon
files are missing in the plugins/myplugin folder (though they are
present in my workspace when I exported the product).

2.unnecessary plugins are included in the exported application. How do I
just select just the dependent plugins of myplugin alone. I have seen
plug-in dependencies view but I am unable to "copy" them to the
configuration file.

Thanks in advance,
Prasad
Re: dependent plugins | plugin packaging [message #330927 is a reply to message #330874] Sun, 17 August 2008 17:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cfondacci.free.fr

Hello,

For you first problem, you simply have to tell the build to include the
files you need (typically your icons / image files).
You can do this by editing the build.properties file. You can then select
your resources to include form the "Build" tab (Binary build section) or
directly by editing the build.properties file through the corresponding tab.

Then reexport and your resources will be there.

For your 2nd point (dependencies), i am not quite sure what you need. You
have to select your plugin dependencies from the "Dependencies" tab of the
manifest editor of each of your plugin. Then if you have a product, you have
to select the whole set of plugins (or features) from the "Configuration"
tab of the product editor. This is what will be exported. It might be normal
to have "more" plugins exported than what you see in these views since your
dependent plugin may depend on other plugins which may be exported as well.
The button "Compute required plugins" is the one you need to automatically
detect which plugins should be exported with your application or product.

Hope this helps.
Christophe.

"Prasad Chand" <prasad.chand@gmail.com> a écrit dans le message de
news:g824dn$t0h$1@build.eclipse.org...
> Hi,
>
> I am trying to package a plugin as an rcp application. As a part of that
> process I have created a product configuration file where I specify the
> splash-screen and the icons (of various sizes).
>
> When I test the product (by clicking the Launch eclipse app) it works
> fine.But when I export the product and launch it as an application I am
> facing the following two problems.
>
> 1. The icons and splashscreen are missing.
> > I checked the config.ini its alright but splash.bmp and other icon
> files are missing in the plugins/myplugin folder (though they are present
> in my workspace when I exported the product).
>
> 2.unnecessary plugins are included in the exported application. How do I
> just select just the dependent plugins of myplugin alone. I have seen
> plug-in dependencies view but I am unable to "copy" them to the
> configuration file.
>
> Thanks in advance,
> Prasad
Re: dependent plugins | plugin packaging [message #330940 is a reply to message #330927] Mon, 18 August 2008 15:58 Go to previous message
Eclipse UserFriend
Originally posted by: prasad.chand.gmail.com

Christophe Fondacci wrote:
> Hello,
>
> For you first problem, you simply have to tell the build to include the
> files you need (typically your icons / image files).
> You can do this by editing the build.properties file. You can then
> select your resources to include form the "Build" tab (Binary build
> section) or directly by editing the build.properties file through the
> corresponding tab.
>
> Then reexport and your resources will be there.

Thank you. I an now able to see the icons.
>
> For your 2nd point (dependencies), i am not quite sure what you need.
> You have to select your plugin dependencies from the "Dependencies" tab
> of the manifest editor of each of your plugin. Then if you have a
> product, you have to select the whole set of plugins (or features) from
> the "Configuration" tab of the product editor. This is what will be
> exported. It might be normal to have "more" plugins exported than what
> you see in these views since your dependent plugin may depend on other
> plugins which may be exported as well. The button "Compute required
> plugins" is the one you need to automatically detect which plugins
> should be exported with your application or product.
>

I had not taken into account the dependent plugins of plugins I
included. Thanks for your comments.

> Hope this helps.
> Christophe.
>
> "Prasad Chand" <prasad.chand@gmail.com> a écrit dans le message de
> news:g824dn$t0h$1@build.eclipse.org...
>> Hi,
>>
>> I am trying to package a plugin as an rcp application. As a part of
>> that process I have created a product configuration file where I
>> specify the splash-screen and the icons (of various sizes).
>>
>> When I test the product (by clicking the Launch eclipse app) it works
>> fine.But when I export the product and launch it as an application I
>> am facing the following two problems.
>>
>> 1. The icons and splashscreen are missing.
>> > I checked the config.ini its alright but splash.bmp and other icon
>> files are missing in the plugins/myplugin folder (though they are
>> present in my workspace when I exported the product).
>>
>> 2.unnecessary plugins are included in the exported application. How do
>> I just select just the dependent plugins of myplugin alone. I have
>> seen plug-in dependencies view but I am unable to "copy" them to the
>> configuration file.
>>
>> Thanks in advance,
>> Prasad
>
Previous Topic:JFace ToolTip Accessibility
Next Topic:Create a plugin manually
Goto Forum:
  


Current Time: Sun Jul 21 15:04:23 GMT 2024

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

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

Back to the top