blob: 71f68aef63e9995461247ab4846abcc75e774501 [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_williamsf6f05a32008-05-28 04:58:45 +00006 <property environment="env"/>
7
david_williamsde471e52008-05-28 04:53:23 +00008 <fail
david_williamsf6f05a32008-05-28 04:58:45 +00009 unless="env.JAVA_5_HOME"
10 message="Must provide env.JAVA_5_HOME" />
david_williamsed5201c2007-05-27 05:48:38 +000011 <property
12 name="buildDirectory"
13 value="${basedir}" />
david_williamsde471e52008-05-28 04:53:23 +000014 <target
15 name="update">
16 <echo
17 message="Updating ${featureId} ${version}" />
david_williamsed5201c2007-05-27 05:48:38 +000018 <java
19 taskname="updateJob"
20 fork="true"
21 resultProperty="updateResult"
22 failonerror="false"
david_williamsf6f05a32008-05-28 04:58:45 +000023 jvm="${env.JAVA_5_HOME}/bin/java"
david_williamsed5201c2007-05-27 05:48:38 +000024 classname="org.eclipse.equinox.launcher.Main">
25 <classpath>
david_williamsde471e52008-05-28 04:53:23 +000026 <fileset
27 dir="${eclipse.home}/plugins">
28 <include
29 name="org.eclipse.equinox.launcher_*.jar" />
david_williamsed5201c2007-05-27 05:48:38 +000030 </fileset>
31 </classpath>
david_williamsde471e52008-05-28 04:53:23 +000032 <jvmarg
33 value="-DcontinueOnError=true" />
34 <arg
35 value="-clean" />
36 <arg
37 value="-nosplash" />
38 <arg
39 value="-application" />
40 <arg
41 value="org.eclipse.update.core.standaloneUpdate" />
42 <arg
43 value="-data" />
44 <arg
45 value="${basedir}/buildworkspace" />
46 <arg
47 value="-debug" />
48 <arg
49 value="-consolelog" />
50 <arg
51 value="-command" />
52 <arg
53 value="mirror" />
54 <arg
55 value="-featureId" />
56 <arg
57 value="${featureId}" />
58 <arg
59 value="-version" />
60 <arg
61 value="${version}" />
62 <arg
63 value="-from" />
64 <arg
65 value="${from.update.site}" />
66 <arg
67 value="-to" />
68 <arg
69 value="${update.site}" />
70 <arg
71 value="-ignoreMissingPlugins" />
72 <arg
73 value="true" />
david_williamsed5201c2007-05-27 05:48:38 +000074 </java>
david_williamsed5201c2007-05-27 05:48:38 +000075 </target>
david_williamsde471e52008-05-28 04:53:23 +000076</project>