Menu label problems (seeing % names) [message #326139] |
Fri, 07 March 2008 17:27  |
Eclipse User |
|
|
|
I am developing the Mylyn CDT plug-in and for some strange reason, my menu
labels are appearing in their % form. For example, I have a menu label I
refer to as: %FocusActiveTask.label. This key is found in my
plugin.properties and is set to be "Focus Active Task". When I edit my
plugin.xml, the string is resolved for me automatically when I look at the
extensions. However, when I start up an Eclipse application from my
workspace that uses my plugin, the menu label appears as
%FocusActiveTask.label.
I have plugin.properties specified in my binary build.
I am using Eclipse 3.4 M5. Anybody have any ideas what I could look
for/try?
|
|
|
Re: Menu label problems (seeing % names) [message #326159 is a reply to message #326139] |
Sun, 09 March 2008 09:05   |
Eclipse User |
|
|
|
Originally posted by: malloovidio.bluewin.ch
Hi Jeff,
I guess you are defining the actual content of your menu labels in the
plugin.properties file. If so, try opening your plugin.xml file, switching
to the "build" tab in the plugin.xml editor and see whether the
plugin.properties file is marked to be included (at least) in the binary
build of your plug-in. If not, mark it and try whether this solves your
problem.
Hope that helps,
Ovidio
Jeff Johnston wrote:
> I am developing the Mylyn CDT plug-in and for some strange reason, my
> menu labels are appearing in their % form. For example, I have a menu
> label I refer to as: %FocusActiveTask.label. This key is found in my
> plugin.properties and is set to be "Focus Active Task". When I edit my
> plugin.xml, the string is resolved for me automatically when I look at
> the extensions. However, when I start up an Eclipse application from my
> workspace that uses my plugin, the menu label appears as
> %FocusActiveTask.label.
>
> I have plugin.properties specified in my binary build.
>
> I am using Eclipse 3.4 M5. Anybody have any ideas what I could look
> for/try?
>
>
|
|
|
Re: Menu label problems (seeing % names) [message #326160 is a reply to message #326159] |
Sun, 09 March 2008 09:29   |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
This is a multi-part message in MIME format.
--------------020902060608020502080508
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Ovidio,
Good advice. It's probably good to also make sure that this line
appears in the MANIFEST.MF:
Bundle-Localization: plugin
Ovidio Mallo wrote:
> Hi Jeff,
>
> I guess you are defining the actual content of your menu labels in the
> plugin.properties file. If so, try opening your plugin.xml file,
> switching
> to the "build" tab in the plugin.xml editor and see whether the
> plugin.properties file is marked to be included (at least) in the binary
> build of your plug-in. If not, mark it and try whether this solves your
> problem.
>
> Hope that helps,
> Ovidio
>
>
> Jeff Johnston wrote:
>> I am developing the Mylyn CDT plug-in and for some strange reason, my
>> menu labels are appearing in their % form. For example, I have a
>> menu label I refer to as: %FocusActiveTask.label. This key is found
>> in my plugin.properties and is set to be "Focus Active Task". When I
>> edit my plugin.xml, the string is resolved for me automatically when
>> I look at the extensions. However, when I start up an Eclipse
>> application from my workspace that uses my plugin, the menu label
>> appears as %FocusActiveTask.label.
>>
>> I have plugin.properties specified in my binary build.
>>
>> I am using Eclipse 3.4 M5. Anybody have any ideas what I could look
>> for/try?
>>
>>
--------------020902060608020502080508
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ovidio,<br>
<br>
Good advice.
|
|
|
|
Re: Menu label problems (seeing % names) [message #326188 is a reply to message #326187] |
Mon, 10 March 2008 16:31  |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Jeff,
I looked for it and suspect it's hiding in one of those tabs somewhere,
but I couldn't find it...
Jeff Johnston wrote:
> Ed Merks wrote:
>
>> Ovidio,
>
>> Good advice. It's probably good to also make sure that this line
>> appears in the MANIFEST.MF:
>
>> Bundle-Localization: plugin
>
> Thanks Ed,
>
> I actually already did have the plugin.properties file in my binary
> build, but this little gem you mention works like a charm.
>
> Is there any way to make this show up without manually editing
> MANIFEST.MF (e.g. a tab option like Build, Overview etc..)?
>
|
|
|
Powered by
FUDForum. Page generated in 0.27987 seconds