blob: b95bb2d92bc3826604688cfd0ba7a68c37471cc4 [file] [log] [blame]
david_williamsf4312582010-10-11 22:03:20 +00001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 create final build repo.
4 Eventually may want to "move" this to each component, in "post build" step?
5 See http://aniefer.blogspot.com/2009/08/versioning-p2-slides-from-eclipsecon.html
6 for example of comparator.
7-->
8<project
9 name="createFinalRepo"
10 default="build"
11 basedir=".">
12
13
14
15 <target
16 name="build"
17 depends="doMirror">
18
david_williams2398e362011-03-05 02:45:39 +000019 <echo message="done"/>
david_williamsf4312582010-10-11 22:03:20 +000020
21 </target>
22
david_williams2398e362011-03-05 02:45:39 +000023 <target name="doMirror">
david_williamsf4312582010-10-11 22:03:20 +000024 <property
25 name="destinationDir"
26 value="/home/shared/webtools/integrationsink"/>
david_williams2398e362011-03-05 02:45:39 +000027 <echo message="destinationDir: ${destinationDir}"/>
david_williamsf4312582010-10-11 22:03:20 +000028
29 <p2.mirror
30 ignoreErrors="true"
31 verbose="true"
32 log="/home/shared/webtools/apps/antrunner/testlog.txt">
33
34
35 <destination
36 kind="metadata"
37 location="file:/${destinationDir}"
38 name="Web Tools Platform Repository Sink"/>
39 <destination
40 kind="artifact"
41 location="file:/${destinationDir}"
42 name="Web Tools Platform Repository Sink"/>
43
44
45 <source>
david_williams2398e362011-03-05 02:45:39 +000046 <repository location="http://download.eclipse.org/webtools/downloads/drops/R3.3.0/S-3.3.0M2-20100923155521/repository/"/>
david_williamsf4312582010-10-11 22:03:20 +000047 </source>
48
49 <slicingoptions
50 followStrict="true"
51 includeNonGreedy="false"
52 includeOptional="false"/>
53
david_williams2398e362011-03-05 02:45:39 +000054 <iu query="property[@name='org.eclipse.equinox.p2.name' and @value='Web Tools Platform (WTP) 3.3.0']"/>
david_williamsf4312582010-10-11 22:03:20 +000055
david_williams2398e362011-03-05 02:45:39 +000056 <iu query="property[@name='org.eclipse.equinox.p2.name' and @value='Web Tools Platform SDK (WTP SDK) 3.3.0']"/>
david_williamsf4312582010-10-11 22:03:20 +000057
david_williams2398e362011-03-05 02:45:39 +000058 <iu query="property[@name='org.eclipse.equinox.p2.name' and (@value='Web Tools Platform Tests (WTP Tests) 3.3.0')]"/>
david_williamsf4312582010-10-11 22:03:20 +000059
david_williams2398e362011-03-05 02:45:39 +000060
david_williamsf4312582010-10-11 22:03:20 +000061 </p2.mirror>
62
63
64 </target>
65
66
67</project>