blob: 59a265f1e131c8034899d493608535c0c5884d0f [file] [log] [blame]
david_williams49e229d2010-10-22 04:35:34 +00001<?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 This script is to create some zips with core features only.
4 Limited, specialized usefulness, so they are not linked or
5 advertised. That is, could change at any time.
6 -->
7<project
8 default="build"
9 basedir=".">
10 <!--
11 These properties are normally set by calling task, but for
12 "local" tests from command line, they can be set here
13 -->
14 <property
15 name="buildDirectory"
16 value="/shared/webtools/committers/wtp-R3.2.2-M/20100901154417"/>
17 <property
18 name="buildLabel"
19 value="M-3.2.2-20100901154417"/>
20 <property
21 name="wtp.builder.home"
22 value="/shared/webtools/projectBuilders/wtp-R3.2.2-M/webtools.releng/releng.wtpbuilder"/>
david_williams2398e362011-03-05 02:45:39 +000023 <echo message="buildDirectory: ${buildDirectory}"/>
24 <echo message="buildLabel: ${buildLabel}"/>
25 <echo message="wtp.builder.home: ${wtp.builder.home}"/>
david_williams49e229d2010-10-22 04:35:34 +000026 <!--
27 three convenience variables to help avoid typos, etc. Should
28 never need to be changed
29 -->
30 <property
31 name="tempDir"
32 value="${buildDirectory}/${buildLabel}/tempdir"/>
33 <property
34 name="tempRunnableEclipse"
35 value="${tempDir}/eclipse"/>
36 <property
37 name="tempRepo"
38 value="${buildDirectory}/${buildLabel}/temprepo"/>
david_williams2398e362011-03-05 02:45:39 +000039 <target name="build">
david_williams49e229d2010-10-22 04:35:34 +000040
david_williams2398e362011-03-05 02:45:39 +000041 <antcall target="createNoOptionalZip">
david_williams49e229d2010-10-22 04:35:34 +000042 <param
43 name="newarchiveName"
44 value="wtp-noop-${buildLabel}.zip"/>
45 </antcall>
david_williams2398e362011-03-05 02:45:39 +000046 <antcall target="createNoOptionalSDKZip">
david_williams49e229d2010-10-22 04:35:34 +000047 <param
48 name="newarchiveName"
49 value="wtp-sdk-noop-${buildLabel}.zip"/>
50 </antcall>
51
david_williams2398e362011-03-05 02:45:39 +000052 <antcall target="createNoOptionalTestZip">
david_williams49e229d2010-10-22 04:35:34 +000053 <param
54 name="newarchiveName"
55 value="wtp-tests-noop-${buildLabel}.zip"/>
56 </antcall>
57 </target>
david_williams2398e362011-03-05 02:45:39 +000058 <target name="createNoOptionalZip">
david_williams49e229d2010-10-22 04:35:34 +000059 <ant
60 antfile="${wtp.builder.home}/distribution/wtp.build/ziputils.xml"
61 target="premirrortasks"/>
62 <p2.mirror
63 source="${buildDirectory}/${buildLabel}/repository"
64 destination="${tempRepo}"
65 log="${buildDirectory}/${buildLabel}/mirrorlog-${newarchiveName}.log"
66 verbose="true">
67 <slicingoptions
68 followstrict="true"
69 includeNonGreedy="false"
70 includeOptional="false"/>
david_williams2398e362011-03-05 02:45:39 +000071 <iu id="org.eclipse.wst.web_ui.feature.feature.group"/>
72 <iu id="org.eclipse.jst.enterprise_ui.feature.feature.group"/>
73 <iu id="org.eclipse.jpt.jpa.feature.feature.group"/>
74 <iu id="org.eclipse.wst.xml_ui.feature.feature.group"/>
75 <iu id="org.eclipse.wst.jsdt.feature.feature.group"/>
76 <iu id="org.eclipse.wst.common.fproj.feature.group"/>
77 <iu id="org.eclipse.wst.server_adapters.feature.feature.group"/>
78 <iu id="org.eclipse.jst.common.fproj.enablement.jdt.feature.group"/>
79 <iu id="org.eclipse.jst.server_ui.feature.feature.group"/>
80 <iu id="org.eclipse.jst.server_adapters.feature.feature.group"/>
81 <iu id="org.eclipse.jst.server_adapters.ext.feature.feature.group"/>
82 <iu id="org.eclipse.jst.web_ui.feature.feature.group"/>
83 <iu id="org.eclipse.jsf.feature.feature.group"/>
david_williams49e229d2010-10-22 04:35:34 +000084 </p2.mirror>
85 <ant
86 antfile="${wtp.builder.home}/distribution/wtp.build/ziputils.xml"
87 target="postmirrortasks"/>
88 </target>
david_williams2398e362011-03-05 02:45:39 +000089 <target name="createNoOptionalSDKZip">
david_williams49e229d2010-10-22 04:35:34 +000090 <ant
91 antfile="${wtp.builder.home}/distribution/wtp.build/ziputils.xml"
92 target="premirrortasks"/>
93 <p2.mirror
94 source="${buildDirectory}/${buildLabel}/repository"
95 destination="${tempRepo}"
96 log="${buildDirectory}/${buildLabel}/mirrorlog-${newarchiveName}.log"
97 verbose="true">
98 <slicingoptions
99 followstrict="true"
100 includeNonGreedy="false"
101 includeOptional="false"/>
david_williams2398e362011-03-05 02:45:39 +0000102 <iu id="org.eclipse.wst.web_sdk.feature.feature.group"/>
103 <iu id="org.eclipse.jst.enterprise_sdk.feature.feature.group"/>
104 <iu id="org.eclipse.jpt.jpa_sdk.feature.feature.group"/>
105 <iu id="org.eclipse.wst.xml_sdk.feature.feature.group"/>
106 <iu id="org.eclipse.wst.jsdt_sdk.feature.feature.group"/>
107 <iu id="org.eclipse.wst.common.fproj.sdk.feature.group"/>
108 <iu id="org.eclipse.wst.server_adapters.sdk.feature.feature.group"/>
109 <iu id="org.eclipse.jst.common.fproj.enablement.jdt.sdk.feature.group"/>
110 <iu id="org.eclipse.jst.server_sdk.feature.feature.group"/>
111 <iu id="org.eclipse.jst.server_adapters.sdk.feature.feature.group"/>
112 <iu id="org.eclipse.jst.server_adapters.ext.sdk.feature.feature.group"/>
113 <iu id="org.eclipse.jst.web_sdk.feature.feature.group"/>
114 <iu id="org.eclipse.jsf_sdk.feature.feature.group"/>
david_williams49e229d2010-10-22 04:35:34 +0000115 </p2.mirror>
116 <ant
117 antfile="${wtp.builder.home}/distribution/wtp.build/ziputils.xml"
118 target="postmirrortasks"/>
119 </target>
david_williams2398e362011-03-05 02:45:39 +0000120 <target name="createNoOptionalTestZip">
david_williams49e229d2010-10-22 04:35:34 +0000121 <ant
122 antfile="${wtp.builder.home}/distribution/wtp.build/ziputils.xml"
123 target="premirrortasks"/>
124 <p2.mirror
125 source="${buildDirectory}/${buildLabel}/repository"
126 destination="${tempRepo}"
127 log="${buildDirectory}/${buildLabel}/mirrorlog-${newarchiveName}.log"
128 verbose="true">
129 <slicingoptions
130 followstrict="true"
131 includeNonGreedy="false"
132 includeOptional="false"/>
david_williams9e7f5842011-03-06 03:32:03 +0000133 <!--
134 may eventually want to break jpt tests into "core" parts and "eclipselink" parts. For now, exclude all.
david_williams49e229d2010-10-22 04:35:34 +0000135 <iu
tlefc080522011-02-16 14:51:20 +0000136 id="org.eclipse.jpt.jpa.tests.feature.feature.group"/>
137 <iu
138 id="org.eclipse.jpt.jpa.eclipselink.tests.feature.feature.group"/>
david_williams49e229d2010-10-22 04:35:34 +0000139 -->
david_williams2398e362011-03-05 02:45:39 +0000140 <iu id="org.eclipse.jst.enterprise_tests.feature.feature.group"/>
141 <iu id="org.eclipse.jst.jsf.tests.feature.feature.group"/>
142 <iu id="org.eclipse.jst.server_adapters.ext_tests.feature.feature.group"/>
143 <iu id="org.eclipse.jst.server_tests.feature.feature.group"/>
144 <iu id="org.eclipse.jst.web_tests.feature.feature.group"/>
145 <iu id="org.eclipse.wst.common_tests.feature.feature.group"/>
146 <iu id="org.eclipse.wst.jsdt_tests.feature.feature.group"/>
147 <iu id="org.eclipse.wst.server_tests.feature.feature.group"/>
148 <iu id="org.eclipse.wst.web_tests.feature.feature.group"/>
149 <iu id="org.eclipse.wst.ws_tests.feature.feature.group"/>
150 <iu id="org.eclipse.wst.xml_tests.feature.feature.group"/>
151 <iu id="org.eclipse.wtp.releng.tests.feature.feature.group"/>
david_williams49e229d2010-10-22 04:35:34 +0000152 </p2.mirror>
153 <ant
154 antfile="${wtp.builder.home}/distribution/wtp.build/ziputils.xml"
155 target="postmirrortasks"/>
156 </target>
157</project>