Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Referencing resources from other plugins in plugin.xml
Referencing resources from other plugins in plugin.xml [message #500139] Wed, 25 November 2009 02:55 Go to next message
Daniel Krügler is currently offline Daniel Krügler
Messages: 853
Registered: July 2009
Senior Member
There is a very old issue still active

https://bugs.eclipse.org/bugs/show_bug.cgi?id=220195

which mentions the badly documented location syntax
e.g. for icons of the style

platform:/plugin/<pluginid>/icons/myicon.ico

which usually "just works", provided that the corresponding
plugin contains the resource myicon.ico at this location.
Indeed this works for the examples I was interested in
even though I agree with the bug reporter that this should
work consistently.

But I also remember that there was I much more fundamental issue
that suggested to introduce *symbolic* URL's for some standard
Eclipse resources (e.g. the shared images), which looks even
more appealing to me, because that approach would have the
effect, that the Eclipse platform could refactor the concrete
location of these officially shared resources, albeit still
being able to guarantee a stable "link" to them.

Unfortunately I don't find this bug any more :-(. Can someone
give me a pointer to that?

Thanks,

Daniel Krügler
Re: Referencing resources from other plugins in plugin.xml [message #500143 is a reply to message #500139] Wed, 25 November 2009 03:09 Go to previous message
Daniel Krügler is currently offline Daniel Krügler
Messages: 853
Registered: July 2009
Senior Member
Daniel Krügler wrote:
> There is a very old issue still active
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=220195
>
> which mentions the badly documented location syntax
> e.g. for icons of the style
>
> platform:/plugin/<pluginid>/icons/myicon.ico
>
> which usually "just works", provided that the corresponding
> plugin contains the resource myicon.ico at this location.
> Indeed this works for the examples I was interested in
> even though I agree with the bug reporter that this should
> work consistently.
>
> But I also remember that there was I much more fundamental issue
> that suggested to introduce *symbolic* URL's for some standard
> Eclipse resources (e.g. the shared images), which looks even
> more appealing to me, because that approach would have the
> effect, that the Eclipse platform could refactor the concrete
> location of these officially shared resources, albeit still
> being able to guarantee a stable "link" to them.
>
> Unfortunately I don't find this bug any more :-(. Can someone
> give me a pointer to that?

OK, I found the answer on my own:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=246224

- Daniel Krügler
Previous Topic:Applying Filter to View - Timing question
Next Topic:OpenOffice + RCP: impossible?
Goto Forum:
  


Current Time: Tue Jul 22 19:51:32 EDT 2014

Powered by FUDForum. Page generated in 0.02001 seconds