Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » can i run p2.process.artifacts from cmd line ant(can i run p2.process.artifacts from cmd line ant)
can i run p2.process.artifacts from cmd line ant [message #685949] Tue, 21 June 2011 01:06 Go to next message
Joel Lucuik is currently offline Joel LucuikFriend
Messages: 3
Registered: July 2009
Junior Member
Wrote this ant:

<project name="project" default="default">
<target name="default">
<p2.process.artifacts repositoryPath="file://..../global-updatesite-1.0.0"/>
</target>
</project>

At this point I need to run this using ANTRunner within eclipse. Is this my only option? Can I run this outside of Eclipse?

Thanks
Joel
Re: can i run p2.process.artifacts from cmd line ant [message #686017 is a reply to message #685949] Tue, 21 June 2011 11:44 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

No Message Body

Re: can i run p2.process.artifacts from cmd line ant [message #686018 is a reply to message #686017] Tue, 21 June 2011 11:45 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

oops, what I mean to say is yes, you can run small p2 ant build files relatively easily.

eclipse/eclipse -noSplash \
-application org.eclipse.ant.core.antRunner \
-Dwhatever.properties.you.need=true \
-buildfile mirror.xml


See http://pweclipse.blogspot.com/2011/06/p2-cheatsheet.html for more examples.

PW


Previous Topic:Bundle-ClassPath and resource entries
Next Topic:Newbie on Equinox and OSGI: Tutorial for swing based applications not using RCP and workbench?
Goto Forum:
  


Current Time: Thu Nov 27 13:41:46 GMT 2014

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

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