Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 285333 | Differences between
and this patch

Collapse All | Expand All

(-)buildAll.xml (-381 / +417 lines)
Lines 212-332 Link Here
212
212
213
		<!-- <p2.process.artifacts repositoryPath="file://${reposource}" /> -->
213
		<!-- <p2.process.artifacts repositoryPath="file://${reposource}" /> -->
214
		<p2.process.artifacts repositoryPath="file://${reposource}" pack="true" />
214
		<p2.process.artifacts repositoryPath="file://${reposource}" pack="true" />
215
216
	</target>
215
	</target>
217
216
218
	<target name="waitForChangedAttribs" unless="attribs.changed">
217
	<target name="waitForChangedAttribs" unless="attribs.changed">
219
		<antcall target="compareAttribs" inheritAll="false">
218
		<antcall target="compareAttribs" inheritAll="false">
220
			<param name="originalAttribs" value="${originalAttribs}" />
219
			<param name="originalAttribs" value="${originalAttribs}" />
220
			<param name="signpoll" value="${signpoll}" />
221
		</antcall>
221
		</antcall>
222
	</target>
222
	</target>
223
223
224
	<target name="compareAttribs">
224
	<target name="compareAttribs">
225
		<!--poll file for change in attributes-->
225
		<!--poll file for change in attributes-->
226
		<exec dir="${buildDirectory}" executable="ssh" outputProperty="polledAttribs">
226
		<exec dir="${buildDirectory}" executable="${signpoll}" outputProperty="polledAttribs">
227
			<arg line="${sshline}" />
227
				<arg line="${signpollline}" />
228
		</exec>
228
			</exec>
229
		<echo message="original:  ${originalAttribs}" />
229
			<echo message="original:  ${originalAttribs}" />
230
		<condition property="attribChanged">
230
			<condition property="attribChanged">
231
			<and>
231
				<and>
232
				<not>
233
					<contains string="${polledAttribs}" substring="Permission denied, please try again." casesensitive="no" />
234
				</not>
235
				<not>
236
					<contains string="${polledAttribs}" substring="Host key verification failed." casesensitive="no" />
237
				</not>
238
				<or>
239
					<not>
232
					<not>
240
						<contains string="${polledAttribs}" substring="No such file or directory" casesensitive="no" />
233
						<contains string="${polledAttribs}" substring="Permission denied, please try again." casesensitive="no" />
241
					</not>
234
					</not>
242
					<contains string="${polledAttribs}" substring="bash: line 0: cd:" casesensitive="no" />
235
					<not>
243
				</or>
236
						<contains string="${polledAttribs}" substring="Host key verification failed." casesensitive="no" />
244
			</and>
237
					</not>
245
		</condition>
238
					<or>
246
		<echo message="polled:  ${polledAttribs}" />
239
						<not>
247
		<antcall target="writeDiffResult" />
240
							<contains string="${polledAttribs}" substring="No such file or directory" casesensitive="no" />
248
		<sleep seconds="120" />
241
						</not>
249
		<available property="attribs.changed" file="${buildDirectory}/attribDiff.txt" />
242
						<contains string="${polledAttribs}" substring="bash: line 0: cd:" casesensitive="no" />
250
		<antcall target="waitForChangedAttribs" />
243
					</or>
251
	</target>
244
				</and>
252
245
			</condition>
253
	<target name="writeDiffResult" if="attribChanged">
246
			<echo message="polled:  ${polledAttribs}" />
254
		<echo message="original: ${originalAttribs}" file="${buildDirectory}/attribDiff.txt" />
247
			<antcall target="writeDiffResult" />
255
		<echo message="new: ${polledAttribs}" file="${buildDirectory}/attribDiff.txt" append="true" />
248
			<sleep seconds="120" />
256
	</target>
249
			<available property="attribs.changed" file="${buildDirectory}/attribDiff.txt" />
257
250
			<antcall target="waitForChangedAttribs" />
258
	<target name="updatePackProperties">
251
		</target>
259
		<!--exclude pre-built Orbit bundles from being signed and packed-->
252
260
		<property name="packproperties" value="${buildDirectory}/updatePackProperties.txt" />
253
		<target name="writeDiffResult" if="attribChanged">
261
		<generateExcludeList mapFile="${buildDirectory}/maps/org.eclipse.releng/maps/orbit.map" outputFile="${packproperties}" />
254
			<echo message="original: ${originalAttribs}" file="${buildDirectory}/attribDiff.txt" />
262
		<loadfile property="pack.properties" srcFile="${packproperties}" />
255
			<echo message="new: ${polledAttribs}" file="${buildDirectory}/attribDiff.txt" append="true" />
263
		<delete file="${packproperties}" failonerror="false" />
256
		</target>
264
		<replace file="${eclipse.build.configs}/../../extras/pack.properties" token="@excludejars@" value="${pack.properties}" />
257
265
		<property name="archiveName" value="eclipse-master-${buildId}.zip" />
258
		<target name="updatePackProperties">
266
		<!-- add pack.properties file that specifies effort level -->
259
			<!--exclude pre-built Orbit bundles from being signed and packed-->
267
		<exec dir="${eclipse.build.configs}/../../extras" executable="zip">
260
			<property name="packproperties" value="${buildDirectory}/updatePackProperties.txt" />
268
			<arg line="-r ${buildDirectory}/${buildLabel}/${archiveName} pack.properties" />
261
			<generateExcludeList mapFile="${buildDirectory}/maps/org.eclipse.releng/maps/orbit.map" outputFile="${packproperties}" />
269
		</exec>
262
			<loadfile property="pack.properties" srcFile="${packproperties}" />
270
	</target>
263
			<delete file="${packproperties}" failonerror="false" />
271
264
			<replace file="${eclipse.build.configs}/../../extras/pack.properties" token="@excludejars@" value="${pack.properties}" />
272
265
			<property name="archiveName" value="eclipse-master-${buildId}.zip" />
273
	<target name="signMasterFeature" if="sign">
266
			<!-- add pack.properties file that specifies effort level -->
274
		<property name="packtmp" value="${buildDirectory}/packtmp" />
267
			<exec dir="${eclipse.build.configs}/../../extras" executable="zip">
275
		<property name="stagingDirectoryOutput" value="/home/data/httpd/download-staging.priv/eclipse/${buildId}-out" />
268
				<arg line="-r ${buildDirectory}/${buildLabel}/${archiveName} pack.properties" />
276
		<property name="stagingDirectory" value="/home/data/httpd/download-staging.priv/eclipse" />
269
			</exec>
277
		<property name="archiveName" value="eclipse-master-${buildId}.zip" />
270
		</target>
278
		<property name="outputFile" value="${stagingDirectoryOutput}/${archiveName}" />
271
279
		<mkdir dir="${packtmp}" />
272
		<target name="signMasterFeature" if="sign">
280
		<move file="${buildDirectory}/${buildLabel}/${archiveName}" tofile="${packtmp}/${archiveName}" />
273
			<property name="packtmp" value="${buildDirectory}/packtmp" />
