Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » P2 Installation of feature fails because of unsatisfied capability
P2 Installation of feature fails because of unsatisfied capability [message #28437] Thu, 23 October 2008 15:37 Go to next message
Eclipse UserFriend
Originally posted by: any.swc.rwth-aachen.de

Hallo,

I managed to install my feature-based RCP (which contains the complete
Eclipse SDK) via the p2 director application.

However, now I want to install an additional feature (sc.viper.ide.test) to
the product via the p2 director application. This time, the installation
fails. The .log file says:

!ENTRY org.eclipse.equinox.p2.director 4 0 2008-10-23 17:20:37.448
!MESSAGE Problems resolving provisioning plan.
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2008-10-23 17:20:37.448
!MESSAGE No solution found because the problem in /tmp/p2Encoding720.opb is
unsatisfiable.

!ENTRY org.eclipse.equinox.p2.director 4 1 2008-10-23 17:20:41.328
!MESSAGE Cannot find a solution satisfying the following requirements
Match[requiredCapability:
org.eclipse.equinox.p2.iu/javax.servlet/[2.3.0.v200806031603 ,2.3.0.v200806031603]]

The config.ini of my RCP is as follows (I added the last 3 lines after the
p2 self-provisioning of the product (the rest of the config.ini is generated
by PDE headless build); if I specify this config.ini as a template, p2 does
not correctly self-provision the product, as it does not use the
simpleconfigurator):

#Product Runtime Configuration File
osgi.splashPath=platform:/base/plugins/sc.viper.ide
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.product=sc.viper.ide.IDE
osgi.bundles=org.eclipse.equinox.simpleconfigurator@1:start
org.eclipse.equinox.simpleconfigurator.configUrl=file:org.ec lipse.equinox.simpleconfigurator/bundles.info
osgi.bundles.defaultStartLevel=4
org.eclipse.update.reconcile=false
eclipse.p2.data.area=../p2
eclipse.p2.profile=SDKProfile

The javax.servlet 2.30.v200806031603 is located within the plugins directory
of my rcp product and it is listed within the bundles.info file of the
simple configurator as:
javax.servlet,2.3.0.v200806031603,file:plugins/javax.servlet _2.3.0.v200806031603.jar,4,false

Any ideas?

Best Regards,
Alexander
Re: P2 Installation of feature fails because of unsatisfied capability [message #29084 is a reply to message #28437] Thu, 23 October 2008 18:31 Go to previous message
Eclipse UserFriend
Originally posted by: zx.code9.com

Alexander Nyßen wrote:
> Hallo,
>
> I managed to install my feature-based RCP (which contains the complete
> Eclipse SDK) via the p2 director application.
>
> However, now I want to install an additional feature (sc.viper.ide.test)
> to the product via the p2 director application. This time, the
> installation fails. The .log file says:
>
> !ENTRY org.eclipse.equinox.p2.director 4 0 2008-10-23 17:20:37.448
> !MESSAGE Problems resolving provisioning plan.
> !SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2008-10-23 17:20:37.448
> !MESSAGE No solution found because the problem in /tmp/p2Encoding720.opb is
> unsatisfiable.
>
> !ENTRY org.eclipse.equinox.p2.director 4 1 2008-10-23 17:20:41.328
> !MESSAGE Cannot find a solution satisfying the following requirements
> Match[requiredCapability:
> org.eclipse.equinox.p2.iu/javax.servlet/[2.3.0.v200806031603 ,2.3.0.v200806031603]]
>
>
> The config.ini of my RCP is as follows (I added the last 3 lines after
> the p2 self-provisioning of the product (the rest of the config.ini is
> generated by PDE headless build); if I specify this config.ini as a
> template, p2 does not correctly self-provision the product, as it does
> not use the simpleconfigurator):
>
> #Product Runtime Configuration File
> osgi.splashPath=platform:/base/plugins/sc.viper.ide
> eclipse.application=org.eclipse.ui.ide.workbench
> eclipse.product=sc.viper.ide.IDE
> osgi.bundles=org.eclipse.equinox.simpleconfigurator@1:start
> org.eclipse.equinox.simpleconfigurator.configUrl=file:org.ec lipse.equinox.simpleconfigurator/bundles.info
>
> osgi.bundles.defaultStartLevel=4
> org.eclipse.update.reconcile=false
> eclipse.p2.data.area=../p2
> eclipse.p2.profile=SDKProfile
>
> The javax.servlet 2.30.v200806031603 is located within the plugins
> directory of my rcp product and it is listed within the bundles.info
> file of the simple configurator as:
> javax.servlet,2.3.0.v200806031603,file:plugins/javax.servlet _2.3.0.v200806031603.jar,4,false

Moving to the Equinox newsgroup.

Cheers,

~ Chris
Re: P2 Installation of feature fails because of unsatisfied capability [message #583496 is a reply to message #28437] Thu, 23 October 2008 18:31 Go to previous message
Chris Aniszczyk is currently offline Chris AniszczykFriend
Messages: 674
Registered: July 2009
Senior Member
Alexander Nyßen wrote:
> Hallo,
>
> I managed to install my feature-based RCP (which contains the complete
> Eclipse SDK) via the p2 director application.
>
> However, now I want to install an additional feature (sc.viper.ide.test)
> to the product via the p2 director application. This time, the
> installation fails. The .log file says:
>
> !ENTRY org.eclipse.equinox.p2.director 4 0 2008-10-23 17:20:37.448
> !MESSAGE Problems resolving provisioning plan.
> !SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2008-10-23 17:20:37.448
> !MESSAGE No solution found because the problem in /tmp/p2Encoding720.opb is
> unsatisfiable.
>
> !ENTRY org.eclipse.equinox.p2.director 4 1 2008-10-23 17:20:41.328
> !MESSAGE Cannot find a solution satisfying the following requirements
> Match[requiredCapability:
> org.eclipse.equinox.p2.iu/javax.servlet/[2.3.0.v200806031603 ,2.3.0.v200806031603]]
>
>
> The config.ini of my RCP is as follows (I added the last 3 lines after
> the p2 self-provisioning of the product (the rest of the config.ini is
> generated by PDE headless build); if I specify this config.ini as a
> template, p2 does not correctly self-provision the product, as it does
> not use the simpleconfigurator):
>
> #Product Runtime Configuration File
> osgi.splashPath=platform:/base/plugins/sc.viper.ide
> eclipse.application=org.eclipse.ui.ide.workbench
> eclipse.product=sc.viper.ide.IDE
> osgi.bundles=org.eclipse.equinox.simpleconfigurator@1:start
> org.eclipse.equinox.simpleconfigurator.configUrl=file:org.ec lipse.equinox.simpleconfigurator/bundles.info
>
> osgi.bundles.defaultStartLevel=4
> org.eclipse.update.reconcile=false
> eclipse.p2.data.area=../p2
> eclipse.p2.profile=SDKProfile
>
> The javax.servlet 2.30.v200806031603 is located within the plugins
> directory of my rcp product and it is listed within the bundles.info
> file of the simple configurator as:
> javax.servlet,2.3.0.v200806031603,file:plugins/javax.servlet _2.3.0.v200806031603.jar,4,false

Moving to the Equinox newsgroup.

Cheers,

~ Chris
Previous Topic:Attachment rt.jar in a plugin
Next Topic:Some plugins not recognized in the target platform
Goto Forum:
  


Current Time: Fri Apr 26 14:10:39 GMT 2024

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

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

Back to the top