Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Fragment with osgi.nl platform filter
Fragment with osgi.nl platform filter [message #550164] Thu, 29 July 2010 12:21
Stefan Stern is currently offline Stefan SternFriend
Messages: 9
Registered: July 2009
Junior Member
Hello

We roll out an application on Eclipse base. Currently, we translate our
help bundle from German to English, but as translation is ongoing, we
can only offer the most important content for now.

The complete help (currently in German language only) provides 6
TOC-extensions. The English help only consists of a single TOC.

In order the help table of contents does not show 5 empty points, we
tried to move the extensions into fragments, which provide platform
filters checking the 'osgi.nl' property.

example from Manifest.MF:
Eclipse-PlatformFilter: (| (osgi.nl=en) (osgi.nl=en_*))

This works fine for launching the application from the development
environment. Exporting the help bundle with the "deploy plugins and
fragments" wizard works fine, too.

But using PDE build, with an Eclipse 3.6 basebuilder, fails with the
error message "Bundle 'com.example.help.de' failed to resolve". With
some debugging, I found out that
org.eclipse.osgi.internal.module.ResolverImpl lines 310-319 will check,
whether the Platform filter matches the platform. But as the platform
does not restrict languages, the filter does not apply.

Now, platform filters are used for os, ws and arch, usually. So, before
I file a bug and try to provide a patch, is the platform filter option
meant to control anything else besides os, ws and arch? Something like
help contributions or any other contribution that relies on the selected
language?

Thanks and kind regards,
Stefan Stern
Previous Topic:Developing plugins with library dependency
Next Topic:Fragment with osgi.nl platform filter
Goto Forum:
  


Current Time: Fri Apr 26 09:15:56 GMT 2024

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

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

Back to the top