281
274
			<property name="stagingDirectoryOutput" value="/home/data/httpd/download-staging.priv/eclipse/${buildId}-out" />
282
		<!--push drop to staging directory-->
275
			<property name="stagingDirectory" value="/home/data/httpd/download-staging.priv/eclipse" />
283
		<echo message="push drop to staging directory" />
276
			<property name="archiveName" value="eclipse-master-${buildId}.zip" />
284
		<exec dir="${packtmp}" executable="scp" output="signing.txt">
277
			<property name="outputFile" value="${stagingDirectoryOutput}/${archiveName}" />
285
			<arg line="${archiveName} build.eclipse.org:${stagingDirectory}" />
278
			<mkdir dir="${packtmp}" />
286
		</exec>
279
			<move file="${buildDirectory}/${buildLabel}/${archiveName}" tofile="${packtmp}/${archiveName}" />
287
		<exec dir="${buildDirectory}" executable="ssh" output="signing.txt" append="true">
280
288
			<arg line="build.eclipse.org /bin/chmod ugo+rw ${stagingDirectory}/${archiveName} " />
281
			<!--push drop to staging directory-->
289
		</exec>
282
			<echo message="push drop to staging directory" />
290
283
291
		<!--invoke sign script and wait-->
284
			<condition property="signcopy" value="cp">
292
		<echo message="invoke sign script and wait" />
285
				<equals arg1="${hudson}" arg2="true" />
293
		<exec dir="." executable="ssh" output="signing.txt" append="true">
286
			</condition>
294
			<arg line="build.eclipse.org &quot;cd ${stagingDirectory}; /usr/bin/sign ${stagingDirectory}/${archiveName} mail ${stagingDirectoryOutput}&quot;" />
287
			<property name="signcopy" value="scp" />
295
		</exec>
288
296
289
			<condition property="signexec" value="/bin/bash">
297
		<!--Wait for build to be available -->
290
				<equals arg1="${hudson}" arg2="true" />
298
		<antcall target="waitForChangedAttribs">
291
			</condition>
299
			<param name="sshline" value="build.eclipse.org &quot;cd ${stagingDirectoryOutput};ls ${archiveName}&quot;" />
292
			<property name="signexec" value="ssh" />
300
		</antcall>
293
301
294
			<condition property="signhost" value="">
302
		<!--copy zip back to build machine -->
295
				<equals arg1="${hudson}" arg2="true" />
303
		<sleep minutes="2" />
296
			</condition>
304
		<echo message="copy zip back to build machine" />
297
			<property name="signhost" value="build.eclipse.org" />
305
		<exec dir="." executable="scp" output="signing.txt" append="true">
298
306
			<arg line="build.eclipse.org:${stagingDirectory}/${buildId}-out/${archiveName} ${buildDirectory}/${buildLabel}" />
299
			<condition property="signdelimiter" value="">
307
		</exec>
300
				<equals arg1="${hudson}" arg2="true" />
308
301
			</condition>
309
		<!--delete files on build.eclipse.org-->
302
			<property name="signdelimiter" value=":" />
310
		<echo message="delete temp files on build.eclipse.org" />
303
311
		<exec dir="." executable="ssh" output="signing.txt" append="true">
304
			<condition property="signquote" value="">
312
			<arg line="build.eclipse.org &quot;/bin/rm -rf ${stagingDirectory}/${buildId}-out ${stagingDirectory}/${archiveName}&quot;" />
305
				<equals arg1="${hudson}" arg2="true" />
313
		</exec>
306
			</condition>
314
	</target>
307
			<property name="signquote" value="&quot;" />
315
308
316
309
			<condition property="signpoll" value="ls">
317
	<target name="testEclipse">
310
				<equals arg1="${hudson}" arg2="true" />
318
		<parallel>
311
			</condition>
319
			<ant antfile="eclipse/helper.xml" target="testAll" />
312
			<property name="signpoll" value="ssh" />
320
		</parallel>
313
321
	</target>
314
			<exec dir="${packtmp}" executable="${signcopy}" output="signing.txt">
322
315
				<arg line="${archiveName} ${signhost}${signdelimiter}${stagingDirectory}" />
323
	<target name="apiTooling">
316
			</exec>
324
		<property name="reference" value="${buildDirectory}/apitooolingreference" />
317
325
		<mkdir dir="${reference}" />
318
			<exec dir="${buildDirectory}" executable="${signexec}" output="signing.txt" append="true">
326
		<property name="report" value="${postingDirectory}/${buildLabel}/apitools" />
319
				<arg line="${signhost} /bin/chmod ugo+rw ${stagingDirectory}/${archiveName}" />
327
		<mkdir dir="${report}" />
320
			</exec>
328
		<property name="current_location" value="${postingDirectory}/${buildLabel}/eclipse-SDK-${buildId}-win32.zip" />
321
329
		<!--		<property name="reference_location" value="${reference}/eclipse-SDK-3.5M6-win32.zip" />
322
			<!--invoke sign script and wait-->
323
			<echo message="invoke sign script and wait" />
324
			<exec dir="." executable="${signexec}" output="signing.txt" append="true">
325
				<arg line="${signhost} ${signquote}/usr/bin/sign ${stagingDirectory}/${archiveName} mail ${stagingDirectoryOutput}${signquote}" />
326
			</exec>
327
328
			<!--Wait for build to be available -->
329
			<condition property="signpollline" value="${stagingDirectoryOutput}/${archiveName}">
330
				<equals arg1="${hudson}" arg2="true" />
331
			</condition>
332
			<property name="signpollline" value="${signhost} ${signquote}ls ${stagingDirectoryOutput}/${archiveName}" />
333
334
			<antcall target="waitForChangedAttribs">
335
				<param name="signpoll" value="${signpoll}" />
336
				<param name="signpollline" value="${signpollline}" />
337
			</antcall>
338
339
			<!--copy zip back to build machine -->
340
			<sleep minutes="2" />
341
			<echo message="copy zip back to build machine" />
342
			<exec dir="." executable="${signcopy}" output="signing.txt" append="true">
343
				<arg line="${signhost}${signdelimiter}${stagingDirectory}/${buildId}-out/${archiveName} ${buildDirectory}/${buildLabel}" />
344
			</exec>
345
346
			<!--delete files on build.eclipse.org-->
347
			<echo message="delete temp files on build.eclipse.org" />
348
			<exec dir="." executable="${signexec}" output="signing.txt" append="true">
349
				<arg line="${signhost} ${signquote}/bin/rm -rf ${stagingDirectory}/${buildId}-out ${stagingDirectory}/${archiveName}${signquote}" />
350
			</exec>
351
		</target>
352
353
		<target name="testEclipse">
354
			<parallel>
355
				<ant antfile="eclipse/helper.xml" target="testAll" />
356
			</parallel>
357
		</target>
358
359
		<target name="apiTooling">
360
			<property name="reference" value="${buildDirectory}/apitooolingreference" />
361
			<mkdir dir="${reference}" />
362
			<property name="report" value="${postingDirectory}/${buildLabel}/apitools" />
