Referencing resources from other plugins in plugin.xml [message #500139] |
Wed, 25 November 2009 02:55  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.07329 seconds