blob: 964ff1b35bd88d712fac79af660225c58a37fc29 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<project name="update" default="update" basedir=".">
<!-- original example received from Richard Gronback from cross-project list (thanks Richard!) -->
<!-- see http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/misc/update_standalone.html -->
<target name="init" unless="initialized">
<ant antfile="init.xml" />
<property name="java15-home" value="/home/data/users/david_williams/ibm-java2-ppc-50/jre" />
<property name="buildDirectory" value="${basedir}" />
</target>
<target name="update" depends="init">
<echo message="Updating ${featureId} ${version}" />
<java taskname="suiteUnitTest"
fork="true"
resultProperty="updateResult"
failonerror="false"
jvm="${java15-home}/bin/java"
classname="org.eclipse.equinox.launcher.Main">
<classpath>
<fileset dir="${eclipse.home}/eclipse/plugins">
<include name="org.eclipse.equinox.launcher_*.jar" />
</fileset>
</classpath>
<jvmarg value="-DcontinueOnError=true" />
<arg value="-clean" />
<arg value="-nosplash" />
<arg value="-application" />
<arg value="org.eclipse.update.core.standaloneUpdate" />
<arg value="-data" />
<arg value="${basedir}/buildworkspace" />
<arg value="-debug" />
<arg value="-consolelog" />
<arg value="-command" />
<arg value="mirror" />
<arg value="-featureId" />
<arg value="${featureId}" />
<arg value="-version" />
<arg value="${version}" />
<arg value="-from" />
<arg value="${updateSite}" />
<arg value="-to" />
<arg value="${localUpdateSitePath}" />
<arg value="-ignoreMissingPlugins" />
<arg value="true" />
</java>
</target>
</project>