363
			<mkdir dir="${report}" />
364
			<property name="current_location" value="${postingDirectory}/${buildLabel}/eclipse-SDK-${buildId}-win32.zip" />
365
			<!--		<property name="reference_location" value="${reference}/eclipse-SDK-3.5M6-win32.zip" />
330
		<exec executable="/usr/bin/wget" dir="${reference}" output="${reference}/error.txt" failonerror="false" os="Linux">
366
		<exec executable="/usr/bin/wget" dir="${reference}" output="${reference}/error.txt" failonerror="false" os="Linux">
331
			<arg line="-q -O  ${reference_location} http://fullmoon.ottawa.ibm.com/downloads/drops/S-3.5M6-200903130100/eclipse-SDK-3.5M6-win32.zip" />
367
			<arg line="-q -O  ${reference_location} http://fullmoon.ottawa.ibm.com/downloads/drops/S-3.5M6-200903130100/eclipse-SDK-3.5M6-win32.zip" />
332
		</exec>
368
		</exec>
Lines 337-625 Link Here
337
		<property name="exclude_list_location" value="${buildDirectory}/maps/org.eclipse.releng/apiexclude/exclude_list.txt" />
373
		<property name="exclude_list_location" value="${buildDirectory}/maps/org.eclipse.releng/apiexclude/exclude_list.txt" />
338
		<property name="exclude_list_external_location" value="${buildDirectory}/maps/org.eclipse.releng/apiexclude/exclude_list_external.txt" />
374
		<property name="exclude_list_external_location" value="${buildDirectory}/maps/org.eclipse.releng/apiexclude/exclude_list_external.txt" />
339
		<apitooling.apifreeze baseline="${reference_location}" profile="${current_location}" report="${report_location}" excludelist="${exclude_list_location}" debug="true" /> -->
375
		<apitooling.apifreeze baseline="${reference_location}" profile="${current_location}" report="${report_location}" excludelist="${exclude_list_location}" debug="true" /> -->
340
		<!-- html report will be dumped at the same location as the xml report -->
376
			<!-- html report will be dumped at the same location as the xml report -->
341
		<!--	<apitooling.apifreeze_reportconversion xmlfile="${report_location}" debug="true" /> -->
377
			<!--	<apitooling.apifreeze_reportconversion xmlfile="${report_location}" debug="true" /> -->
342
		<property name="filter_store" value="${buildDirectory}/apifilters" />
378
			<property name="filter_store" value="${buildDirectory}/apifilters" />
343
		<mkdir dir="${filter_store}" />
379
			<mkdir dir="${filter_store}" />
344
380
345
		<copy todir="${filter_store}">
381
			<copy todir="${filter_store}">
346
			<fileset dir="${buildDirectory}/plugins" includes="**/.settings/.api_filters" />
382
				<fileset dir="${buildDirectory}/plugins" includes="**/.settings/.api_filters" />
347
			<regexpmapper from="^(org.eclipse.*\/)(\.settings\/)(\.api_filters)" to="\1\3" />
383
				<regexpmapper from="^(org.eclipse.*\/)(\.settings\/)(\.api_filters)" to="\1\3" />
348
		</copy>
384
			</copy>
349
		<property name="apifilterzip" value="${report}/apifilters-${buildId}.zip" />
385
			<property name="apifilterzip" value="${report}/apifilters-${buildId}.zip" />
350
		<exec executable="zip" dir="${report}">
386
			<exec executable="zip" dir="${report}">
351
			<arg line="-r ${apifilterzip} ${filter_store}" />
387
				<arg line="-r ${apifilterzip} ${filter_store}" />
352
		</exec>
388
			</exec>
353
		<property name="html_directory_location" value="${report}/apitoolsverifications/html" />
389
			<property name="html_directory_location" value="${report}/apitoolsverifications/html" />
354
		<property name="report_directory_location" value="${report}/apitoolsverifications/xml" />
390
			<property name="report_directory_location" value="${report}/apitoolsverifications/xml" />
355
		<property name="3_4_reference_location" value="${reference}/eclipse-SDK-3.4-win32.zip" />
391
			<property name="3_4_reference_location" value="${reference}/eclipse-SDK-3.4-win32.zip" />
356
		<exec executable="/usr/bin/wget" dir="${reference}" output="${reference}/error.txt" failonerror="false" os="Linux">
392
			<exec executable="/usr/bin/wget" dir="${reference}" output="${reference}/error.txt" failonerror="false" os="Linux">
357
			<arg line="-q -O  ${3_4_reference_location} http://fullmoon.ottawa.ibm.com/downloads/drops/R-3.5-200906111540/eclipse-SDK-3.5-win32.zip" />
393
				<arg line="-q -O  ${3_4_reference_location} http://fullmoon.ottawa.ibm.com/downloads/drops/R-3.5-200906111540/eclipse-SDK-3.5-win32.zip" />
358
		</exec>
394
			</exec>
359
		<apitooling.analysis baseline="${3_4_reference_location}" profile="${current_location}" report="${report_directory_location}" filters="${filter_store}" excludelist="${exclude_list_external_location}" debug="true" />
395
			<apitooling.analysis baseline="${3_4_reference_location}" profile="${current_location}" report="${report_directory_location}" filters="${filter_store}" excludelist="${exclude_list_external_location}" debug="true" />
360
		<apitooling.analysis_reportconversion xmlfiles="${report_directory_location}" debug="true" htmlfiles="${html_directory_location}" />
396
			<apitooling.analysis_reportconversion xmlfiles="${report_directory_location}" debug="true" htmlfiles="${html_directory_location}" />
361
	</target>
397
		</target>
362
398
363
	<target name="publishEclipse">
399
		<target name="publishEclipse">
364
		<parallel>
400
			<parallel>
365
			<ant antfile="eclipse/helper.xml" target="rSyncWithSnzZrh" />
401
				<ant antfile="eclipse/helper.xml" target="rSyncWithSnzZrh" />
366
			<sequential>
402
				<sequential>
367
				<ant antfile="eclipse/helper.xml" target="buildStandAloneSWT" />
403
					<ant antfile="eclipse/helper.xml" target="buildStandAloneSWT" />
368
				<ant antfile="eclipse/helper.xml" target="publish" />
404
					<ant antfile="eclipse/helper.xml" target="publish" />
369
			</sequential>
405
				</sequential>
370
		</parallel>
406
			</parallel>
371
	</target>
407
		</target>
372
408
373
	<target name="publishEquinox">
409
		<target name="publishEquinox">
374
		<ant antfile="${equinox.build.configs}/../helper.xml" target="publish" />
410
			<ant antfile="${equinox.build.configs}/../helper.xml" target="publish" />
375
	</target>
411
		</target>
376
412
377
	<target name="unpackUpdateJarsForPackaging">
413
		<target name="unpackUpdateJarsForPackaging">
378
		<property name="tmpsite" value="${buildDirectory}/tmpsite" />
414
			<property name="tmpsite" value="${buildDirectory}/tmpsite" />
