| <?xml version="1.0" encoding="UTF-8"?> |
| <project |
| name="increment" |
| default="increment" |
| 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 --> |
| |
| <!-- if not otherwise set, set directory for java execution to basedir --> |
| <property |
| name="buildDirectory" |
| value="${basedir}" /> |
| |
| <!-- if not otherwise set, set the location of a Java VM --> |
| <!-- todo: this should be "passed in" to this script, for better |
| general use, not depending on some machines specific installation --> |
| <property |
| name="jvmLocation" |
| value="$HOME/europa/ibm-java2-ppc-50"/> |
| |
| <target name="increment"> |
| <!--Note: this word 'Updating' is critical for the status code to |
| "find" the data it needs to work. So, it should not be changed, and |
| the word 'updating' should not be used elsewhere --> |
| <echo message="Updating ${featureId} ${version}" /> |
| |
| <java |
| classname="org.eclipse.equinox.launcher.Main" |
| taskname="incrementSite" |
| fork="true" |
| jvm="${jvmLocation}/bin/java" |
| failonerror="false" |
| resultProperty="incrementSiteResult" |
| maxmemory="256m" |
| dir="${buildDirectory}"> |
| <classpath> |
| <fileset dir="${eclipse.home}/plugins"> |
| <include name="org.eclipse.equinox.launcher_*.jar" /> |
| </fileset> |
| </classpath> |
| <jvmarg value="-Dosgi.locking=none" /> |
| <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="-from" /> |
| <arg value="${stagingSite}" /> |
| <arg value="-to" /> |
| <arg value="${releasesSite}" /> |
| <arg value="-ignoreMissingPlugins" /> |
| <arg value="true" /> |
| |
| </java> |
| |
| </target> |
| </project> |