Manifest editor is unable to find referenced resource in plugin.xml [message #464430] |
Mon, 05 March 2007 05:39  |
Eclipse User |
|
|
|
Hi all,
We have the following definition for actionset extension points in our
plugin.xml:
...
<action
id="menu.edit.cancel.id"
class="com.farbeyond.core.actions.Edit"
definitionId="com.farbeyond.core.commands.edit.cancel"
icon="%menu.edit.cancel.icon"
disabledIcon="%menu.edit.cancel.icon.disabled"
label="%menu.edit.cancel.caption"
menubarPath="menu.edit.id/Group1"
toolbarPath="additions/slot.edit/Group1"
retarget="true"
tooltip="%menu.edit.cancel.tooltip"/>
...
And here's in our plugin.properties:
...
menu.edit.cancel.icon=icons/cancel.gif
menu.edit.cancel.icon.disabled=icons/disabledcancel.gif
menu.edit.cancel.caption=&Cancel
menu.edit.cancel.tooltip=Cancel
...
For above configuration our manifest editor gives warning 'Referenced
resource '%menu.edit.cancel.icon' in attribute 'icon' cannot be found'.
Similiar warning also exists for attribute 'disabledIcon', but not for
'label' and 'tooltip' attribute.
This happens after we migrate to Eclipse 3.2.2, but we didn't have this
message in 3.1.
Any help would be greatly appreciated.
Regards,
Setya
|
|
|
|
|
|
Re: Manifest editor is unable to find referenced resource in plugin.xml [message #464459 is a reply to message #464452] |
Wed, 07 March 2007 10:09  |
Eclipse User |
|
|
|
Setya wrote:
> This happens after I migrate from Eclipse 3.1 to 3.2, I didn't change
> anything in plugin.properties file and no I don't use int'l RCP.
>
> Apparently, starts from 3.2, Eclipse forces us to put relative path to
> the icon/disabledIcon attributes instead of reference to keys in
> plugin.properties.
Ooops - I overlooked that you specified icon positions in the
plugin.properties file! AFAIK this behaviour was *never* guaranteed, so
you are forced to adapt these entries.
Best regards,
Daniel
|
|
|
Powered by
FUDForum. Page generated in 0.03223 seconds