blob: 0f1a59c27ba906c94294469a58dedeb0446b007b [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2010, 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
-->
<!--
create final build repo.
Eventually may want to "move" this to each component, in "post build" step?
See http://aniefer.blogspot.com/2009/08/versioning-p2-slides-from-eclipsecon.html
for example of comparator.
-->
<project
name="createFinalRepo"
default="build"
basedir=".">
<target
name="build"
depends="doMirror">
<echo message="done"/>
</target>
<target name="doMirror">
<property
name="destinationDir"
value="/home/shared/webtools/integrationsink"/>
<echo message="destinationDir: ${destinationDir}"/>
<p2.mirror
ignoreErrors="true"
verbose="true"
log="/home/shared/webtools/apps/antrunner/testlog.txt">
<destination
kind="metadata"
location="file:/${destinationDir}"
name="Web Tools Platform Repository Sink"/>
<destination
kind="artifact"
location="file:/${destinationDir}"
name="Web Tools Platform Repository Sink"/>
<source>
<repository location="http://download.eclipse.org/webtools/downloads/drops/R3.3.0/S-3.3.0M2-20100923155521/repository/"/>
</source>
<slicingoptions
followStrict="true"
includeNonGreedy="false"
includeOptional="false"/>
<iu query="property[@name='org.eclipse.equinox.p2.name' and @value='Web Tools Platform (WTP) 3.3.0']"/>
<iu query="property[@name='org.eclipse.equinox.p2.name' and @value='Web Tools Platform SDK (WTP SDK) 3.3.0']"/>
<iu query="property[@name='org.eclipse.equinox.p2.name' and (@value='Web Tools Platform Tests (WTP Tests) 3.3.0')]"/>
</p2.mirror>
</target>
</project>