Hi I wonder if its possible in the features.xml file to define a bundle being qualified depending on the current JDK?
For example if you run JDK 1.5 you want the bundle included. If you run JDK 1.6+ you do NOT. The option should most likely support a range similar to the OSGi versioning. Maybe something similar to this: <bundle jdk="[1.5,1.6)">mvn:xxx/yyy/2.2</bundle> An example would be many of the encryption frameworks which requires additional jars to run on JDK 1.5, where as 1.6 provides API and chipers out of the box. And we could have a similar situation when JDK 1.7 comes out. Where you may need additional JARs on 1.6 and not on 1.7. I could not find such information at http://karaf.apache.org/46-provisioning.html But it could be the documentation is outdated -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
