Skip to main content

Eclipse Community Forums
Forum Search:

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

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 '' property.

example from Manifest.MF:
Eclipse-PlatformFilter: (| ( (*))

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 '' 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

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

Current Time: Mon May 21 19:10:00 GMT 2018

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

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

Back to the top