Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Contents of plugin.properties not being parsed at runtime.
Contents of plugin.properties not being parsed at runtime. [message #323877] Thu, 10 January 2008 15:39 Go to next message
Eclipse UserFriend
Originally posted by: marcio.debarros.gmail.com

Hi,

I am using Eclipse 3.3.1 and at runtime, all the externalized strings
that I have placed on my plugin.properties file are not being translated.

I could not find anything on the NG, besides doing a eclipse -clean that
could solve my problem.

The file is located in the root of my plug-in, it is also included in
the .bin build.

Externalized strings that are used in the plugin.xml and manifest.MF are
visible through the manifest editor, however I need to close it and
reopen it.

Any ideas or suggestions ?

Thanks,

--MD.
Re: Contents of plugin.properties not being parsed at runtime. [message #323878 is a reply to message #323877] Thu, 10 January 2008 15:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zx.us.ibm.com

Are you missing Bundle-Localization: plugin in your MANIFEST.MF?

Cheers,

~ Chris
Re: Contents of plugin.properties not being parsed at runtime. [message #323879 is a reply to message #323878] Thu, 10 January 2008 15:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: marcio.debarros.gmail.com

Chris Aniszczyk wrote:
> Are you missing Bundle-Localization: plugin in your MANIFEST.MF?
>
> Cheers,
>
> ~ Chris

That did it. What could have caused the MANIFEST.MF to be created
without it ?
Re: Contents of plugin.properties not being parsed at runtime. [message #323880 is a reply to message #323879] Thu, 10 January 2008 15:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zx.us.ibm.com

> That did it. What could have caused the MANIFEST.MF to be created
> without it ?

I assume you're using Eclipse 3.3

There was a scenario where if you use the Externalize Strings wizard in
PDE, it wouldn't add the Bundle-Localization: plugin property to your
MANIFEST.MF. This was fixed in Eclipse 3.4 along with better error
detection in case you had externalized strings and were missing that header.

See my blog post for more information :)

http://mea-bloga.blogspot.com/2007/12/externalizing-strings- with-pde.html

Cheers,

~ Chris
Re: Contents of plugin.properties not being parsed at runtime. [message #323881 is a reply to message #323880] Thu, 10 January 2008 15:59 Go to previous message
Eclipse UserFriend
Originally posted by: marcio.debarros.gmail.com

Chris Aniszczyk wrote:
>> That did it. What could have caused the MANIFEST.MF to be created
>> without it ?
>
> I assume you're using Eclipse 3.3
>
> There was a scenario where if you use the Externalize Strings wizard in
> PDE, it wouldn't add the Bundle-Localization: plugin property to your
> MANIFEST.MF. This was fixed in Eclipse 3.4 along with better error
> detection in case you had externalized strings and were missing that
> header.
>
> See my blog post for more information :)
>
> http://mea-bloga.blogspot.com/2007/12/externalizing-strings- with-pde.html
>
> Cheers,
>
> ~ Chris
>
>
I read the blog, and will keep that in mind moving forward.

Thanks,

Marcio
Previous Topic:Add ResourceChangeListener when Eclipse starts
Next Topic:doubleclick listener disposal?
Goto Forum:
  


Current Time: Thu Jul 17 21:15:50 EDT 2025

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

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

Back to the top