Community
Participate
Working Groups
<replace dir="${buildDirectory}/plugins" value="${timestamp}" token="@buildid@">
<include name="**/about.mappings" />
</replace>
<!--
to do extra processing of code right after fetching it and before passing to compiler
(eg., make use of code generation tools) use buildExtra.xml#postFetch
-->
<if>
<available file="${relengBuilderDir}/buildExtra.xml" type="file" />
<then>
<var name="buildExtra.xml.file" unset="true" />
<loadfile property="buildExtra.xml.file" srcFile="${relengBuilderDir}/buildExtra.xml" />
<contains string="${buildExtra.xml.file}" substring="target name="postFetch"" />
<subant target="postFetch"
description="Extra processing of fetched code: see project's buildExtra.xml"
antfile="buildExtra.xml"
buildpath="${relengBuilderDir}"
inheritAll="true"
failOnError="false"
/>
</then>
<!-- <else>
<echo>Note:
Found buildExtra.xml but no postFetch task. Nothing to do!
</echo>
</else> -->
</if>
</target>
<!-- If sources are already on disk, don't try to re-fetch them -->