blob: 9be8e6fa2632b6975bda2ded8b82bd9c62df58e1 [file] [log] [blame]
david_williams3c47de32010-10-05 06:34:50 +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_williams3c47de32010-10-05 06:34:50 +000020
21 </target>
22
david_williams2398e362011-03-05 02:45:39 +000023 <target name="doMirror">
david_williams3c47de32010-10-05 06:34:50 +000024 <property
25 name="destinationDir"
26 value="/home/shared/webtools/apps/antrunner/testrepo"/>
david_williams2398e362011-03-05 02:45:39 +000027 <echo message="destinationDir: ${destinationDir}"/>
david_williams3c47de32010-10-05 06:34:50 +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 Test"/>
39 <destination
40 kind="artifact"
41 location="file:/${destinationDir}"
42 name="Web Tools Platform Repository Test"/>
43
44
45 <source>
david_williams2398e362011-03-05 02:45:39 +000046 <repository location="file://home/shared/webtools/projects/jsdt-R1.3.0-I/workdir/I-1.3.0-20101005042801/buildrepository/"/>
david_williams3c47de32010-10-05 06:34:50 +000047 </source>
48
49 <slicingoptions
50 followStrict="true"
51 includeNonGreedy="false"
52 includeOptional="false"/>
53<!--
54 <iu
55 id="org.eclipse.wst.jsdt_sdk.feature.feature.group"/>
56
david_williams9e7f5842011-03-06 03:32:03 +000057
david_williams3c47de32010-10-05 06:34:50 +000058 <iu
59 query="property[@name='org.eclipse.equinox.p2.type.category']"/>
60-->
61
62 <iu
63 query="property[@name='org.eclipse.equinox.p2.type.category'] and property[@name='org.eclipse.equinox.p2.name' and (@value!='Web Tools Platform Tests']"/>
64
65
66 </p2.mirror>
67
68
69 </target>
70
71
72</project>