p2 headless build failing in runDirector with xml plugins included [message #664389] |
Fri, 08 April 2011 15:39 |
Max Mising name Messages: 54 Registered: September 2010 |
Member |
|
|
I am working on a p2 headless build that generates repository metadata, my build.properties has this p2 info in it:
p2.gathering=true
generate.p2.metadata = true
p2.metadata.repo=file:${buildDirectory}/repo
p2.artifact.repo=file:${buildDirectory}/repo
p2.flavor=tooling
p2.publish.artifacts=true
So I've got all sorts of eclipse dependencies and everything runs and builds fine but when I add org.eclipse.wst.xml.core as a Plug-in in my feature, the build fails with this message:
runDirector:
[p2.director] Installing com.raytheon.max.demo.app.product.DEMO 0.0.0.
[p2.director] Installation failed.
[p2.director] An error occurred while collecting items to be installed
[p2.director] session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
[p2.director] No repository found containing: osgi.bundle,org.eclipse.emf.ecore.xmi,2.5.0.v200906151043
[p2.director] No repository found containing: osgi.bundle,org.eclipse.jem.util,2.1.2.v201008120100
[p2.director] No repository found containing: osgi.bundle,org.eclipse.wst.common.emf,1.2.1.v201008260500
[p2.director] An error occurred while collecting items to be installed
[p2.director] session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
[p2.director] No repository found containing: osgi.bundle,org.eclipse.emf.ecore.xmi,2.5.0.v200906151043
[p2.director] No repository found containing: osgi.bundle,org.eclipse.jem.util,2.1.2.v201008120100
[p2.director] No repository found containing: osgi.bundle,org.eclipse.wst.common.emf,1.2.1.v201008260500
A problem occured while invoking the director.
....
....
ccurred while executing this line:
/opt/uframe-eclipse/plugins/org.eclipse.pde.build_3.6.1.R36x _v20100823/scripts/genericTargets.xml:237: A problem occured while invoking the director.
I'm not sure if this should be posted here or in the WTP forum but I can't seem to figure out why I get this when I include the xml plugin as when I validate my plugins after I add wst.core.xml, it says there are no missing plugins.
Thanks
Max
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02698 seconds