Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cross-project-issues-dev] Platform filters and the aggregator

Hi,

as a train-newbie I had the following issue (which broke a few builds
yesterday, sorry!):
- we have a fragment with a platform filter (only certain OSes)
- the feature conditionally includes this fragment for exactly those OSes
-> the aggregator complains the fragment could not be found,
  although I can't see any inconsistency

Fragment's MANIFEST.MF:
  Bundle-SymbolicName: org.eclipse.objectteams.otequinox.sunjvm
  Eclipse-PlatformFilter: (|(osgi.os=linux) (osgi.os=win32) (ogsi.os=solaris))
  ...
feature.xml:
  ...
     <plugin
         id="org.eclipse.objectteams.otequinox.sunjvm"
         os="linux"
         fragment="true"
         ... />

   <plugin
         id="org.eclipse.objectteams.otequinox.sunjvm"
         os="solaris"
         fragment="true"
         .../>

   <plugin
         id="org.eclipse.objectteams.otequinox.sunjvm"
         os="win32"
         fragment="true"
	.../>

-> The fragment should be available on all platforms that need it, no?

Do you see a bug in my declarations? Does the aggregator need any
further hints to grok this?

Or even better: is any action in the p2 pipeline for supporting
conditional touchpoint actions ( https://bugs.eclipse.org/278657 ) ?
The whole fragment story is only an ugly workaround in order to 
provide platform specific -XX arguments to the vm...

TIA
Stephan


Back to the top