blob: 94ff247e80ece18a44a7ec4790a3673b9ce3faf1 [file] [log] [blame]
david_williams8a62f0d2006-06-28 05:07:27 +00001<?xml version="1.0" encoding="UTF-8"?>
2<project name="update" default="update" basedir=".">
3 <!-- original example received from Richard Gronback from cross-project list (thanks Richard!) -->
4 <!-- see http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/misc/update_standalone.html -->
5
6 <target name="init" unless="initialized">
7 <ant antfile="init.xml" />
8 </target>
9
10 <target name="update" depends="init">
11 <echo message="Updating ${featureId} ${version}" />
12 <java jar="${eclipseLocation}/startup.jar"
13 fork="true"
14 failonerror="false">
15 <jvmarg value="-DcontinueOnError=true" />
16 <arg value="-clean" />
17 <arg value="-nosplash" />
18 <arg value="-application" />
19 <arg value="org.eclipse.update.core.standaloneUpdate" />
20 <arg value="-data" />
21 <arg value="${basedir}/buildworkspace" />
22 <arg value="-debug" />
23 <arg value="-consolelog" />
24 <arg value="-command" />
25 <arg value="mirror" />
26 <arg value="-featureId" />
27 <arg value="${featureId}" />
28 <arg value="-version" />
29 <arg value="${version}" />
30 <arg value="-from" />
31 <arg value="${updateSite}" />
32 <arg value="-to" />
33 <arg value="${localUpdateSitePath}" />
34 <arg value="-ignoreMissingPlugins" />
35 <arg value="true" />
36
37 </java>
38
39 </target>
40</project>