Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Bundle Name localization
Bundle Name localization [message #669288] Mon, 09 May 2011 14:57 Go to next message
Eclipse UserFriend
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.
Re: Bundle Name localization [message #669297 is a reply to message #669288] Mon, 09 May 2011 15:40 Go to previous message
Eclipse UserFriend
I figured out that plugin.properties for some bundles was not a part of site, hence I was seeing the problem.

Thanks!
Previous Topic:How to remove popup menus in a perspective
Next Topic:Helios and deploying updates
Goto Forum:
  


Current Time: Sun Aug 31 15:45:38 EDT 2025

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

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

Back to the top