379
		<mkdir dir="${tmpsite}/new/eclipse/features" />
415
			<mkdir dir="${tmpsite}/new/eclipse/features" />
380
		<mkdir dir="${tmpsite}/new/eclipse/plugins" />
416
			<mkdir dir="${tmpsite}/new/eclipse/plugins" />
381
		<exec executable="unzip" dir="${buildDirectory}/${buildLabel}">
417
			<exec executable="unzip" dir="${buildDirectory}/${buildLabel}">
382
			<arg line="-q eclipse-master-${buildId}.zip -d ${tmpsite}" />
418
				<arg line="-q eclipse-master-${buildId}.zip -d ${tmpsite}" />
383
		</exec>
419
			</exec>
384
		<unpackUpdateJars site="${tmpsite}/eclipse" output="${tmpsite}/new/eclipse" />
420
			<unpackUpdateJars site="${tmpsite}/eclipse" output="${tmpsite}/new/eclipse" />
385
		<waitfor maxwait="4" maxwaitunit="hour" checkevery="1" checkeveryunit="minute">
421
			<waitfor maxwait="4" maxwaitunit="hour" checkevery="1" checkeveryunit="minute">
386
			<available file="${buildDirectory}/${buildLabel}/eclipse-master-${buildId}.zip" />
422
				<available file="${buildDirectory}/${buildLabel}/eclipse-master-${buildId}.zip" />
387
		</waitfor>
423
			</waitfor>
388
		<move file="${buildDirectory}/${buildLabel}/eclipse-master-${buildId}.zip" tofile="${buildDirectory}/${buildLabel}/eclipse-master-${buildId}.bak.zip" />
424
			<move file="${buildDirectory}/${buildLabel}/eclipse-master-${buildId}.zip" tofile="${buildDirectory}/${buildLabel}/eclipse-master-${buildId}.bak.zip" />
389
		<exec executable="zip" dir="${tmpsite}/new">
425
			<exec executable="zip" dir="${tmpsite}/new">
390
			<arg line="-q ${buildDirectory}/${buildLabel}/eclipse-master-${buildId}.zip -r eclipse" />
426
				<arg line="-q ${buildDirectory}/${buildLabel}/eclipse-master-${buildId}.zip -r eclipse" />
391
		</exec>
427
			</exec>
392
	</target>
428
		</target>
393
429
430
431
		<target name="packageEclipseDistributables">
432
			<replace token="@qualifier@" file="${eclipse.build.configs}/sdk/builder/sdk.product" value="${buildId}" />
433
			<replace token="@qualifier@" file="${eclipse.build.configs}/platform/platform.product" value="${buildId}" />
434
			<replace token="@qualifier@" file="${eclipse.build.configs}/platform.sdk/platform.product" value="${buildId}" />
435
			<replace token="@qualifier@" file="${buildDirectory}/plugins/org.eclipse.equinox.p2.ui.admin.rcp/rcp.product" value="${buildId}" />
436
			<replace token="@qualifier@" file="${eclipse.build.configs}/rcp/rcp.product" value="${buildId}" />
437
			<replace token="@qualifier@" file="${eclipse.build.configs}/rcp.sdk/rcp.product" value="${buildId}" />
438
			<replace token="@qualifier@" file="${eclipse.build.configs}/rcp.config/feature.xml" value="${buildId}" />
439
			<delete dir="${repo}" />
440
			<mkdir dir="${repo}" />
441
			<delete dir="${reposource}" />
442
			<mkdir dir="${reposource}" />
443
			<exec executable="unzip" dir=".">
444
				<arg line="${buildDirectory}/${buildLabel}/eclipse-master-${buildId}.zip -x */features/master/* */features/master-ecf* */features/master-jetty* */plugins/org.eclipse.swt.tools* */plugins/com.ibm.icu.base* */features/com.ibm.icu.base* -d ${reposource}" />
445
			</exec>
446
			<property name="tempexec" value="${buildDirectory}/tempexec" />
447
			<mkdir dir="${tempexec}" />
448
			<delete dir="${tempexec}" />
449
			<copy todir="${tempexec}">
450
				<fileset dir="${reposource}">
451
					<include name="features/org.eclipse.equinox.executable_*.jar" />
452
				</fileset>
453
			</copy>
454
			<exec executable="unzip" dir="${tempexec}">
455
				<arg line="features/*.jar -d ${tempexec}" />
456
			</exec>
457
458
			<subant antfile="build.xml" target="publish.bin.parts" buildpath="${tempexec}/build.xml">
459
				<property name="p2.gathering" value="true" />
460
				<property name="p2.build.repo" value="file:/${buildDirectoryAbsolute}" />
461
			</subant>
462
463
			<ant target="main" antfile="buildConfiguration.xml" dir="${eclipse.build.configs}/rcp.config" />
464
465
			<p2.publish.product flavor="tooling" repository="file:${reposource}" productFile="${eclipse.build.configs}/sdk/builder/sdk.product" compress="true">
466
				<config os="win32" ws="win32" arch="x86" />
467
				<config os="win32" ws="win32" arch="x86_64" />
468
				<config os="win32" ws="wpf" arch="x86" />
469
				<config os="linux" ws="gtk" arch="x86" />
470
				<config os="linux" ws="gtk" arch="x86_64" />
471
				<config os="linux" ws="gtk" arch="ppc" />
472
				<config os="linux" ws="gtk" arch="s390" />
473
				<config os="linux" ws="gtk" arch="s390x" />
474
				<config os="linux" ws="motif" arch="x86" />
475
				<config os="solaris" ws="gtk" arch="sparc" />
476
				<config os="solaris" ws="gtk" arch="x86" />
477
				<config os="macosx" ws="cocoa" arch="x86" />
478
				<config os="macosx" ws="cocoa" arch="x86_64" />
479
				<config os="macosx" ws="carbon" arch="ppc" />
480
				<config os="macosx" ws="carbon" arch="x86" />
481
				<config os="hpux" ws="motif" arch="ia64_32" />
482
				<config os="aix" ws="motif" arch="ppc" />
483
				<advice kind="featureVersions" file="${buildDirectory}/finalFeaturesVersions.properties" />
484
				<advice kind="pluginVersions" file="${buildDirectory}/finalPluginsVersions.properties" />
485
			</p2.publish.product>
486
487
			<p2.publish.product flavor="tooling" repository="file:${reposource}" productFile="${eclipse.build.configs}/platform/platform.product" compress="true">
488
				<config os="win32" ws="win32" arch="x86" />
489
				<config os="win32" ws="win32" arch="x86_64" />
490
				<config os="win32" ws="wpf" arch="x86" />
491
				<config os="linux" ws="gtk" arch="x86" />
492
				<config os="linux" ws="gtk" arch="x86_64" />
493
				<config os="linux" ws="gtk" arch="ppc" />
494
				<config os="solaris" ws="gtk" arch="sparc" />
495
				<config os="solaris" ws="gtk" arch="x86" />
496
				<config os="macosx" ws="cocoa" arch="x86" />
