product.ant fails (missing req), pde product export works [message #669385] |
Tue, 10 May 2011 07:19 |
Dieter Cailliau Messages: 10 Registered: July 2009 |
Junior Member |
|
|
I'm trying to use pax-logging, so i added 2 pax-logging bundles (service and api) in my target platform (by adding another directory containing these 2 pax jars). I also add these bundles in the feature.xml that lists all my required bundles (product definition). I can export my product using the eclipse wizard.
However, when I use the product.ant to export a stand-alone product, it stops (in eclipse 3.5 buckminster pde 1.1.350 on java 5 target eclipse 3.5), saying that it can not find one of these pax bundles. It works fine (on eclipse 3.6 buckminster pde 1.2.1 on java 6 target eclipse 3.6).
!SESSION 2011-05-10 09:03:18.174 -----------------------------------------------
eclipse.buildId=I20090611-1540
java.version=1.5.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments: -application org.eclipse.equinox.p2.director -artifactRepository file:/tmp/da/out/com.my.all.feature_1.0.0-eclipse.feature/si te.p2/ -metadataRepository file:/tmp/da/out/com.my.all.feature_1.0.0-eclipse.feature/si te.p2/ -destination /tmp/da/out/com.my.all.feature_1.0.0-eclipse.feature/buckmin ster -bundlepool /tmp/da/out/com.my.all.feature_1.0.0-eclipse.feature/buckmin ster -profile MyProfile -profileProperties org.eclipse.update.install.features=true -installIU com.my.my_api -p2.os linux -p2.ws gtk -p2.arch x86 -roaming
Command-line arguments: -application org.eclipse.equinox.p2.director -artifactRepository file:/tmp/da/out/com.my.all.feature_1.0.0-eclipse.feature/si te.p2/ -metadataRepository file:/tmp/da/out/com.my.all.feature_1.0.0-eclipse.feature/si te.p2/ -destination /tmp/da/out/com.my.all.feature_1.0.0-eclipse.feature/buckmin ster -bundlepool /tmp/da/out/com.my.all.feature_1.0.0-eclipse.feature/buckmin ster -profile MyProfile -profileProperties org.eclipse.update.install.features=true -installIU com.my.my_api -p2.os linux -p2.ws gtk -p2.arch x86 -consoleLog -roaming
!ENTRY org.eclipse.equinox.p2.director 4 1 2011-05-10 09:03:33.330
!MESSAGE Cannot complete the install because one or more required items could not be found.
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2011-05-10 09:03:33.332
!MESSAGE Software being installed: My API 1.0.0.r74788 (com.my.my_api 1.0.0.r74788)
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2011-05-10 09:03:33.335
!MESSAGE Missing requirement: com.my.util 1.0.0.r74788 (com.my.util 1.0.0.r74788) requires 'bundle org.ops4j.pax.logging.pax-logging-api 1.6.2' but it could not be found
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2011-05-10 09:03:33.341
!MESSAGE Cannot satisfy dependency:
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2011-05-10 09:03:33.343
!MESSAGE From: Feature 1.0.0.r74788 (com.my.all.feature.feature.group 1.0.0.r74788)
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2011-05-10 09:03:33.344
!MESSAGE To: com.my.feature.feature.group [1.0.0]
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2011-05-10 09:03:33.352
!MESSAGE Cannot satisfy dependency:
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2011-05-10 09:03:33.354
!MESSAGE From: My API Feature 1.0.0 (com.my.feature.feature.group 1.0.0)
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2011-05-10 09:03:33.356
!MESSAGE To: com.my.util [1.0.0.r74788]
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2011-05-10 09:03:33.358
!MESSAGE Cannot satisfy dependency:
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2011-05-10 09:03:33.360
!MESSAGE From: My API 1.0.0.r74788 (com.my.my_api 1.0.0.r74788)
!SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2011-05-10 09:03:33.365
!MESSAGE To: com.my.all.feature.feature.group [1.0.0.r74788]
~
|
|
|
Powered by
FUDForum. Page generated in 0.08388 seconds