Skip to main content



      Home
Home » Eclipse Projects » Equinox » p2.generator task
p2.generator task [message #116872] Mon, 01 September 2008 04: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 14:24 Go to previous message
Eclipse UserFriend
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: Thu Jul 17 22:04:20 EDT 2025

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

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

Back to the top