Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » plugin.properties equivalent for fragments ???
plugin.properties equivalent for fragments ??? [message #286571] Mon, 13 June 2005 08:56 Go to next message
Eclipse UserFriend
Hello,

I wrote a plugin and the plugin.xml uses %name values found in the
plugin.properties file.
I write a fragment of this plugin and do not manage do do the same thing
with my fragment, I have tried creating a file fragment.properties and
even another plugin.properties file but none of these works.

Any help?

Thanks.

SeB.
Re: plugin.properties equivalent for fragments ??? [message #286576 is a reply to message #286571] Mon, 13 June 2005 10:08 Go to previous message
Eclipse UserFriend
Originally posted by: mehow.remove.neurosoft.net

If in your fragment you want to externalize strings from host
plugin.xml, use plugin_*.properties (useful if your fragment contains
the translation of the host plugin). If instead you want to externalize
strings from fragment.xml, you'll have to use manifest.mf file and set
Bundle-Localization property to the base name of the properties file
containing externalized strings. AFAIK the preferred base name is the
fragment id.

I found it in this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=18617

Michal

SeB.fr napisał(a):
> Hello,
>
> I wrote a plugin and the plugin.xml uses %name values found in the
> plugin.properties file.
> I write a fragment of this plugin and do not manage do do the same thing
> with my fragment, I have tried creating a file fragment.properties and
> even another plugin.properties file but none of these works.
>
> Any help?
>
> Thanks.
>
> SeB.
>
Previous Topic:Eclipse doesn't follow ICCCM
Next Topic:why eclipse path can not contain excalmatory mark(!)
Goto Forum:
  


Current Time: Sun Jun 08 17:14:25 EDT 2025

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

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

Back to the top