Community
Participate
Working Groups
Build Identifier: Eclipse 3.6-201006080911 Buckminster - Core 1.3.1.r11499 discussed here: http://www.eclipse.org/forums/index.php?t=msg&th=171357&start=0& when including Eclipse Java Development Tools (org.eclipse.jdt.feature.group 3.6.0) in your feature and try to export an product it fails with: [ant] !ENTRY org.eclipse.equinox.p2.director 4 1 2010-07-19 15:32:08.062 [ant] !MESSAGE Cannot complete the install because one or more required items could not be found. [ant] !SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2010-07-19 15:32:08.062 [ant] !MESSAGE Software being installed: Eclipse Helios 0.8.5.Beta (se.rsv.zz.eclipse.helios.product 0.8.5.Beta) [ant] !SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2010-07-19 15:32:08.062 [ant] !MESSAGE Missing requirement: Eclipse Java Development Tools 3.6.0.v20100526-0800-7z8XFUJFMTfCWGoVuHImpms9H155 (org.eclipse.jdt.feature.group 3.6.0.v20100526-0800-7z8XFUJFMTfCWGoVuHImpms9H155) requires 'org.junit [3.8.2.v3_8_2_v20100427-1100]' but it could not be found [ant] !SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2010-07-19 15:32:08.062 [ant] !MESSAGE Cannot satisfy dependency: [ant] !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2010-07-19 15:32:08.062 [ant] !MESSAGE From: Eclipse Plug-in Development Environment 3.6.0.v20100525-7b7mFKtFEx2XmfZ4_B7NUJA (org.eclipse.pde.feature.group 3.6.0.v20100525-7b7mFKtFEx2XmfZ4_B7NUJA) [ant] !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2010-07-19 15:32:08.062 [ant] !MESSAGE To: org.eclipse.jdt.feature.group [3.6.0,4.0.0) [ant] !SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2010-07-19 15:32:08.062 [ant] !MESSAGE Cannot satisfy dependency: [ant] !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2010-07-19 15:32:08.062 [ant] !MESSAGE From: Helios Feature 1.0.0.qualifier (se.rsv.zz.eclipse.helios.feature.feature.group 1.0.0.qualifier) [ant] !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2010-07-19 15:32:08.062 [ant] !MESSAGE To: org.eclipse.pde.feature.group [3.6.0.v20100525-7b7mFKtFEx2XmfZ4_B7NUJA] [ant] !SUBENTRY 1 org.eclipse.equinox.p2.director 4 1 2010-07-19 15:32:08.062 [ant] !MESSAGE Cannot satisfy dependency: [ant] !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2010-07-19 15:32:08.062 [ant] !MESSAGE From: Eclipse Helios 0.8.5.Beta (se.rsv.zz.eclipse.helios.product 0.8.5.Beta) [ant] !SUBENTRY 2 org.eclipse.equinox.p2.director 4 0 2010-07-19 15:32:08.062 [ant] !MESSAGE To: se.rsv.zz.eclipse.helios.feature.feature.group [1.0.0.qualifier] org.eclipse.core.runtime.CoreException: Z:\proj_zv_vobs_main\eclipse\Products\Helios\se.rsv.zz.eclipse.helios.feature\build\product.ant:22: Java returned: 13 org.eclipse.core.runtime.CoreException: Z:\proj_zv_vobs_main\eclipse\Products\Helios\se.rsv.zz.eclipse.helios.feature\build\product.ant:22: Java returned: 13 at org.eclipse.buckminster.ant.AntRunner.handleInvocationTargetException(AntRunner.java:167) at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:322) at org.eclipse.buckminster.ant.actor.AntActor.internalPerform(AntActor.java:252) at org.eclipse.buckminster.core.actor.AbstractActor.perform(AbstractActor.java:186) at org.eclipse.buckminster.core.internal.actor.PerformManager$DirectActionInvocation.execute(PerformManager.java:143) at org.eclipse.buckminster.core.internal.actor.PerformManager.internalPerform(PerformManager.java:454) at org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:293) at org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:305) at org.eclipse.buckminster.ui.InvokeAction$ActionJob.runInWorkspace(InvokeAction.java:81) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: Z:\proj_zv_vobs_main\eclipse\Products\Helios\se.rsv.zz.eclipse.helios.feature\build\product.ant:22: Java returned: 13 at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor113.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) at org.apache.tools.ant.Project.executeTarget(Project.java:1306) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) at org.apache.tools.ant.Project.executeTargets(Project.java:1189) at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:662) at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:495) at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:318) ... 9 more Z:\proj_zv_vobs_main\eclipse\Products\Helios\se.rsv.zz.eclipse.helios.feature\build\product.ant:22: Java returned: 13: Java returned: 13 Reproducible: Always Steps to Reproduce: 1.include org.eclipse.jdt in your feature 2.use the *.cspecx to build an eclipse product 3.fails with: Found two entries for component org.junit:osgi.bundle. Version 4.8.1.v4_8_1_v20100427-1100 located at C:/WS/Eclipse_test/se.rsv.zz.eclipse.helios_3.6/buckimport4/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.junit_4.8.1.v4_8_1_v20100427-1100/ and version 3.8.2.v3_8_2_v20100427-1100 at C:/WS/Eclipse_test/se.rsv.zz.eclipse.helios_3.6/buckimport4/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.junit_3.8.2.v3_8_2_v20100427-1100/
I just fixed this problem in another bugzilla. It's not published yet but I plan to do that during the day today. *** This bug has been marked as a duplicate of bug 319329 ***
This doesn't seem to be a duplicate after all.
The problem is in the cspec. A dependency can be identified with name and type, but not with version. Consequently, a cspec may only declare _one_ dependency to a component of a specific type. I'm changing the name of this bug to reflect the problem.
Fix released to helios-maintenance, rev 11518.
(In reply to comment #4) > Fix released to helios-maintenance, rev 11518. Thomas, dumb question but how do we upgrade our headless installation to use this? This bug is a blocker for me.
Update from our headless update site: http://download.eclipse.org/tools/buckminster/headless-3.6 I would recommend that you create a new headless installation from scratch using the director.
OK, I'll wipe the current version out and start over if things don't work. But what I couldn't figure out is wether there is a simple way to just get an update for an existing buckminster in the same way that we can with eclipse ui. This doesn't seem to be possible with director -- you have to do something like: /Volumes/Resources/Developer/builds/director/director -d /Volumes/Resources/Developer/builds/director/builds/buckminster -p Buckminster -r "http://download.eclipse.org/tools/buckminster/headless-3.6/, http://download.cloudsmith.com/buckminster/external-3.6" -uninstallIU "org.eclipse.equinox.p2.director.feature.feature.group, org.eclipse.buckminster.core.headless.feature.feature.group, org.eclipse.buckminster.subversive.headless.feature.feature.group, org.eclipse.buckminster.pde.headless.feature.feature.group, org.eclipse.buckminster.git.headless.feature.feature.group, org.eclipse.buckminster.cvs.headless.feature.feature.group" -installIU "org.eclipse.equinox.p2.director.feature.feature.group, org.eclipse.buckminster.core.headless.feature.feature.group, org.eclipse.buckminster.subversive.headless.feature.feature.group, org.eclipse.buckminster.pde.headless.feature.feature.group, org.eclipse.buckminster.git.headless.feature.feature.group, org.eclipse.buckminster.cvs.headless.feature.feature.group"
Yes, the director lacks a -updateIU. Or even a -updateAll or similar. There is an enhancement request for that, see bug 279659.
Thanks Thomas. THis seems to have fixed the issue for me. I could have used the Hudson buckminster auto-installer but unfortunately it's setup to use subeclipse. (?)
(In reply to comment #9) > I could have used the Hudson buckminster auto-installer but unfortunately it's > setup to use subeclipse. (?) Why is that a problem?
(In reply to comment #10) > (In reply to comment #9) > > I could have used the Hudson buckminster auto-installer but unfortunately it's > > setup to use subeclipse. (?) > > Why is that a problem? Actually, it's not, if anything it seems to work better. :) I thought it was because of an svn issue that was cropping up but that seems to be unrelated.