blob: fb4d6499edbe8a6d9107203b8c39f59b4ee5537b [file] [log] [blame]
david_williams8a62f0d2006-06-28 05:07:27 +00001<?xml version="1.0" encoding="UTF-8"?>
david_williamsed5201c2007-05-27 05:48:38 +00002<project
3 name="update"
4 default="update"
5 basedir=".">
david_williams8a62f0d2006-06-28 05:07:27 +00006
david_williams90c7dee2007-05-05 06:59:07 +00007
8
david_williamsed5201c2007-05-27 05:48:38 +00009 <property
10 name="java15-home"
11 value="${user.home}/ibm-java2-ppc-50/jre" />
12 <property
13 name="buildDirectory"
14 value="${basedir}" />
david_williams90c7dee2007-05-05 06:59:07 +000015
david_williamsed5201c2007-05-27 05:48:38 +000016 <target name="update">
17 <echo message="Updating ${featureId} ${version}" />
david_williams90c7dee2007-05-05 06:59:07 +000018
david_williamsed5201c2007-05-27 05:48:38 +000019 <java
20 taskname="updateJob"
21 fork="true"
22 resultProperty="updateResult"
23 failonerror="false"
24 jvm="${java15-home}/bin/java"
25 classname="org.eclipse.equinox.launcher.Main">
26 <classpath>
27 <fileset dir="${eclipse.home}/plugins">
28 <include name="org.eclipse.equinox.launcher_*.jar" />
29 </fileset>
30 </classpath>
david_williams90c7dee2007-05-05 06:59:07 +000031
32
david_williamsed5201c2007-05-27 05:48:38 +000033 <jvmarg value="-DcontinueOnError=true" />
34 <arg value="-clean" />
35 <arg value="-nosplash" />
36 <arg value="-application" />
37 <arg value="org.eclipse.update.core.standaloneUpdate" />
38 <arg value="-data" />
39 <arg value="${basedir}/buildworkspace" />
40 <arg value="-debug" />
41 <arg value="-consolelog" />
42 <arg value="-command" />
43 <arg value="mirror" />
44 <arg value="-featureId" />
45 <arg value="${featureId}" />
46 <arg value="-version" />
47 <arg value="${version}" />
48 <arg value="-from" />
49 <arg value="${update.site}" />
50 <arg value="-to" />
51 <arg value="${update.site}" />
52 <arg value="-ignoreMissingPlugins" />
53 <arg value="true" />
david_williams90c7dee2007-05-05 06:59:07 +000054
david_williamsed5201c2007-05-27 05:48:38 +000055 </java>
david_williams90c7dee2007-05-05 06:59:07 +000056
david_williamsed5201c2007-05-27 05:48:38 +000057 </target>
david_williams8a62f0d2006-06-28 05:07:27 +000058</project>