Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » 'metaRequirements' broken?
'metaRequirements' broken? [message #1100075] Mon, 02 September 2013 12:27 Go to next message
Bernd Vogt is currently offline Bernd Vogt
Messages: 34
Registered: July 2009
Member
Hi,

tried to deliver a custom provisioning action along with some other bundles and features via an update site. My intention is to do some custom stuff when the features contained in the site will be installed. Therefor I declared the bundle with my provisioning action as a meta requirement in each feature (via p2.inf).

Unfortunately, I always got 'java.lang.IllegalArgumentException: No action found for: ...'.

If the bundle with the provisioning action is already installed, p2 recognizes and invokes it...

So... is 'metaRequirements' broken or is it just not intended for my use case?

Thanks,
Bernd
Re: 'metaRequirements' broken? [message #1111302 is a reply to message #1100075] Tue, 17 September 2013 23:31 Go to previous message
Pascal Rapicault is currently offline Pascal Rapicault
Messages: 290
Registered: July 2009
Location: Ottawa
Senior Member
As far I can tell metaRequirements still work in Kepler.
Say that you are trying to install ABC and it has a meta requirements on ZZZ, where ABC would be the real feature you are trying to install and ZZZ is contributing some new p2 actions, then ZZZ and its dependencies must only use the touchpoint actions that are already installed.
Previous Topic:Bundle Qualifier Substitution
Next Topic:Question on instructions.install items
Goto Forum:
  


Current Time: Sat Aug 23 16:07:46 EDT 2014

Powered by FUDForum. Page generated in 0.01579 seconds