Some strings in plugin.properties not loading? [message #328574] |
Tue, 27 May 2008 14:47  |
Eclipse User |
|
|
|
Originally posted by: fake.email.address
I'm having a problem with the plugin.properties strings in some of my plugins.
In development mode (if I run the IDE as a launch configuration), all
the strings load properly. But if I build the plugins and install them
in an Eclipse plugins/ directory, it doesn't work completely. The
strings that are referred to by the MANIFEST.MF file (bundle name and
vendor in the Help/About dialog) show up correctly, but any strings
used in the plugin.xml, such as menus or preference pages, aren't
loaded, and remain as the "%string.name" values.
My MANIFEST.MF file has the correct "Bundle-Localization: plugin"
string in it, and the plugin.properties file is included in the binary
build settings in build.properties. When I check the resulting plugin
JAR, the plugin.properties file is placed correctly in there.
What else could cause the strings used in MANIFEST.MF to load, but not
those in plugin.xml?
Thanks!
--
Tony Allevato
e-mail: (my first name) AT tonyallevato DOT com
|
|
|
Re: Some strings in plugin.properties not loading? [message #328576 is a reply to message #328574] |
Tue, 27 May 2008 15:23  |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Tony,
It's sounds like you've checked all the things that need checking.
Maybe you can show an example of what's in the plugin.xml and the
corresponding thing in the plugin.properties? In fact, it might be good
to see your build.properties, plugin.properties, plugin.xml and
MANIFEST.MF. I don't suppose something like running with -clean will
help; that's worth a try...
Tony Allevato wrote:
> I'm having a problem with the plugin.properties strings in some of my
> plugins.
>
> In development mode (if I run the IDE as a launch configuration), all
> the strings load properly. But if I build the plugins and install
> them in an Eclipse plugins/ directory, it doesn't work completely.
> The strings that are referred to by the MANIFEST.MF file (bundle name
> and vendor in the Help/About dialog) show up correctly, but any
> strings used in the plugin.xml, such as menus or preference pages,
> aren't loaded, and remain as the "%string.name" values.
>
> My MANIFEST.MF file has the correct "Bundle-Localization: plugin"
> string in it, and the plugin.properties file is included in the binary
> build settings in build.properties. When I check the resulting plugin
> JAR, the plugin.properties file is placed correctly in there.
>
> What else could cause the strings used in MANIFEST.MF to load, but not
> those in plugin.xml?
>
> Thanks!
>
|
|
|
Powered by
FUDForum. Page generated in 0.06544 seconds