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 291446
Collapse All | Expand All

(-)builder/all/customTargets.xml (+30 lines)
Lines 375-380 Link Here
375
		<replace dir="${buildDirectory}/plugins" value="${timestamp}" token="@buildid@">
375
		<replace dir="${buildDirectory}/plugins" value="${timestamp}" token="@buildid@">
376
			<include name="**/about.mappings" />
376
			<include name="**/about.mappings" />
377
		</replace>
377
		</replace>
378
		
379
		<!-- 
380
			to do extra processing of code right after fetching it and before passing to compiler  
381
			(eg., make use of code generation tools) use buildExtra.xml#postFetch
382
		-->
383
		<if>
384
			<available file="${relengBuilderDir}/buildExtra.xml" type="file" />
385
			<then>
386
				<var name="buildExtra.xml.file" unset="true" />
387
				<loadfile property="buildExtra.xml.file" srcFile="${relengBuilderDir}/buildExtra.xml" />
388
				<if>
389
					<contains string="${buildExtra.xml.file}" substring="target name=&quot;postFetch&quot;" />
390
					<then>
391
						<subant target="postFetch"
392
						        description="Extra processing of fetched code: see project's buildExtra.xml"
393
						        antfile="buildExtra.xml"
394
						        buildpath="${relengBuilderDir}"
395
						        inheritAll="true"
396
						        failOnError="false"
397
						/>
398
						<var name="buildExtra.xml.file" unset="true" />
399
					</then>
400
					<!-- <else>
401
						<echo>Note:
402
Found buildExtra.xml but no postFetch task. Nothing to do!
403
</echo>
404
					</else> -->
405
				</if>
406
			</then>
407
		</if>
378
	</target>
408
	</target>
379
409
380
	<!-- If sources are already on disk, don't try to re-fetch them -->
410
	<!-- If sources are already on disk, don't try to re-fetch them -->

Return to bug 291446