Bundle Name localization [message #669288] |
Mon, 09 May 2011 14:57  |
Eclipse User |
|
|
|
Hi,
I have two feature plugins and a feature branding plugin. Both of these plugins refer to this branding plugin (in feature.xml file). The intention is to display the contributing features and the plugins contained in them from Help -> About Eclipse SDK dialog.
A sample MANIFEST.MF looks like this:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name
Bundle-Localization: plugin
Bundle-SymbolicName: <bundle symbolic name>; singleton:=true
Bundle-Version: xxx
Bundle-Vendor: yyy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-ActivationPolicy: lazy
Bundle-ClassPath: .,
classes/
Require-Bundle: xyz
Export-Package: zzz
I have a properties file where I define the value for %Bundle-Name.
The value from properties file is picked up when I launch from eclipse (as Eclipse Application). From About Eclipse SDK dialog, when I click on my feature icon, it shows up feature names and plug-ins within those features correctly (i.e. for the plugin names, value from properties file is picked up, so localization works) and this is true for all plugins. However when I install these from eclipse site, the localization for bundle name is not picked up for certain plugins. Is there a specific reason why it behaves differently when I install?
Thanks for your help.
|
|
|
|
Powered by
FUDForum. Page generated in 0.05610 seconds