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