Hi,
I'm currently trying to configure automatic start for some bundles I'm deploying using the neo sdk tools. When developing my own bundles I can simply add a p2.inf file into the META-INF folder which contains the touchpoint instructions to mark the bundle as started. But for 3rd-party bundles I don't want to go this way because I don't want to create custom forks just for adding the p2 information. I think it should also be possible to define the touchpoint instructions in an eclipse feature and deploy the feature jar together with my bundles but wasn't successful so far. Is this a supported scenario anyway?
Best regards,
Tobias
PS:
Also adding the contents of my p2.inf file here which is located in the feature (and mentioned in the build.properties):
#create a requirement on the fragment we are creating requires.0.namespace=org.eclipse.equinox.p2.iu requires.0.name=configure.org.eclipse.equinox.http requires.0.greedy=true #create a IU fragment named configure.org.eclipse.equinox.http units.0.id=configure.org.eclipse.equinox.http units.0.version=1.0.0 units.0.provides.1.namespace=org.eclipse.equinox.p2.iu units.0.provides.1.name=configure.org.eclipse.equinox.http units.0.provides.1.version=1.0.0 units.0.instructions.install=org.eclipse.equinox.p2.touchpoint.eclipse.installBundle(bundle:${artifact}); units.0.instructions.uninstall=org.eclipse.equinox.p2.touchpoint.eclipse.uninstallBundle(bundle:${artifact}); units.0.instructions.unconfigure=\ org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel:-1); \ org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started:false); units.0.instructions.configure=\ org.eclipse.equinox.p2.touchpoint.eclipse.setStartLevel(startLevel:4); \ org.eclipse.equinox.p2.touchpoint.eclipse.markStarted(started:true); units.0.hostRequirements.1.namespace=osgi.bundle units.0.hostRequirements.1.name=org.eclipse.equinox.http units.0.hostRequirements.1.greedy=false units.0.hostRequirements.2.namespace=org.eclipse.equinox.p2.eclipse.type units.0.hostRequirements.2.name=bundle units.0.hostRequirements.2.range=[1.0.0,2.0.0) units.0.hostRequirements.2.greedy=false units.0.requires.1.namespace=osgi.bundle units.0.requires.1.name=org.eclipse.equinox.http units.0.requires.1.greedy=false