Author: mickael_istria
Date: 2012-07-27 08:06:03 -0400 (Fri, 27 Jul 2012)
New Revision: 42757
Modified:
trunk/build/target-platform/build.xml
Log:
JBIDE-12356: turn invocation of p2.mirror task to platform independent
Modified: trunk/build/target-platform/build.xml
===================================================================
--- trunk/build/target-platform/build.xml 2012-07-27 12:01:39 UTC (rev 42756)
+++ trunk/build/target-platform/build.xml 2012-07-27 12:06:03 UTC (rev 42757)
@@ -210,11 +210,14 @@
<!-- /abs/path/to/eclipse -vm /opt/jdk1.6.0/bin/java -nosplash -data /tmp/workspace
-consolelog -application
org.eclipse.ant.core.antRunner -f *.target.p2mirror.xml -Ddebug=true
-DfollowStrict=true -DrepoDir=/tmp/REPO/ -->
<target name="run.p2mirror.script" description="build target update
site using p2.mirror">
- <exec
executable="${WORKINGDIR}/eclipse-${eclipse.version}/eclipse/eclipse"
dir="${basedir}" failonerror="true">
+ <java classname="org.eclipse.equinox.launcher.Main" fork="true"
dir="${basedir}" failonerror="true">
+ <classpath>
+ <fileset dir="${WORKINGDIR}/eclipse-${eclipse.version}/eclipse/plugins"
includes="org.eclipse.equinox.launcher_*.jar"/>
+ </classpath>
<arg line=" -nosplash -data ${tmpdir}/workspace -consolelog -application
org.eclipse.ant.core.antRunner" />
<arg line=" -f ${targetFile}.p2mirror.xml -DfollowStrict=true
-DrepoDir=${repoDir}" />
<arg line=" -Ddebug=true -vmargs -Dosgi.locking=none" />
- </exec>
+ </java>
</target>
<target name="update.target.file" description="use XSLT to update
.target file from contents of local repo">
Show replies by date