[go: up one dir, main page]

Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » p2 headless build failing in runDirector with xml plugins included
p2 headless build failing in runDirector with xml plugins included [message #664389] Fri, 08 April 2011 15:39 Go to next message
Max Mising name is currently offline Max Mising nameFriend
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
Re: p2 headless build failing in runDirector with xml plugins included [message #665236 is a reply to message #664389] Wed, 13 April 2011 19:54 Go to previous messageGo to next message
Max Mising name is currently offline Max Mising nameFriend
Messages: 54
Registered: September 2010
Member
Anyone have any ideas? Is there any way I can skip the runDirector step? What is the purpose of it and is it required?

Max
Re: p2 headless build failing in runDirector with xml plugins included [message #665350 is a reply to message #665236] Thu, 14 April 2011 12:02 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

On 04/13/2011 03:54 PM, Max wrote:
> Anyone have any ideas? Is there any way I can skip the runDirector step?
> What is the purpose of it and is it required?

What are you calling for your headless build? Is it the product build
script?

How did you specify your target to build against? Are you using
repoBaseLocation and transformedRepoLocation?


Here are some of the files from Orion, but I don't know if they do a
product build or not:
http://git.eclipse.org/c/e4/org.eclipse.orion.server.git/tre e/releng/org.eclipse.orion.releng/builder/build.properties

See target preProcessRepo in
http://git.eclipse.org/c/e4/org.eclipse.orion.server.git/tre e/releng/org.eclipse.orion.releng/builder/customTargets.xml

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm


Previous Topic:Check for Updates vs Install new Software
Next Topic:p2 instal limits?
Goto Forum:
  


Current Time: Thu Dec 12 18:28:14 GMT 2024

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

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

Back to the top