[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] p2 director build accessing ganymede jar files

Thanks Andrew.  I'm still not sure how to make this work.  I don't care about that feature in my results, but it is necessary to cause the executables to get built.  The way my build is structured I have a single feature for each product, and that feature includes other features which include the plugins.  I don't understand how to include org.eclipse.equinox.executable in a way that causes it to generate the executable root files, but yet does not appear in the resulting metadata.

Andrew Niefer wrote:

In its binary form in the delta pack, the org.eclipse.equinox.executable feature does not specify a "bin.includes" property.  This means that for a headless build, it is just a build-time feature and will not contribute a feature jar to the results.  The purpose of this feature is to contribute the executable root files and to bring in the org.eclipse.equinox.launcher jar and the launcher fragments.

p2 integration with PDE/Build generates metadata on the results of the build, not on the inputs.  Therefore the executable feature won't be included in the resulting metadata.  If you want the executable in your results, you will need to get the source version of it from CVS instead.

-Andrew


Francis Upton <francisu@xxxxxxxx>
Sent by: p2-dev-bounces@xxxxxxxxxxx

09/25/2008 04:17 PM

Please respond to
P2 developer discussions <p2-dev@xxxxxxxxxxx>

To
P2 developer discussions <p2-dev@xxxxxxxxxxx>
cc

Subject
Re: [p2-dev] p2 director build accessing ganymede jar files







Thanks Pascal, that took care of that problem.  

Now I have this problem, and this build used to work before.  I do have in my com.oaklandsw.transform.feature.deps.rt feature an included feature of org.eclipse.equinox.executable.  However the org.eclipse.equinox.executable feature is not ending up in my AR/CR.  I'm using the normal generated p2.generator stuff from the PDE build.  How is an "included feature" supposed to wind up the AR/CR?

Thanks again,

Francis


!SESSION 2008-09-25 13:02:03.960 -----------------------------------------------
eclipse.buildId=I20080617-2000
java.version=1.5.0_10
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments:  -application org.eclipse.equinox.p2.director.app.application -flavor tooling -installIU com.oaklandsw.transform.product7 -p2.os linux -p2.ws gtk -p2.arch x86 -roaming -profile OSDTProfile -profileProperties org.eclipse.update.install.features=true -metadataRepository
file:/d/build/transform/build/repo -artifactRepository file:/d/build/transform/build/repo -destination /d/build/transform/build/kits/transform7-kits/linux.gtk.x86 -bundlepool /d/build/transform/build/kits/transform7-kits/linux.gtk.x86
Command-line arguments:  -os linux -ws gtk -arch x86 -application org.eclipse.equinox.p2.director.app.application -consolelog -flavor tooling -installIU com.oaklandsw.transform.product7 -p2.os linux -p2.ws gtk -p2.arch x86 -roaming -profile OSDTProfile -profileProperties org.eclipse.update.install.features=true -metadataRepository
file:/d/build/transform/build/repo -artifactRepository file:/d/build/transform/build/repo -destination /d/build/transform/build/kits/transform7-kits/linux.gtk.x86 -bundlepool /d/build/transform/build/kits/transform7-kits/linux.gtk.x86

!ENTRY org.eclipse.equinox.p2.director 2 0 2008-09-25 13:02:10.992
!MESSAGE Problems resolving provisioning plan.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-09-25 13:02:10.993
!MESSAGE Unable to satisfy dependency from com.oaklandsw.transform.feature.deps.rt.feature.group 2.7.3 to requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.equinox.executable.feature.group/[3.3.100.v20080606-7H-ELQEDdVv0SVkW65GwAA,3.3.100.v20080606-7H-ELQEDdVv0SVkW65GwAA].

!ENTRY org.eclipse.equinox.p2.director 4 0 2008-09-25 13:02:11.156
!MESSAGE Problems resolving provisioning plan.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2008-09-25 13:02:11.156
!MESSAGE Unable to satisfy dependency from com.oaklandsw.transform.feature.deps.rt.feature.group 2.7.3 to requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.equinox.executable.feature.group/[3.3.100.v20080606-7H-ELQEDdVv0SVkW65GwAA,3.3.100.v20080606-7H-ELQEDdVv0SVkW65GwAA].
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2008-09-25 13:02:11.157
!MESSAGE No solution found because the problem in /tmp/p2Encoding53674.opb is unsatisfiable.

!ENTRY org.eclipse.equinox.p2.director 4 1 2008-09-25 13:02:11.670
!MESSAGE Cannot complete the install because some dependencies are not satisfiable
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2008-09-25 13:02:11.670
!MESSAGE Unsatisfied dependency: [com.oaklandsw.transform.feature.deps.rt.feature.group 2.7.3] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.equinox.executable.feature.group/[3.3.100.v20080606-7H-ELQEDdVv0SVkW65GwAA,3.3.100.v20080606-7H-ELQEDdVv0SVkW65GwAA]
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2008-09-25 13:02:11.671
!MESSAGE Unsatisfied dependency: [com.oaklandsw.transform.feature.product7.feature.group 2.7.3] requiredCapability: org.eclipse.equinox.p2.iu/com.oaklandsw.transform.feature.deps.gui.feature.group/[2.7.3,2.7.3]
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2008-09-25 13:02:11.671
!MESSAGE Unsatisfied dependency: [com.oaklandsw.transform.feature.deps.gui.feature.group 2.7.3] requiredCapability: org.eclipse.equinox.p2.iu/com.oaklandsw.transform.feature.deps.rt.feature.group/[2.7.3,2.7.3]
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2008-09-25 13:02:11.671
!MESSAGE Unsatisfied dependency: [com.oaklandsw.transform.product7 2.7.3] requiredCapability: org.eclipse.equinox.p2.iu/com.oaklandsw.transform.feature.product7.feature.group/[2.7.3,2.7.3]
!SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2008-09-25 13:02:11.673
!MESSAGE Unsatisfied dependency: [com.oaklandsw.transform.feature.deps.rt.feature.group 2.7.3] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.equinox.executable.feature.group/[3.3.100.v20080606-7H-ELQEDdVv0SVkW65GwAA,3.3.100.v20080606-7H-ELQEDdVv0SVkW65GwAA]




-- 
You have brains in your head.
You have feet in your shoes.
- Dr Seuss, Oh the Places You'll Go

Francis Upton IV
francis@xxxxxxxxxxxxxxxx
Tel   510 835 3123
Fax   510 779 5226
Cell  510 432 1589
Skype francisupton