|
Re: Including icons in a plug-in [message #51463 is a reply to message #51171] |
Wed, 28 May 2003 10:12 |
Eclipse User |
|
|
|
Originally posted by: gg.decisionsoft.com
Jon Skeet wrote:
> I'm sure everyone who's developed a plug-in knows the answer to this
> one, but I can't find it in the help...
>
> I've got an editor, which uses an icon. All works fine when I deploy
> the plug-in manually - I copy over the "icons" directory as well as
> plugin.xml and the code jar file, and all is well. However, trying to
> package the plug-in into a feature and put that on an update site, I
> can't work out where I need to specify that the icons directory should
> be packaged as well. Is it in the plug-in project or the feature
> project? Where is it in either of them?
>
If your using Eclipse to package up the feature all you need to do is
open build.properties for the plugin and add "icons/" to "bin.includes".
This should created the icons directory where needed.
Geoff.
|
|
|
|
Re: Including icons in a plug-in [message #53278 is a reply to message #51594] |
Thu, 29 May 2003 07:11 |
Eclipse User |
|
|
|
Originally posted by: gg.decisionsoft.com
> Thanks. I'm surprised this needs to be done semi-manually though - I'd
> have thought it would be something that an awful lot of plug-ins need.
> I'm also surprised it's either not documented or not very simply
> documented: "including resources in your plug-in" or something similar.
We've just started developing a product as an Eclipse feature and are
finding a number of problems like this.
We've created an internal website with How Tos and FAQs to document
things like this, and others, so that we don't get stuck each time a new
developer hits the problem.
There is a chance we may make this site external, depending on how
useful it turns out to be (or how much demand there seems to be for a
site like it).
Geoff.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04376 seconds