blob: 91efd8d2501cf3f9f93a2b260c8cffaac47c7221 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2007, 2019 IBM Corporation and others.
This program and the accompanying materials
are made available under the terms of the Eclipse Public License 2.0
which accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-2.0/
SPDX-License-Identifier: EPL-2.0
Contributors:
IBM Corporation - initial API and implementation
-->
<project
name="update"
default="update"
basedir=".">
<property environment="env"/>
<target name="update">
<echo message="Creating duplicate update site based on what site.xml needs" />
<java
taskname="createDuplicateSite"
fork="true"
resultProperty="updateResult"
failonerror="false"
jvm="${env.JAVA_5_HOME}/bin/java"
classname="org.eclipse.equinox.launcher.Main">
<classpath>
<fileset dir="${eclipse.home}/plugins">
<include name="org.eclipse.equinox.launcher_*.jar" />
</fileset>
</classpath>
<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="-consolelog" />
<arg value="-command" />
<arg value="mirror" />
<arg value="-from" />
<arg value="file://${env.FROM_UPDATE_SITE}" />
<arg value="-to" />
<arg value="file://${env.TO_UPDATE_SITE}" />
</java>
</target>
</project>