blob: 39d64006b069cc2d4e598525eca9eaaf29381889 [file] [log] [blame]
<project name="Build specific targets and properties" default="noDefault" >
<!-- ===================================================================== -->
<!-- Run a given ${target} on all elements being built -->
<!-- Add on <ant> task for each top level element being built. -->
<!-- ===================================================================== -->
<target name="allElements">
<ant antfile="${genericTargets}" target="${target}">
<property name="type" value="feature"/>
<property name="id" value="org.eclipse.ptp.master"/>
</ant>
<!--ant antfile="${genericTargets}" target="${target}">
<property name="type" value="feature"/>
<property name="id" value="org.eclipse.photran.master"/>
</ant-->
</target>
<!-- ===================================================================== -->
<!-- Targets to assemble the built elements for particular configurations -->
<!-- These generally call the generated assemble scripts (named in -->
<!-- ${assembleScriptName}) but may also add pre and post processing -->
<!-- Add one target for each root element and each configuration -->
<!-- ===================================================================== -->
<target name="assemble.org.eclipse.ptp.master.group.group.group">
<ant antfile="${assembleScriptName}" dir="${buildDirectory}">
<property name="archiveName" value="ptp-master-${ptpBranchVersion}-${buildId}.zip"/>
</ant>
</target>
<!--target name="assemble.org.eclipse.photran.master.group.group.group">
<ant antfile="${assembleScriptName}" dir="${buildDirectory}">
<property name="archiveName" value="photran-master-${photranBranchVersion}-${buildId}.zip"/>
</ant>
</target-->
<!-- ===================================================================== -->
<!-- Check out map files from correct repository -->
<!-- Replace values for cvsRoot, package and mapVersionTag as desired. -->
<!-- ===================================================================== -->
<target name="getMapFiles">
<copy file="${builder}/../maps/ptp.map" todir="${buildDirectory}/maps"/>
<replace file="${buildDirectory}/maps/ptp.map">
<replacefilter token="@ptpTag@" value="${ptpTag}"/>
</replace>
<copy file="${builder}/../maps/photran.map" todir="${buildDirectory}/maps"/>
<replace file="${buildDirectory}/maps/photran.map">
<replacefilter token="@photranTag@" value="${photranTag}"/>
</replace>
</target>
<!-- ===================================================================== -->
<!-- Steps to do before setup -->
<!-- ===================================================================== -->
<target name="preSetup">
</target>
<!-- ===================================================================== -->
<!-- Steps to do after setup but before starting the build proper -->
<!-- ===================================================================== -->
<target name="postSetup">
</target>
<!-- ===================================================================== -->
<!-- Steps to do before fetching the build elements -->
<!-- ===================================================================== -->
<target name="preFetch">
</target>
<!-- ===================================================================== -->
<!-- Steps to do after fetching the build elements -->
<!-- ===================================================================== -->
<target name="postFetch">
<condition property="patchesAvailable">
<available file="${builder}/patch.xml"/>
</condition>
<antcall target="applyPatches"/>
</target>
<target name="applyPatches" if="patchesAvailable">
<ant antfile="${builder}/patch.xml"/>
</target>
<!-- ===================================================================== -->
<!-- Steps to do before generating the build scripts. -->
<!-- ===================================================================== -->
<target name="preGenerate">
</target>
<!-- ===================================================================== -->
<!-- Steps to do after generating the build scripts. -->
<!-- ===================================================================== -->
<target name="postGenerate">
</target>
<!-- ===================================================================== -->
<!-- Steps to do before running the build.xmls for the elements being built. -->
<!-- ===================================================================== -->
<target name="preProcess">
<replace dir="${buildDirectory}/plugins" value="${timestamp}" token="@build@">
<include name="**/about.mappings" />
</replace>
<!--unzip src="${tauJars}" dest="${buildDirectory}/plugins/org.eclipse.ptp.etfw.tau.jars"/-->
<replace file="${buildDirectory}/plugins/org.eclipse.ptp.aix.ppc/BUILD">
<replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/>
</replace>
<replace file="${buildDirectory}/plugins/org.eclipse.ptp.linux.ppc/BUILD">
<replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/>
</replace>
<replace file="${buildDirectory}/plugins/org.eclipse.ptp.linux.x86/BUILD">
<replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/>
</replace>
<replace file="${buildDirectory}/plugins/org.eclipse.ptp.linux.x86_64/BUILD">
<replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/>
</replace>
<replace file="${buildDirectory}/plugins/org.eclipse.ptp.macosx.ppc/BUILD">
<replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/>
</replace>
<replace file="${buildDirectory}/plugins/org.eclipse.ptp.macosx.x86/BUILD">
<replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/>
</replace>
<replace file="${buildDirectory}/plugins/org.eclipse.ptp.debug.sdm/configure">
<replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/>
</replace>
<replace file="${buildDirectory}/plugins/org.eclipse.ptp.debug.sdm/configure.in">
<replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/>
</replace>
<replace file="${buildDirectory}/plugins/org.eclipse.ptp.proxy/configure">
<replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/>
</replace>
<replace file="${buildDirectory}/plugins/org.eclipse.ptp.proxy/configure.in">
<replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/>
</replace>
<replace file="${buildDirectory}/plugins/org.eclipse.ptp.utils/configure">
<replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/>
</replace>
<replace file="${buildDirectory}/plugins/org.eclipse.ptp.utils/configure.in">
<replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/>
</replace>
<replace file="${buildDirectory}/plugins/org.eclipse.ptp.rm.ibm.ll.proxy/configure">
<replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/>
</replace>
<replace file="${buildDirectory}/plugins/org.eclipse.ptp.rm.ibm.ll.proxy/configure.in">
<replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/>
</replace>
<replace file="${buildDirectory}/plugins/org.eclipse.ptp.rm.ibm.pe.proxy/configure">
<replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/>
</replace>
<replace file="${buildDirectory}/plugins/org.eclipse.ptp.rm.ibm.pe.proxy/configure.in">
<replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/>
</replace>
<replace file="${buildDirectory}/plugins/org.eclipse.ptp.rm.slurm.proxy/configure">
<replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/>
</replace>
<replace file="${buildDirectory}/plugins/org.eclipse.ptp.rm.slurm.proxy/configure.in">
<replacefilter token="@buildVersion@" value="${ptpBranchVersion}.${timestamp}"/>
</replace>
</target>
<!-- ===================================================================== -->
<!-- Steps to do after running the build.xmls for the elements being built. -->
<!-- ===================================================================== -->
<target name="postProcess">
</target>
<!-- ===================================================================== -->
<!-- Steps to do before running assemble. -->
<!-- ===================================================================== -->
<target name="preAssemble">
</target>
<!-- ===================================================================== -->
<!-- Steps to do after running assemble. -->
<!-- ===================================================================== -->
<target name="postAssemble">
</target>
<!-- ===================================================================== -->
<!-- Steps to do after the build is done. -->
<!-- ===================================================================== -->
<target name="postBuild">
</target>
<!-- ===================================================================== -->
<!-- Steps to do to test the build results -->
<!-- ===================================================================== -->
<target name="test">
</target>
<!-- ===================================================================== -->
<!-- Steps to do to publish the build results -->
<!-- ===================================================================== -->
<target name="publish">
</target>
<!-- ===================================================================== -->
<!-- Default target -->
<!-- ===================================================================== -->
<target name="noDefault">
<echo message="You must specify a target when invoking this file" />
</target>
</project>