497
				<config os="macosx" ws="cocoa" arch="x86_64" />
498
				<config os="macosx" ws="carbon" arch="x86" />
499
				<config os="hpux" ws="motif" arch="ia64_32" />
500
				<config os="aix" ws="motif" arch="ppc" />
501
				<advice kind="featureVersions" file="${buildDirectory}/finalFeaturesVersions.properties" />
502
				<advice kind="pluginVersions" file="${buildDirectory}/finalPluginsVersions.properties" />
503
			</p2.publish.product>
504
505
			<p2.publish.product flavor="tooling" repository="file:${reposource}" productFile="${eclipse.build.configs}/platform.sdk/platform.product" compress="true">
506
				<config os="win32" ws="win32" arch="x86" />
507
				<config os="win32" ws="win32" arch="x86_64" />
508
				<config os="win32" ws="wpf" arch="x86" />
509
				<config os="linux" ws="gtk" arch="x86" />
510
				<config os="linux" ws="gtk" arch="x86_64" />
511
				<config os="linux" ws="gtk" arch="ppc" />
512
				<config os="solaris" ws="gtk" arch="sparc" />
513
				<config os="solaris" ws="gtk" arch="x86" />
514
				<config os="macosx" ws="cocoa" arch="x86" />
515
				<config os="macosx" ws="cocoa" arch="x86_64" />
516
				<config os="macosx" ws="carbon" arch="ppc" />
517
				<config os="hpux" ws="motif" arch="ia64_32" />
518
				<config os="aix" ws="motif" arch="ppc" />
519
				<advice kind="featureVersions" file="${buildDirectory}/finalFeaturesVersions.properties" />
520
				<advice kind="pluginVersions" file="${buildDirectory}/finalPluginsVersions.properties" />
521
			</p2.publish.product>
522
523
			<p2.publish.product flavor="tooling" repository="file:${reposource}" productFile="${eclipse.build.configs}/rcp/rcp.product" compress="true">
524
				<config os="win32" ws="win32" arch="x86" />
525
				<config os="win32" ws="win32" arch="x86_64" />
526
				<config os="win32" ws="wpf" arch="x86" />
527
				<config os="linux" ws="gtk" arch="x86" />
528
				<config os="linux" ws="gtk" arch="x86_64" />
529
				<config os="linux" ws="gtk" arch="ppc" />
530
				<config os="linux" ws="gtk" arch="s390" />
531
				<config os="linux" ws="gtk" arch="s390x" />
532
				<config os="solaris" ws="gtk" arch="sparc" />
533
				<config os="solaris" ws="gtk" arch="x86" />
534
				<config os="macosx" ws="cocoa" arch="x86" />
535
				<config os="macosx" ws="cocoa" arch="x86_64" />
536
				<config os="macosx" ws="carbon" arch="x86" />
537
				<config os="hpux" ws="motif" arch="ia64_32" />
538
				<config os="aix" ws="motif" arch="ppc" />
539
				<advice kind="featureVersions" file="${buildDirectory}/finalFeaturesVersions.properties" />
540
				<advice kind="pluginVersions" file="${buildDirectory}/finalPluginsVersions.properties" />
541
			</p2.publish.product>
542
543
			<p2.publish.product flavor="tooling" repository="file:${reposource}" productFile="${eclipse.build.configs}/rcp.sdk/rcp.product" compress="true">
544
				<config os="win32" ws="win32" arch="x86" />
545
				<config os="win32" ws="win32" arch="x86_64" />
546
				<config os="win32" ws="wpf" arch="x86" />
547
				<config os="linux" ws="gtk" arch="x86" />
548
				<config os="linux" ws="gtk" arch="x86_64" />
549
				<config os="linux" ws="gtk" arch="ppc" />
550
				<config os="solaris" ws="gtk" arch="sparc" />
551
				<config os="solaris" ws="gtk" arch="x86" />
552
				<config os="macosx" ws="cocoa" arch="x86" />
553
				<config os="macosx" ws="cocoa" arch="x86_64" />
554
				<config os="macosx" ws="carbon" arch="x86" />
555
				<config os="hpux" ws="motif" arch="ia64_32" />
556
				<config os="aix" ws="motif" arch="ppc" />
557
				<advice kind="featureVersions" file="${buildDirectory}/finalFeaturesVersions.properties" />
558
				<advice kind="pluginVersions" file="${buildDirectory}/finalPluginsVersions.properties" />
559
			</p2.publish.product>
560
561
			<property name="equinox.p2.agent.dir" value="${equinox.build.configs}/equinox.p2.agent" />
562
			<replace file="${equinox.p2.agent.dir}/p2.inf" token="@qualifier@" value="${buildId}" />
563
			<copy todir="${equinox.p2.agent.dir}">
564
				<fileset file="${buildDirectory}/plugins/org.eclipse.equinox.p2.ui.admin.rcp/rcp.product" />
565
			</copy>
566
			<mkdir dir="${equinox.p2.agent.dir}/org.eclipse.equinox.p2.ui.admin.rcp" />
567
			<copy todir="${equinox.p2.agent.dir}/org.eclipse.equinox.p2.ui.admin.rcp">
568
				<fileset file="${buildDirectory}/plugins/org.eclipse.equinox.p2.ui.admin.rcp/config.ini" />
569
			</copy>
570
571
			<p2.publish.product flavor="tooling" repository="file:${reposource}" productFile="${equinox.p2.agent.dir}/rcp.product" compress="true">
572
				<config os="win32" ws="win32" arch="x86" />
573
				<config os="linux" ws="gtk" arch="x86" />
574
				<config os="macosx" ws="cocoa" arch="x86" />
575
			</p2.publish.product>
394
576
395
	<target name="packageEclipseDistributables">
577
			<antcall target="packMasterFeature" />
396
		<replace token="@qualifier@" file="${eclipse.build.configs}/sdk/builder/sdk.product" value="${buildId}" />
397
		<replace token="@qualifier@" file="${eclipse.build.configs}/platform/platform.product" value="${buildId}" />
398
		<replace token="@qualifier@" file="${eclipse.build.configs}/platform.sdk/platform.product" value="${buildId}" />
399
		<replace token="@qualifier@" file="${buildDirectory}/plugins/org.eclipse.equinox.p2.ui.admin.rcp/rcp.product" value="${buildId}" />
400
		<replace token="@qualifier@" file="${eclipse.build.configs}/rcp/rcp.product" value="${buildId}" />
401
		<replace token="@qualifier@" file="${eclipse.build.configs}/rcp.sdk/rcp.product" value="${buildId}" />
402
		<replace token="@qualifier@" file="${eclipse.build.configs}/rcp.config/feature.xml" value="${buildId}" />
403
		<delete dir="${repo}" />
404
		<mkdir dir="${repo}" />
405
		<delete dir="${reposource}" />
406
		<mkdir dir="${reposource}" />
407
		<exec executable="unzip" dir=".">
408
			<arg line="${buildDirectory}/${buildLabel}/eclipse-master-${buildId}.zip -x */features/master/* */features/master-ecf* */features/master-jetty* */plugins/org.eclipse.swt.tools* */plugins/com.ibm.icu.base* */features/com.ibm.icu.base* -d ${reposource}" />
