|RE: [p2-dev] Feature Touchpoint Advice|
I have resolved half my problem.
FYI… The default touchpoint type for plug-in’s p2.inf (TOUCHPOINT_OSGI) is different than for a feature’s p2.inf (TOUCHPOINT_NONE). Consequently, the feature’s touchpoint advice needs to be fully qualified.
I’m still trying to figure out how (or even if it’s possible) to mark bundles as started within a feature’s p2.inf. Any help with this would be greatly appreciated.
Could someone please verify the syntax of touchpoint advice provided by a feature’s p2.inf. I have reviewed the wiki doc and scanned some source code, but I’m not confident that I’m defining my p2.inf correctly.
Use Case: web feature
· Provide a feature with a set of plug-ins
o org. test.web.app
o required equinox http & jetty bundles
· Provide feature p2.inf
o Define http port via org.osgi.service.http.port property
o Start http service
The following is the p2.inf that I have included with my feature.
However, it doesn’t work. Is this a syntax problem or an issue with the p2.engine? When I attempt to install this feature via P2 I get the following error:
!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2009-04-30 08:05:34.828
!MESSAGE No action found for: setProgramProperty.
java.lang.IllegalArgumentException: No action found for: setProgramProperty.