david_williams | 49f39c5 | 2010-06-08 10:57:04 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
david_williams | 3424cbb | 2010-09-13 03:16:53 +0000 | [diff] [blame] | 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. |
david_williams | 49f39c5 | 2010-06-08 10:57:04 +0000 | [diff] [blame] | 7 | --> |
david_williams | e93df37 | 2010-09-13 03:53:24 +0000 | [diff] [blame] | 8 | <project |
david_williams | 7ef7ab6 | 2010-09-15 00:15:21 +0000 | [diff] [blame] | 9 | name="createFinalRepo" |
david_williams | e93df37 | 2010-09-13 03:53:24 +0000 | [diff] [blame] | 10 | default="build" |
| 11 | basedir="."> |
david_williams | e602f42 | 2010-09-13 00:16:52 +0000 | [diff] [blame] | 12 | |
david_williams | 3c47de3 | 2010-10-05 06:34:50 +0000 | [diff] [blame] | 13 | <!-- = = = standard properties pattern = = = --> |
| 14 | <!-- |
david_williams | 7ef7ab6 | 2010-09-15 00:15:21 +0000 | [diff] [blame] | 15 | Note to be cross-platform, "environment variables" are only |
| 16 | appropriate for some variables, e.g. ones we set, since |
| 17 | properties are case sensitive, even if the environment variables |
| 18 | on your operating system are not, e.g. it will be ${env.Path} |
| 19 | not ${env.PATH} on Windows |
| 20 | --> |
| 21 | <property |
| 22 | environment="env"/> |
david_williams | 3c47de3 | 2010-10-05 06:34:50 +0000 | [diff] [blame] | 23 | <!-- |
david_williams | 7ef7ab6 | 2010-09-15 00:15:21 +0000 | [diff] [blame] | 24 | Let users override standard properties, if desired. If |
| 25 | directory, file, or some properties do not exist, then standard |
| 26 | properties will be used. |
| 27 | --> |
| 28 | <property |
| 29 | file="${env.LOCAL_BUILD_PROPERTIES_DIR}/${ant.project.name}.properties"/> |
| 30 | |
david_williams | 3c47de3 | 2010-10-05 06:34:50 +0000 | [diff] [blame] | 31 | <!-- = = = end standard properties pattern = = = --> |
david_williams | 7ef7ab6 | 2010-09-15 00:15:21 +0000 | [diff] [blame] | 32 | |
| 33 | |
| 34 | |
david_williams | e93df37 | 2010-09-13 03:53:24 +0000 | [diff] [blame] | 35 | <fail |
| 36 | unless="wtp.builder.home"/> |
| 37 | <property |
| 38 | file="${wtp.builder.home}/build.properties"/> |
david_williams | e602f42 | 2010-09-13 00:16:52 +0000 | [diff] [blame] | 39 | |
david_williams | 7ef7ab6 | 2010-09-15 00:15:21 +0000 | [diff] [blame] | 40 | |
david_williams | 3cf9341 | 2010-10-04 04:31:27 +0000 | [diff] [blame] | 41 | <!-- required to get proper value of branch specific values, for example, |
| 42 | baseComparatorRepoDir, since can vary from forward "integration" stream, |
| 43 | and "maintenance" branch --> |
david_williams | e93df37 | 2010-09-13 03:53:24 +0000 | [diff] [blame] | 44 | <property |
| 45 | name="keyCfgFile" |
| 46 | value="${env.PROJECT_BUILDERS}/${projectname}/${env.RELENG}/maps/build.cfg"/> |
| 47 | <echo |
| 48 | level="info" |
| 49 | message="keyCfgFile: ${keyCfgFile}"/> |
| 50 | <property |
| 51 | file="${keyCfgFile}"/> |
david_williams | e602f42 | 2010-09-13 00:16:52 +0000 | [diff] [blame] | 52 | |
david_williams | e93df37 | 2010-09-13 03:53:24 +0000 | [diff] [blame] | 53 | <fail |
| 54 | unless="baseComparatorRepoDir" |
| 55 | message="baseComparatorRepoDir must be defined for this ant script"/> |
david_williams | 3c47de3 | 2010-10-05 06:34:50 +0000 | [diff] [blame] | 56 | |
david_williams | acd369a | 2010-10-11 13:36:59 +0000 | [diff] [blame^] | 57 | <property name="baseComparatorRepoDirTests" value="${baseComparatorRepoDir}"/> |
david_williams | 3c47de3 | 2010-10-05 06:34:50 +0000 | [diff] [blame] | 58 | |
| 59 | <!-- if not otherwise set, use these default properties |
david_williams | 7ef7ab6 | 2010-09-15 00:15:21 +0000 | [diff] [blame] | 60 | <property |
| 61 | name="repoDownloadBaseURL" |
david_williams | 0594e3d | 2010-09-15 13:20:42 +0000 | [diff] [blame] | 62 | value="http://build.eclipse.org/webtools/committers"/> --> |
| 63 | <property |
david_williams | a9da34a | 2010-09-17 16:57:46 +0000 | [diff] [blame] | 64 | name="repoDownloadBaseURL" |
| 65 | value=".."/> |
david_williams | 7ef7ab6 | 2010-09-15 00:15:21 +0000 | [diff] [blame] | 66 | |
david_williams | a9da34a | 2010-09-17 16:57:46 +0000 | [diff] [blame] | 67 | <fail |
| 68 | unless="env.PROJECT_PROJECTS"/> |
| 69 | <fail |
| 70 | unless="projectname"/> |
| 71 | <property |
| 72 | name="labelfile" |
| 73 | value="${env.PROJECT_PROJECTS}/${projectname}/workdir/label.properties"/> |
| 74 | <available |
| 75 | file="${labelfile}" |
| 76 | property="labelfileavailable"/> |
| 77 | <fail |
| 78 | unless="labelfileavailable"/> |
| 79 | <property |
| 80 | file="${labelfile}"/> |
david_williams | eb96663 | 2010-09-17 06:06:09 +0000 | [diff] [blame] | 81 | |
david_williams | a9da34a | 2010-09-17 16:57:46 +0000 | [diff] [blame] | 82 | |
| 83 | <target |
david_williams | e93df37 | 2010-09-13 03:53:24 +0000 | [diff] [blame] | 84 | name="build" |
david_williams | a0ca437 | 2010-10-04 20:15:34 +0000 | [diff] [blame] | 85 | depends="doMirror,doMirrorTests"> |
david_williams | 49f39c5 | 2010-06-08 10:57:04 +0000 | [diff] [blame] | 86 | |
david_williams | 3c47de3 | 2010-10-05 06:34:50 +0000 | [diff] [blame] | 87 | <!-- add the new build to the composite --> |
| 88 | <!-- |
david_williams | f445b27 | 2010-09-14 02:22:19 +0000 | [diff] [blame] | 89 | TODO: after promotion, do we need to delete repo's as directories removed? Or just do occasional cleanup, |
| 90 | if non-existent child repos are ignored |
| 91 | TODO: ok to use absolute file system locations for child repos? (And still access via http, later? |
david_williams | 7ef7ab6 | 2010-09-15 00:15:21 +0000 | [diff] [blame] | 92 | --> |
david_williams | 3c47de3 | 2010-10-05 06:34:50 +0000 | [diff] [blame] | 93 | <!-- |
david_williams | 7ef7ab6 | 2010-09-15 00:15:21 +0000 | [diff] [blame] | 94 | |
| 95 | On build machine, URL's to repositories will look similar to following URL: |
| 96 | |
| 97 | http://build.eclipse.org/webtools/committers/wtp-R3.3.0-I/20100914034658/I-3.3.0-20100914034658/repository/ |
| 98 | |
| 99 | which we translate as follows |
| 100 | |
| 101 | repoDownloadBaseURL=http://build.eclipse.org/webtools/committers |
| 102 | |
david_williams | 9983b89 | 2010-09-17 10:07:23 +0000 | [diff] [blame] | 103 | ${repoDownloadBaseURL}/${projectname}/${timestamp}/${buildLabel}/repository/ |
david_williams | 7ef7ab6 | 2010-09-15 00:15:21 +0000 | [diff] [blame] | 104 | |
| 105 | repoDownloadBaseURL is machine dependent (will differ from one build machine to another). |
| 106 | |
| 107 | Will be different on "download server", as well. |
| 108 | |
| 109 | --> |
| 110 | |
david_williams | 3c47de3 | 2010-10-05 06:34:50 +0000 | [diff] [blame] | 111 | <!-- remember, repoLocation won't exist until later, since it is at the "site", not the |
david_williams | a0ca437 | 2010-10-04 20:15:34 +0000 | [diff] [blame] | 112 | working directory --> |
david_williams | acd369a | 2010-10-11 13:36:59 +0000 | [diff] [blame^] | 113 | |
| 114 | <!-- remember that repos are added to comparator set only when they are promoted to download location --> |
david_williams | eb96663 | 2010-09-17 06:06:09 +0000 | [diff] [blame] | 115 | <property |
| 116 | name="repoLocation" |
david_williams | 9983b89 | 2010-09-17 10:07:23 +0000 | [diff] [blame] | 117 | value="${repoDownloadBaseURL}/committers/${projectname}/${timestamp}/${buildLabel}/repository/"/> |
david_williams | f445b27 | 2010-09-14 02:22:19 +0000 | [diff] [blame] | 118 | <echo |
david_williams | a0ca437 | 2010-10-04 20:15:34 +0000 | [diff] [blame] | 119 | message="${line.separator} |
david_williams | acd369a | 2010-10-11 13:36:59 +0000 | [diff] [blame^] | 120 | created final build repoository at location:${line.separator} |
david_williams | a0ca437 | 2010-10-04 20:15:34 +0000 | [diff] [blame] | 121 | ${repoLocation}${line.separator} |
david_williams | acd369a | 2010-10-11 13:36:59 +0000 | [diff] [blame^] | 122 | "/> |
| 123 | <!-- |
david_williams | e93df37 | 2010-09-13 03:53:24 +0000 | [diff] [blame] | 124 | <p2.composite.repository |
david_williams | bf7c273 | 2010-09-13 06:50:47 +0000 | [diff] [blame] | 125 | destination="file:/${baseComparatorRepoDir}"> |
david_williams | e93df37 | 2010-09-13 03:53:24 +0000 | [diff] [blame] | 126 | <add> |
| 127 | <repository |
david_williams | eb96663 | 2010-09-17 06:06:09 +0000 | [diff] [blame] | 128 | location="${repoLocation}"/> |
david_williams | e93df37 | 2010-09-13 03:53:24 +0000 | [diff] [blame] | 129 | </add> |
| 130 | </p2.composite.repository> |
david_williams | acd369a | 2010-10-11 13:36:59 +0000 | [diff] [blame^] | 131 | --> |
david_williams | e93df37 | 2010-09-13 03:53:24 +0000 | [diff] [blame] | 132 | </target> |
| 133 | <target |
| 134 | name="init"> |
| 135 | <available |
| 136 | file="${baseComparatorRepoDir}" |
| 137 | type="dir" |
| 138 | property="baseComparatorRepoDirExists"/> |
| 139 | </target> |
david_williams | bca4b32 | 2010-09-13 04:50:34 +0000 | [diff] [blame] | 140 | <!-- normally, the "prime repository" should be created from previous release, |
| 141 | or similar, but if that hasn't been done, we'll automatically create an empty |
david_williams | 8eeb862 | 2010-09-14 03:07:16 +0000 | [diff] [blame] | 142 | composite repo which we've stored away for simplicity.--> |
david_williams | e93df37 | 2010-09-13 03:53:24 +0000 | [diff] [blame] | 143 | <target |
| 144 | name="primeRepo" |
david_williams | bca4b32 | 2010-09-13 04:50:34 +0000 | [diff] [blame] | 145 | depends="init" |
david_williams | e93df37 | 2010-09-13 03:53:24 +0000 | [diff] [blame] | 146 | unless="baseComparatorRepoDirExists"> |
| 147 | <mkdir |
| 148 | dir="${baseComparatorRepoDir}"/> |
| 149 | <copy |
| 150 | todir="${baseComparatorRepoDir}"> |
| 151 | <fileset |
| 152 | dir="${wtp.builder.home}/emptyRepository/"/> |
| 153 | </copy> |
david_williams | 3c47de3 | 2010-10-05 06:34:50 +0000 | [diff] [blame] | 154 | <!-- could probably just set to true, but we'll use same logic as in init, just in case --> |
david_williams | bca4b32 | 2010-09-13 04:50:34 +0000 | [diff] [blame] | 155 | <available |
| 156 | file="${baseComparatorRepoDir}" |
| 157 | type="dir" |
| 158 | property="baseComparatorRepoDirExists"/> |
david_williams | e93df37 | 2010-09-13 03:53:24 +0000 | [diff] [blame] | 159 | </target> |
david_williams | acd369a | 2010-10-11 13:36:59 +0000 | [diff] [blame^] | 160 | <!-- normally, the "prime repository" should be created from previous release, |
| 161 | or similar, but if that hasn't been done, we'll automatically create an empty |
| 162 | composite repo which we've stored away for simplicity.--> |
| 163 | <target |
| 164 | name="primeTestRepo" |
| 165 | depends="init" |
| 166 | unless="baseComparatorTestRepoDirExists"> |
| 167 | <mkdir |
| 168 | dir="${baseComparatorTestRepoDir}"/> |
| 169 | <copy |
| 170 | todir="${baseComparatorTestRepoDir}"> |
| 171 | <fileset |
| 172 | dir="${wtp.builder.home}/emptyRepository/"/> |
| 173 | </copy> |
| 174 | <!-- could probably just set to true, but we'll use same logic as in init, just in case --> |
| 175 | <available |
| 176 | file="${baseComparatorTestRepoDir}" |
| 177 | type="dir" |
| 178 | property="baseComparatorTestRepoDirExists"/> |
| 179 | </target> |
david_williams | e93df37 | 2010-09-13 03:53:24 +0000 | [diff] [blame] | 180 | <target |
david_williams | 0594e3d | 2010-09-15 13:20:42 +0000 | [diff] [blame] | 181 | name="doMirror" |
david_williams | a9da34a | 2010-09-17 16:57:46 +0000 | [diff] [blame] | 182 | depends="primeRepo"> |
david_williams | de688d7 | 2010-09-17 18:27:09 +0000 | [diff] [blame] | 183 | <property |
| 184 | name="destinationDir" |
| 185 | value="${buildDirectory}/${buildLabel}/repository"/> |
| 186 | <echo |
| 187 | message="destinationDir: ${destinationDir}"/> |
david_williams | e8bb4a8 | 2010-09-27 20:58:02 +0000 | [diff] [blame] | 188 | |
david_williams | e93df37 | 2010-09-13 03:53:24 +0000 | [diff] [blame] | 189 | <p2.mirror |
david_williams | 5af61f7 | 2010-09-15 02:07:51 +0000 | [diff] [blame] | 190 | ignoreErrors="true" |
david_williams | 8eeb862 | 2010-09-14 03:07:16 +0000 | [diff] [blame] | 191 | verbose="true" |
| 192 | log="${buildDirectory}/${buildLabel}/finalMirrorRepo.log"> |
david_williams | de688d7 | 2010-09-17 18:27:09 +0000 | [diff] [blame] | 193 | |
| 194 | |
david_williams | a9da34a | 2010-09-17 16:57:46 +0000 | [diff] [blame] | 195 | <destination |
| 196 | kind="metadata" |
| 197 | location="file:/${destinationDir}" |
david_williams | e93df37 | 2010-09-13 03:53:24 +0000 | [diff] [blame] | 198 | name="Web Tools Platform Repository ${buildLabel}"/> |
david_williams | a9da34a | 2010-09-17 16:57:46 +0000 | [diff] [blame] | 199 | <destination |
| 200 | kind="artifact" |
| 201 | location="file:/${destinationDir}" |
| 202 | name="Web Tools Platform Repository ${buildLabel}"/> |
| 203 | |
| 204 | |
david_williams | e93df37 | 2010-09-13 03:53:24 +0000 | [diff] [blame] | 205 | <source> |
| 206 | <repository |
david_williams | a9da34a | 2010-09-17 16:57:46 +0000 | [diff] [blame] | 207 | location="file:/${buildDirectory}/${buildLabel}/buildrepository/"/> |
david_williams | e93df37 | 2010-09-13 03:53:24 +0000 | [diff] [blame] | 208 | </source> |
david_williams | 851c8ee | 2010-09-17 06:13:45 +0000 | [diff] [blame] | 209 | |
david_williams | e93df37 | 2010-09-13 03:53:24 +0000 | [diff] [blame] | 210 | <comparator |
| 211 | comparator="org.eclipse.equinox.p2.repository.tools.jar.comparator" |
| 212 | comparatorLog="${buildDirectory}/${buildLabel}/comparator.log"> |
| 213 | <repository |
| 214 | location="file:/${baseComparatorRepoDir}"/> |
david_williams | 1fa6262 | 2010-09-15 04:06:10 +0000 | [diff] [blame] | 215 | <exclude> |
| 216 | <artifact |
david_williams | fbc4c37 | 2010-09-15 14:44:03 +0000 | [diff] [blame] | 217 | id="org.eclipse.jpt.eclipselink.ui"/> |
david_williams | 96297a5 | 2010-09-17 15:27:38 +0000 | [diff] [blame] | 218 | <artifact |
| 219 | id="org.eclipse.jpt.ui"/> |
david_williams | a9da34a | 2010-09-17 16:57:46 +0000 | [diff] [blame] | 220 | |
| 221 | <artifact |
| 222 | id="org.eclipse.jst.jsp.core.tests"/> |
david_williams | 1fa6262 | 2010-09-15 04:06:10 +0000 | [diff] [blame] | 223 | </exclude> |
david_williams | e93df37 | 2010-09-13 03:53:24 +0000 | [diff] [blame] | 224 | </comparator> |
david_williams | 3791dfd | 2010-10-05 02:38:05 +0000 | [diff] [blame] | 225 | |
david_williams | 3c47de3 | 2010-10-05 06:34:50 +0000 | [diff] [blame] | 226 | <!-- |
| 227 | followStrict is sort of a safety measure. All our features should be strict, but in case not, |
| 228 | will show up early if not mirrored. |
| 229 | |
| 230 | |
| 231 | --> |
david_williams | e93df37 | 2010-09-13 03:53:24 +0000 | [diff] [blame] | 232 | <slicingoptions |
david_williams | 3c47de3 | 2010-10-05 06:34:50 +0000 | [diff] [blame] | 233 | followStrict="true" |
| 234 | includeNonGreedy="false" |
| 235 | includeOptional="false"/> |
david_williams | 3791dfd | 2010-10-05 02:38:05 +0000 | [diff] [blame] | 236 | |
david_williams | 3c47de3 | 2010-10-05 06:34:50 +0000 | [diff] [blame] | 237 | <!-- |
| 238 | Specify category and let it pull in its features. |
| 239 | TODO: would be best to make "property[@name='org.eclipse.equinox.p2.type.category']" part of the query, |
| 240 | but a) not sure if/how it will work and b) our names are distinct enough now this suffices. |
| 241 | --> |
david_williams | 3424cbb | 2010-09-13 03:16:53 +0000 | [diff] [blame] | 242 | |
david_williams | e93df37 | 2010-09-13 03:53:24 +0000 | [diff] [blame] | 243 | <iu |
david_williams | da951f0 | 2010-10-05 06:45:49 +0000 | [diff] [blame] | 244 | query="property[@name='org.eclipse.equinox.p2.name' and @value='Web Tools Platform (WTP) ${buildId}']"/> |
| 245 | |
| 246 | <iu |
| 247 | query="property[@name='org.eclipse.equinox.p2.name' and @value='Web Tools Platform SDK (WTP SDK) ${buildId}']"/> |
david_williams | 3791dfd | 2010-10-05 02:38:05 +0000 | [diff] [blame] | 248 | |
david_williams | a0ca437 | 2010-10-04 20:15:34 +0000 | [diff] [blame] | 249 | </p2.mirror> |
david_williams | 3c47de3 | 2010-10-05 06:34:50 +0000 | [diff] [blame] | 250 | |
| 251 | <!-- create archived repo from contents of 'repository' at this point --> |
david_williams | 062d2f2 | 2010-10-04 23:51:53 +0000 | [diff] [blame] | 252 | <property |
| 253 | name="zippedrepo" |
| 254 | value="${build.distribution}-repo-${buildLabel}.zip"/> |
david_williams | a0ca437 | 2010-10-04 20:15:34 +0000 | [diff] [blame] | 255 | <zip |
| 256 | destfile="${buildDirectory}/${buildLabel}/${zippedrepo}" |
| 257 | basedir="${buildDirectory}/${buildLabel}/repository"/> |
david_williams | 062d2f2 | 2010-10-04 23:51:53 +0000 | [diff] [blame] | 258 | |
david_williams | a0ca437 | 2010-10-04 20:15:34 +0000 | [diff] [blame] | 259 | <ant |
| 260 | antfile="${wtp.builder.home}/scripts/build/buildutilitiesp2.xml" |
| 261 | target="createChecksums"> |
| 262 | <property |
| 263 | name="archiveName" |
| 264 | value="${zippedrepo}"/> |
| 265 | </ant> |
david_williams | 062d2f2 | 2010-10-04 23:51:53 +0000 | [diff] [blame] | 266 | |
david_williams | a0ca437 | 2010-10-04 20:15:34 +0000 | [diff] [blame] | 267 | </target> |
| 268 | <target |
| 269 | name="doMirrorTests" |
david_williams | acd369a | 2010-10-11 13:36:59 +0000 | [diff] [blame^] | 270 | depends="primeTestRepo"> |
david_williams | a0ca437 | 2010-10-04 20:15:34 +0000 | [diff] [blame] | 271 | <property |
| 272 | name="destinationDir" |
david_williams | acd369a | 2010-10-11 13:36:59 +0000 | [diff] [blame^] | 273 | value="${buildDirectory}/${buildLabel}/unittestrepository"/> |
david_williams | a0ca437 | 2010-10-04 20:15:34 +0000 | [diff] [blame] | 274 | <echo |
| 275 | message="destinationDir: ${destinationDir}"/> |
| 276 | |
| 277 | <p2.mirror |
| 278 | ignoreErrors="true" |
| 279 | verbose="true" |
david_williams | acd369a | 2010-10-11 13:36:59 +0000 | [diff] [blame^] | 280 | log="${buildDirectory}/${buildLabel}/finalMirror-unittestrepository.log"> |
david_williams | a0ca437 | 2010-10-04 20:15:34 +0000 | [diff] [blame] | 281 | |
| 282 | |
| 283 | <destination |
| 284 | kind="metadata" |
| 285 | location="file:/${destinationDir}" |
| 286 | name="Web Tools Platform Repository ${buildLabel}"/> |
| 287 | <destination |
| 288 | kind="artifact" |
| 289 | location="file:/${destinationDir}" |
| 290 | name="Web Tools Platform Repository ${buildLabel}"/> |
| 291 | |
| 292 | |
| 293 | <source> |
| 294 | <repository |
| 295 | location="file:/${buildDirectory}/${buildLabel}/buildrepository/"/> |
| 296 | </source> |
| 297 | |
| 298 | <comparator |
| 299 | comparator="org.eclipse.equinox.p2.repository.tools.jar.comparator" |
| 300 | comparatorLog="${buildDirectory}/${buildLabel}/comparator.log"> |
| 301 | <repository |
| 302 | location="file:/${baseComparatorRepoDir}"/> |
| 303 | <exclude> |
| 304 | <artifact |
| 305 | id="org.eclipse.jpt.eclipselink.ui"/> |
| 306 | <artifact |
| 307 | id="org.eclipse.jpt.ui"/> |
david_williams | a0ca437 | 2010-10-04 20:15:34 +0000 | [diff] [blame] | 308 | <artifact |
| 309 | id="org.eclipse.jst.jsp.core.tests"/> |
| 310 | </exclude> |
| 311 | </comparator> |
| 312 | |
| 313 | <slicingoptions |
david_williams | 3c47de3 | 2010-10-05 06:34:50 +0000 | [diff] [blame] | 314 | followStrict="true" |
| 315 | includeNonGreedy="false" |
| 316 | includeOptional="false"/> |
david_williams | 49f39c5 | 2010-06-08 10:57:04 +0000 | [diff] [blame] | 317 | |
david_williams | 3c47de3 | 2010-10-05 06:34:50 +0000 | [diff] [blame] | 318 | <!-- |
| 319 | Specify category and let it pull in its features. |
| 320 | --> |
david_williams | e93df37 | 2010-09-13 03:53:24 +0000 | [diff] [blame] | 321 | <iu |
david_williams | 3c47de3 | 2010-10-05 06:34:50 +0000 | [diff] [blame] | 322 | query="property[@name='org.eclipse.equinox.p2.name' and (@value='Web Tools Platform Tests (WTP Tests) ${buildId}')]"/> |
| 323 | |
david_williams | f850edc | 2010-09-12 02:48:12 +0000 | [diff] [blame] | 324 | |
david_williams | e93df37 | 2010-09-13 03:53:24 +0000 | [diff] [blame] | 325 | </p2.mirror> |
david_williams | 3c47de3 | 2010-10-05 06:34:50 +0000 | [diff] [blame] | 326 | |
| 327 | <!-- create archived repo from contents of 'repository' at this point --> |
david_williams | 062d2f2 | 2010-10-04 23:51:53 +0000 | [diff] [blame] | 328 | <property |
| 329 | name="zippedtestsrepo" |
| 330 | value="${build.distribution}-and-tests-repo-${buildLabel}.zip"/> |
david_williams | a0ca437 | 2010-10-04 20:15:34 +0000 | [diff] [blame] | 331 | <zip |
david_williams | f8cac6d | 2010-10-04 22:18:26 +0000 | [diff] [blame] | 332 | destfile="${buildDirectory}/${buildLabel}/${zippedtestsrepo}" |
david_williams | a0ca437 | 2010-10-04 20:15:34 +0000 | [diff] [blame] | 333 | basedir="${buildDirectory}/${buildLabel}/repository"/> |
david_williams | 062d2f2 | 2010-10-04 23:51:53 +0000 | [diff] [blame] | 334 | |
david_williams | a0ca437 | 2010-10-04 20:15:34 +0000 | [diff] [blame] | 335 | <ant |
| 336 | antfile="${wtp.builder.home}/scripts/build/buildutilitiesp2.xml" |
| 337 | target="createChecksums"> |
| 338 | <property |
| 339 | name="archiveName" |
david_williams | f8cac6d | 2010-10-04 22:18:26 +0000 | [diff] [blame] | 340 | value="${zippedtestsrepo}"/> |
david_williams | a0ca437 | 2010-10-04 20:15:34 +0000 | [diff] [blame] | 341 | </ant> |
david_williams | 062d2f2 | 2010-10-04 23:51:53 +0000 | [diff] [blame] | 342 | |
david_williams | 3c47de3 | 2010-10-05 06:34:50 +0000 | [diff] [blame] | 343 | |
| 344 | |
david_williams | e93df37 | 2010-09-13 03:53:24 +0000 | [diff] [blame] | 345 | </target> |
david_williams | 3c47de3 | 2010-10-05 06:34:50 +0000 | [diff] [blame] | 346 | |
david_williams | 49f39c5 | 2010-06-08 10:57:04 +0000 | [diff] [blame] | 347 | </project> |