Skip to main content



      Home
Home » Eclipse Projects » P2 » 'metaRequirements' broken?
'metaRequirements' broken? [message #1100075] Mon, 02 September 2013 12:27 Go to next message
Eclipse UserFriend
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
Eclipse UserFriend
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: Tue Jun 24 16:25:11 EDT 2025

Powered by FUDForum. Page generated in 0.03512 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top