409
		</exec>
410
		<property name="tempexec" value="${buildDirectory}/tempexec" />
411
		<mkdir dir="${tempexec}" />
412
		<delete dir="${tempexec}" />
413
		<copy todir="${tempexec}">
414
			<fileset dir="${reposource}">
415
				<include name="features/org.eclipse.equinox.executable_*.jar" />
416
			</fileset>
417
		</copy>
418
		<exec executable="unzip" dir="${tempexec}">
419
			<arg line="features/*.jar -d ${tempexec}" />
420
		</exec>
421
578
422
		<subant antfile="build.xml" target="publish.bin.parts" buildpath="${tempexec}/build.xml">
579
			<mkdir dir="${buildRepo}" />
423
			<property name="p2.gathering" value="true" />
580
			<!--		<p2.mirror source="file:${reposource}" ignoreErrors="true" log="${buildlogs}/mirrorlog.txt">
424
			<property name="p2.build.repo" value="file:/${buildDirectoryAbsolute}" />
425
		</subant>
426
427
		<ant target="main" antfile="buildConfiguration.xml" dir="${eclipse.build.configs}/rcp.config" />
428
429
		<p2.publish.product flavor="tooling" repository="file:${reposource}" productFile="${eclipse.build.configs}/sdk/builder/sdk.product" compress="true">
430
			<config os="win32" ws="win32" arch="x86" />
431
			<config os="win32" ws="win32" arch="x86_64" />
432
			<config os="win32" ws="wpf" arch="x86" />
433
			<config os="linux" ws="gtk" arch="x86" />
434
			<config os="linux" ws="gtk" arch="x86_64" />
435
			<config os="linux" ws="gtk" arch="ppc" />
436
			<config os="linux" ws="gtk" arch="s390" />
437
			<config os="linux" ws="gtk" arch="s390x" />
438
			<config os="linux" ws="motif" arch="x86" />
439
			<config os="solaris" ws="gtk" arch="sparc" />
440
			<config os="solaris" ws="gtk" arch="x86" />
441
			<config os="macosx" ws="cocoa" arch="x86" />
442
			<config os="macosx" ws="cocoa" arch="x86_64" />
443
			<config os="macosx" ws="carbon" arch="ppc" />
444
			<config os="macosx" ws="carbon" arch="x86" />
445
			<config os="hpux" ws="motif" arch="ia64_32" />
446
			<config os="aix" ws="motif" arch="ppc" />
447
			<advice kind="featureVersions" file="${buildDirectory}/finalFeaturesVersions.properties" />
448
			<advice kind="pluginVersions" file="${buildDirectory}/finalPluginsVersions.properties" />
449
		</p2.publish.product>
450
451
		<p2.publish.product flavor="tooling" repository="file:${reposource}" productFile="${eclipse.build.configs}/platform/platform.product" compress="true">
452
			<config os="win32" ws="win32" arch="x86" />
453
			<config os="win32" ws="win32" arch="x86_64" />
454
			<config os="win32" ws="wpf" arch="x86" />
455
			<config os="linux" ws="gtk" arch="x86" />
456
			<config os="linux" ws="gtk" arch="x86_64" />
457
			<config os="linux" ws="gtk" arch="ppc" />
458
			<config os="solaris" ws="gtk" arch="sparc" />
459
			<config os="solaris" ws="gtk" arch="x86" />
460
			<config os="macosx" ws="cocoa" arch="x86" />
461
			<config os="macosx" ws="cocoa" arch="x86_64" />
462
			<config os="macosx" ws="carbon" arch="x86" />
463
			<config os="hpux" ws="motif" arch="ia64_32" />
464
			<config os="aix" ws="motif" arch="ppc" />
465
			<advice kind="featureVersions" file="${buildDirectory}/finalFeaturesVersions.properties" />
466
			<advice kind="pluginVersions" file="${buildDirectory}/finalPluginsVersions.properties" />
467
		</p2.publish.product>
468
469
		<p2.publish.product flavor="tooling" repository="file:${reposource}" productFile="${eclipse.build.configs}/platform.sdk/platform.product" compress="true">
470
			<config os="win32" ws="win32" arch="x86" />
471
			<config os="win32" ws="win32" arch="x86_64" />
472
			<config os="win32" ws="wpf" arch="x86" />
473
			<config os="linux" ws="gtk" arch="x86" />
474
			<config os="linux" ws="gtk" arch="x86_64" />
475
			<config os="linux" ws="gtk" arch="ppc" />
476
			<config os="solaris" ws="gtk" arch="sparc" />
477
			<config os="solaris" ws="gtk" arch="x86" />
478
			<config os="macosx" ws="cocoa" arch="x86" />
479
			<config os="macosx" ws="cocoa" arch="x86_64" />
480
			<config os="macosx" ws="carbon" arch="ppc" />
481
			<config os="hpux" ws="motif" arch="ia64_32" />
482
			<config os="aix" ws="motif" arch="ppc" />
483
			<advice kind="featureVersions" file="${buildDirectory}/finalFeaturesVersions.properties" />
484
			<advice kind="pluginVersions" file="${buildDirectory}/finalPluginsVersions.properties" />
485
		</p2.publish.product>
486
487
		<p2.publish.product flavor="tooling" repository="file:${reposource}" productFile="${eclipse.build.configs}/rcp/rcp.product" compress="true">
488
			<config os="win32" ws="win32" arch="x86" />
489
			<config os="win32" ws="win32" arch="x86_64" />
490
			<config os="win32" ws="wpf" arch="x86" />
491
			<config os="linux" ws="gtk" arch="x86" />
492
			<config os="linux" ws="gtk" arch="x86_64" />
493
			<config os="linux" ws="gtk" arch="ppc" />
494
			<config os="linux" ws="gtk" arch="s390" />
495
			<config os="linux" ws="gtk" arch="s390x" />
496
			<config os="solaris" ws="gtk" arch="sparc" />
497
			<config os="solaris" ws="gtk" arch="x86" />
498
			<config os="macosx" ws="cocoa" arch="x86" />
499
			<config os="macosx" ws="cocoa" arch="x86_64" />
500
			<config os="macosx" ws="carbon" arch="x86" />
501
			<config os="hpux" ws="motif" arch="ia64_32" />
502
			<config os="aix" ws="motif" arch="ppc" />
503
			<advice kind="featureVersions" file="${buildDirectory}/finalFeaturesVersions.properties" />
504
			<advice kind="pluginVersions" file="${buildDirectory}/finalPluginsVersions.properties" />
505
		</p2.publish.product>
506
507
		<p2.publish.product flavor="tooling" repository="file:${reposource}" productFile="${eclipse.build.configs}/rcp.sdk/rcp.product" compress="true">
508
			<config os="win32" ws="win32" arch="x86" />
509
			<config os="win32" ws="win32" arch="x86_64" />
510
			<config os="win32" ws="wpf" arch="x86" />
