Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » p2.generator task
p2.generator task [message #116872] Mon, 01 September 2008 08:54 Go to next message
Eclipse UserFriend
Originally posted by: amottadelli_NO_SPAM.it.ibm.com

I unable to run the p2.generator task in its own jvm (that is, I'm able
to run it only in the same jvm of a workspace).
I appears that the Generator wants an OSGi environment.
Any hope to run p2.generator as a "standard" ant task?

Thanks,
Sandro
Re: p2.generator task [message #117052 is a reply to message #116872] Wed, 03 September 2008 18:24 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
The generator depends on other parts of p2 and does use OSGi services.
It would likely be a lot of work to get it working outside OSGi.

To run outside the workspace in a separate jvm, you can use the
org.eclipse.ant.core.antRunner application which will take care of
setting everything up for you:

java -jar
plugins/org.eclipse.equinox.launcher_1.0.100.v20080509-1800. jar
-application org.eclipse.ant.core.antRunner -f build.xml ....

Alessandro Mottadelli wrote:
> I unable to run the p2.generator task in its own jvm (that is, I'm able
> to run it only in the same jvm of a workspace).
> I appears that the Generator wants an OSGi environment.
> Any hope to run p2.generator as a "standard" ant task?
>
> Thanks,
> Sandro
Previous Topic:Programmatically add BuddyClass-Loading to a Bundle
Next Topic:Launching equinox
Goto Forum:
  


Current Time: Fri Sep 20 20:48:05 GMT 2024

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

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

Back to the top