headless p2 director application [message #593025] |
Mon, 09 March 2009 14:09 |
Eclipse User |
|
|
|
I have a ant build script which needs to run the p2 director application
in headless environment. This is how I try to do it:
>
> <target name="p2-install-feature">
> <java classname="org.eclipse.equinox.launcher.Main" fork="true" failonerror="true">
> <arg value="-application" />
> <arg value="org.eclipse.equinox.p2.director.app.application" />
> <arg value="-metadataRepository" />
> <arg value="${p2.metadata.repo}" />
> <arg value="-artifactRepository" />
> <arg value="${p2.artifacts.repo}" />
> <arg value="-installIU" />
> <arg value="${p2.install.iu}" />
> <arg value="-version" />
> <arg value="${p2.feature.version}" />
> <arg value="-destination" />
> <arg value="${targetEclipse}" />
> <arg value="-profile" />
> <arg value="SDKProfile" />
> <arg value="-vmArgs" />
> <arg value="-Declipse.p2.data.area=${targetEclipse}/p2" />
> <classpath>
> <pathelement location=" ${hostEclipse}/eclipse/plugins/org.eclipse.equinox.launcher_ ${equinoxLauncherPluginVersion}.jar " />
> </classpath>
> </java>
> </target>
I previously used to run the director application using the "eclipse"
launcher, but that doesn't work to well when DISPLAY isn't set.
There are no visible problems when running the application, but
attempting to use the target application (${targetEclipse}) to run the
PDE build scripts fails complaining about missing plugins?
What could I be doing wrong?
--
/Jesper
|
|
|
Powered by
FUDForum. Page generated in 0.05911 seconds