511
			<config os="linux" ws="gtk" arch="x86" />
512
			<config os="linux" ws="gtk" arch="x86_64" />
513
			<config os="linux" ws="gtk" arch="ppc" />
514
			<config os="solaris" ws="gtk" arch="sparc" />
515
			<config os="solaris" ws="gtk" arch="x86" />
516
			<config os="macosx" ws="cocoa" arch="x86" />
517
			<config os="macosx" ws="cocoa" arch="x86_64" />
518
			<config os="macosx" ws="carbon" arch="x86" />
519
			<config os="hpux" ws="motif" arch="ia64_32" />
520
			<config os="aix" ws="motif" arch="ppc" />
521
			<advice kind="featureVersions" file="${buildDirectory}/finalFeaturesVersions.properties" />
522
			<advice kind="pluginVersions" file="${buildDirectory}/finalPluginsVersions.properties" />
523
		</p2.publish.product>
524
525
		<property name="equinox.p2.agent.dir" value="${equinox.build.configs}/equinox.p2.agent" />
526
		<replace file="${equinox.p2.agent.dir}/p2.inf" token="@qualifier@" value="${buildId}" />
527
		<copy todir="${equinox.p2.agent.dir}">
528
			<fileset file="${buildDirectory}/plugins/org.eclipse.equinox.p2.ui.admin.rcp/rcp.product" />
529
		</copy>
530
		<mkdir dir="${equinox.p2.agent.dir}/org.eclipse.equinox.p2.ui.admin.rcp" />
531
		<copy todir="${equinox.p2.agent.dir}/org.eclipse.equinox.p2.ui.admin.rcp">
532
			<fileset file="${buildDirectory}/plugins/org.eclipse.equinox.p2.ui.admin.rcp/config.ini" />
533
		</copy>
534
535
		<p2.publish.product flavor="tooling" repository="file:${reposource}" productFile="${equinox.p2.agent.dir}/rcp.product" compress="true">
536
			<config os="win32" ws="win32" arch="x86" />
537
			<config os="linux" ws="gtk" arch="x86" />
538
			<config os="macosx" ws="cocoa" arch="x86" />
539
		</p2.publish.product>
540
541
		<antcall target="packMasterFeature" />
542
543
		<mkdir dir="${buildRepo}" />
544
		<!--		<p2.mirror source="file:${reposource}" ignoreErrors="true" log="${buildlogs}/mirrorlog.txt">
545
			<destination compressed="true" name="${p2.repo.name}" location="file:${buildRepo}" append="true" />
581
			<destination compressed="true" name="${p2.repo.name}" location="file:${buildRepo}" append="true" />
546
			<comparator comparatorId="org.eclipse.equinox.p2.repository.tools.jar.comparator" comparatorLog="${buildlogs}/comparatorlog.txt">
582
			<comparator comparatorId="org.eclipse.equinox.p2.repository.tools.jar.comparator" comparatorLog="${buildlogs}/comparatorlog.txt">
547
				<repository location="file:${updateSite}" />
583
				<repository location="file:${updateSite}" />
548
			</comparator>
584
			</comparator>
549
		</p2.mirror> -->
585
		</p2.mirror> -->
550
		<p2.metadata.mirror source="file:${reposource}" writeMode="append" destinationName="${p2.repo.name}" destination="file:${buildRepo}" />
586
			<p2.metadata.mirror source="file:${reposource}" writeMode="append" destinationName="${p2.repo.name}" destination="file:${buildRepo}" />
551
		<p2.artifact.mirror source="file:${reposource}" baseline="file:${updateSite}" comparatorId="org.eclipse.equinox.p2.repository.tools.jar.comparator" destinationName="${p2.repo.name}" destination="file:${buildRepo}" ignoreErrors="true" comparatorLog="${buildlogs}/comparatorlog.txt" log="${buildlogs}/mirrorlog.txt" />
587
			<p2.artifact.mirror source="file:${reposource}" baseline="file:${updateSite}" comparatorId="org.eclipse.equinox.p2.repository.tools.jar.comparator" destinationName="${p2.repo.name}" destination="file:${buildRepo}" ignoreErrors="true" comparatorLog="${buildlogs}/comparatorlog.txt" log="${buildlogs}/mirrorlog.txt" />
552
		<copy todir="${buildRepo}">
588
			<copy todir="${buildRepo}">
553
			<fileset file="${eclipse.build.configs}/../../extras/sdkinstaller.properties" />
589
				<fileset file="${eclipse.build.configs}/../../extras/sdkinstaller.properties" />
554
		</copy>
590
			</copy>
555
591
556
		<!--try create composite repository-->
592
			<!--try create composite repository-->
557
		<p2.composite.artifact.repository.create location="file://${updateSite}" name="${p2.repo.name}" compressed="true" failOnExists="false" />
593
			<p2.composite.artifact.repository.create location="file://${updateSite}" name="${p2.repo.name}" compressed="true" failOnExists="false" />
558
		<p2.composite.metadata.repository.create location="file://${updateSite}" name="${p2.repo.name}" compressed="true" failOnExists="false" />
594
			<p2.composite.metadata.repository.create location="file://${updateSite}" name="${p2.repo.name}" compressed="true" failOnExists="false" />
559
595
560
		<!--add childRepo to composite repo-->
596
			<!--add childRepo to composite repo-->
561
		<p2.composite.artifact.repository.add location="file://${updateSite}" child="${buildId}" />
597
			<p2.composite.artifact.repository.add location="file://${updateSite}" child="${buildId}" />
562
		<p2.composite.metadata.repository.add location="file://${updateSite}" child="${buildId}" />
598
			<p2.composite.metadata.repository.add location="file://${updateSite}" child="${buildId}" />
563
599
564
		<!--call to generate pde, rcp, cvs and jdt repos-->
600
			<!--call to generate pde, rcp, cvs and jdt repos-->
565
		<ant antfile="${eclipse.build.configs}/repos/build.xml" />
601
			<ant antfile="${eclipse.build.configs}/repos/build.xml" />
566
		<ant antfile="${eclipse.build.configs}/repos/platformrepo.xml" />
602
			<ant antfile="${eclipse.build.configs}/repos/platformrepo.xml" />
567
		<ant antfile="${eclipse.build.configs}/repos/rcprepo.xml" />	
603
			<ant antfile="${eclipse.build.configs}/repos/rcprepo.xml" />
568
		<ant antfile="${eclipse.build.configs}/rcp.deltapack/build.xml" />
604
			<ant antfile="${eclipse.build.configs}/rcp.deltapack/build.xml" />
569
	</target>
605
		</target>
570
606
571
	<target name="packageEquinoxDistributables">
607
		<target name="packageEquinoxDistributables">
572
		<ant antfile="${equinox.build.configs}/repos/build.xml" />
608
			<ant antfile="${equinox.build.configs}/repos/build.xml" />
573
		<!-- equinox slicer build now includes master equinox-->
609
			<!-- equinox slicer build now includes master equinox-->
574
		<ant antfile="${equinox.build.configs}/equinox/build.xml" />
