1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-09 18:56:02 +02:00

Minor reformatting.

This commit is contained in:
David Dykstal 2006-04-25 20:13:04 +00:00
parent 5e5277c2af
commit 23cec9389d

View file

@ -22,11 +22,11 @@
<!-- ===================================================================== --> <!-- ===================================================================== -->
<property name="builderDirectory" location="${builder}" /> <property name="builderDirectory" location="${builder}" />
<property name="buildProperties" location="${builder}/build.properties" /> <property name="buildProperties" location="${builder}/build.properties" />
<property file="${buildProperties}" />
<property name="customTargets" location="${builderDirectory}/customTargets.xml" /> <property name="customTargets" location="${builderDirectory}/customTargets.xml" />
<property name="genericTargets" location="genericTargets.xml" /> <property name="genericTargets" location="${builderDirectory}/genericTargets.xml" />
<property name="packageDirectory" location="%{packageDirectory}" /> <property name="packageDirectory" location="%{packageDirectory}" />
<property name="publishDirectory" location="%{publishDirectory}" /> <property name="publishDirectory" location="%{publishDirectory}" />
<property file="${buildProperties}" />
<condition property="doExtract" value="true"> <condition property="doExtract" value="true">
<equals arg1="${bld_do_extract}" arg2="yes" /> <equals arg1="${bld_do_extract}" arg2="yes" />
@ -37,7 +37,6 @@
<condition property="doPackage" value="true"> <condition property="doPackage" value="true">
<equals arg1="${bld_do_package}" arg2="yes" /> <equals arg1="${bld_do_package}" arg2="yes" />
</condition> </condition>
<condition property="doPublish" value="true"> <condition property="doPublish" value="true">
<equals arg1="${bld_do_publish}" arg2="yes" /> <equals arg1="${bld_do_publish}" arg2="yes" />
</condition> </condition>
@ -48,7 +47,6 @@
<!-- ===================================================================== --> <!-- ===================================================================== -->
<!-- ******* add in the descriptions for each of the top level targets to the target decl --> <!-- ******* add in the descriptions for each of the top level targets to the target decl -->
<target name="main" description="the main build target"> <target name="main" description="the main build target">
<echo message="**********************************************************"/>
<antcall target="preBuild" /> <antcall target="preBuild" />
<antcall target="fetch" /> <antcall target="fetch" />
<antcall target="generate" /> <antcall target="generate" />
@ -74,11 +72,11 @@
<!-- ===================================================================== --> <!-- ===================================================================== -->
<!-- Fetch the elements identified in the customTargets --> <!-- Fetch the elements identified in the customTargets -->
<!-- Generates and then execute the fetch scripts for each build element-->
<!-- ===================================================================== --> <!-- ===================================================================== -->
<target name="fetch" if="doExtract"> <target name="fetch" if="doExtract">
<echo message="Extracting..." /> <echo message="Extracting..." />
<ant antfile="${customTargets}" target="preFetch" /> <ant antfile="${customTargets}" target="preFetch" />
<!-- Generates and then execute the fetch scripts for each build element-->
<ant antfile="${customTargets}" target="allElements"> <ant antfile="${customTargets}" target="allElements">
<property name="target" value="fetchElement" /> <property name="target" value="fetchElement" />
</ant> </ant>
@ -92,7 +90,6 @@
<target name="generate" if="doBuild"> <target name="generate" if="doBuild">
<echo message="Generating build scripts..." /> <echo message="Generating build scripts..." />
<ant antfile="${customTargets}" target="preGenerate" /> <ant antfile="${customTargets}" target="preGenerate" />
<!-- Generate the build.xml for each build element-->
<ant antfile="${customTargets}" target="allElements"> <ant antfile="${customTargets}" target="allElements">
<property name="target" value="generateScript" /> <property name="target" value="generateScript" />
</ant> </ant>
@ -101,18 +98,16 @@
<!-- ===================================================================== --> <!-- ===================================================================== -->
<!-- Run the build scripts for each element identified in the customTargets --> <!-- Run the build scripts for each element identified in the customTargets -->
<!-- 1) Run custom tasks before processing, i.e. creating source build zip files -->
<!-- 2) Process all of the build elements-->
<!-- 3) Run custom tasks after compiling, i.e. reporting compile errors -->
<!-- ===================================================================== --> <!-- ===================================================================== -->
<target name="process" if="doBuild"> <target name="process" if="doBuild">
<echo message="Building..." /> <echo message="Building..." />
<!-- Run custom tasks before processing, i.e. creating source build zip files -->
<ant antfile="${customTargets}" target="preProcess" /> <ant antfile="${customTargets}" target="preProcess" />
<!-- Process all of the build elements-->
<ant antfile="${customTargets}" target="allElements"> <ant antfile="${customTargets}" target="allElements">
<property name="target" value="processElement" /> <property name="target" value="processElement" />
</ant> </ant>
<!-- Run custom tasks after compiling, i.e. reporting compile errors -->
<ant antfile="${customTargets}" target="postProcess" /> <ant antfile="${customTargets}" target="postProcess" />
</target> </target>