Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Some strings in plugin.properties not loading?
Some strings in plugin.properties not loading? [message #328574] Tue, 27 May 2008 18:47 Go to next message
Eclipse UserFriend
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 19:23 Go to previous message
Eclipse UserFriend
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!
>
Previous Topic:Showing two editors (Horizontal or vertical split) programmatically
Next Topic:Sharing Object between Viewparts
Goto Forum:
  


Current Time: Thu Apr 25 14:37:35 GMT 2024

Powered by FUDForum. Page generated in 0.03143 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top