610
			<ant antfile="${equinox.build.configs}/equinox/build.xml" />
575
		<ant antfile="${equinox.build.configs}/equinox-launchers/build.xml" />
611
			<ant antfile="${equinox.build.configs}/equinox-launchers/build.xml" />
576
		<!-- invoke equinox.p2.installer in a separate process -->
612
			<!-- invoke equinox.p2.installer in a separate process -->
577
		<ant antfile="${equinox.build.configs}/../helper.xml" target="build.p2.installer.product" />
613
			<ant antfile="${equinox.build.configs}/../helper.xml" target="build.p2.installer.product" />
578
	</target>
614
		</target>
579
615
580
	<target name="package">
616
		<target name="package">
581
		<ant antfile="package.xml" dir="${eclipse.pdebuild.scripts}">
617
			<ant antfile="package.xml" dir="${eclipse.pdebuild.scripts}">
582
			<property name="packagingInfo" value="${packagingInfo}" />
618
				<property name="packagingInfo" value="${packagingInfo}" />
583
			<property name="assemblyTempDir" value="${packagingInfo}/jartmp" />
619
				<property name="assemblyTempDir" value="${packagingInfo}/jartmp" />
584
		</ant>
620
			</ant>
585
	</target>
621
		</target>
586
622
587
	<target name="publishRSS" unless="skip.feed">
623
		<target name="publishRSS" unless="skip.feed">
588
		<property name="rssproperties" value="feedPublish.eclipse.properties" />
624
			<property name="rssproperties" value="feedPublish.eclipse.properties" />
589
		<property name="buildrssproperties" value="${postingDirectory}/${buildLabel}/${rssproperties}" />
625
			<property name="buildrssproperties" value="${postingDirectory}/${buildLabel}/${rssproperties}" />
590
		<copy file="${eclipse.build.configs}/../publishingFiles/templateFiles/${rssproperties}" tofile="${buildrssproperties}" failonerror="true" />
626
			<copy file="${eclipse.build.configs}/../publishingFiles/templateFiles/${rssproperties}" tofile="${buildrssproperties}" failonerror="true" />
591
		<condition property="updateManagerURL" value="http://download.eclipse.org/eclipse/testUpdates">
627
			<condition property="updateManagerURL" value="http://download.eclipse.org/eclipse/testUpdates">
592
			<equals arg1="${buildType}" arg2="I" />
628
				<equals arg1="${buildType}" arg2="I" />
593
		</condition>
629
			</condition>
594
		<replace file="${buildrssproperties}" token="@updateManagerURL@" value="updateManagerURL=${updateManagerURL}" />
630
			<replace file="${buildrssproperties}" token="@updateManagerURL@" value="updateManagerURL=${updateManagerURL}" />
595
		<replace file="${buildrssproperties}" token="@buildid@" value="${buildId}" />
631
			<replace file="${buildrssproperties}" token="@buildid@" value="${buildId}" />
596
		<replace file="${buildrssproperties}" token="@buildType@" value="${buildType}" />
632
			<replace file="${buildrssproperties}" token="@buildType@" value="${buildType}" />
597
		<condition property="feedFileValue" value="${base.builder}/plugins/org.eclipse.build.tools/data/builds-eclipse.xml">
633
			<condition property="feedFileValue" value="${base.builder}/plugins/org.eclipse.build.tools/data/builds-eclipse.xml">
598
			<equals arg1="${test}" arg2="true" />
634
				<equals arg1="${test}" arg2="true" />
599
		</condition>
635
			</condition>
600
		<condition property="feedFileValue" value="/builds/transfer/files/master/downloads/builds-eclipse-3.5.xml">
636
			<condition property="feedFileValue" value="/builds/transfer/files/master/downloads/builds-eclipse-3.5.xml">
601
			<equals arg1="${buildType}" arg2="I" />
637
				<equals arg1="${buildType}" arg2="I" />
602
		</condition>
638
			</condition>
603
		<condition property="feedFileValue" value="/builds/transfer/files/master/downloads/builds-eclipse-N.xml">
639
			<condition property="feedFileValue" value="/builds/transfer/files/master/downloads/builds-eclipse-N.xml">
604
			<equals arg1="${buildType}" arg2="N" />
640
				<equals arg1="${buildType}" arg2="N" />
605
		</condition>
641
			</condition>
606
		<replace file="${buildrssproperties}" token="@file@" value="file=${feedFileValue}" />
642
			<replace file="${buildrssproperties}" token="@file@" value="file=${feedFileValue}" />
607
		<condition property="feedURL" value="http://download.eclipse.org/eclipse/downloads/builds-eclipse-test.xml">
643
			<condition property="feedURL" value="http://download.eclipse.org/eclipse/downloads/builds-eclipse-test.xml">
608
			<equals arg1="${test}" arg2="true" />
644
				<equals arg1="${test}" arg2="true" />
609
		</condition>
645
			</condition>
610
		<condition property="feedURL" value="http://download.eclipse.org/eclipse/downloads/builds-eclipse-3.5.xml">
646
			<condition property="feedURL" value="http://download.eclipse.org/eclipse/downloads/builds-eclipse-3.5.xml">
611
			<equals arg1="${buildType}" arg2="I" />
647
				<equals arg1="${buildType}" arg2="I" />
612
		</condition>
648
			</condition>
613
		<condition property="feedURL" value="http://download.eclipse.org/eclipse/downloads/builds-eclipse-N.xml">
649
			<condition property="feedURL" value="http://download.eclipse.org/eclipse/downloads/builds-eclipse-N.xml">
614
			<equals arg1="${buildType}" arg2="N" />
650
				<equals arg1="${buildType}" arg2="N" />
615
		</condition>
651
			</condition>
616
		<replace file="${buildrssproperties}" token="@feedURL@" value="feedURL=${feedURL}" />
652
			<replace file="${buildrssproperties}" token="@feedURL@" value="feedURL=${feedURL}" />
617
		<condition property="signStatus" value="SIGNED">
653
			<condition property="signStatus" value="SIGNED">
618
			<equals arg1="${sign}" arg2="true" />
654
				<equals arg1="${sign}" arg2="true" />
619
		</condition>
655
			</condition>
620
		<property name="signStatus" value="UNSIGNED" />
656
			<property name="signStatus" value="UNSIGNED" />
621
		<replace file="${buildrssproperties}" token="@jarSigningStatus@" value="jarSigningStatus=${signStatus}" />
657
			<replace file="${buildrssproperties}" token="@jarSigningStatus@" value="jarSigningStatus=${signStatus}" />
622
		<copy file="${buildrssproperties}" tofile="${base.builder}/plugins/org.eclipse.build.tools/properties/${rssproperties}" overwrite="true" failonerror="true" />
658
			<copy file="${buildrssproperties}" tofile="${base.builder}/plugins/org.eclipse.build.tools/properties/${rssproperties}" overwrite="true" failonerror="true" />
623
	</target>
659
		</target>
624
660
625
</project>
661
	</project>

Return to bug 285333