common/build.xml
changeset 1055 d3c5525768c5
parent 1045 d822afc3c044
child 1057 1302574aca03
equal deleted inserted replaced
1054:ce815f03e964 1055:d3c5525768c5
   125     
   125     
   126     <!--
   126     <!--
   127       - END OF PROPERTY DEFINITIONS, TARGETS START HERE
   127       - END OF PROPERTY DEFINITIONS, TARGETS START HERE
   128       -->
   128       -->
   129     
   129     
   130     <target name="sf-prep" depends="sf-prep-announce,prep-drive,init-build-area,create-bom,log-build-env">
   130     <target name="sf-prep" depends="sf-prep-announce,prep-drive,init-build-area,create-bom,log-build-env,sf-get-utils">
   131         <!-- Test for the disk space we would like for this build -->
   131         <!-- Test for the disk space we would like for this build -->
   132 	<fail>
   132 	<fail>
   133             <condition>
   133             <condition>
   134                 <not>
   134                 <not>
   135                     <or>
   135                     <or>
   152         <echo>[SF-PREP]</echo>
   152         <echo>[SF-PREP]</echo>
   153     </target>
   153     </target>
   154 
   154 
   155     <target name="sf-check-env">
   155     <target name="sf-check-env">
   156     	<!-- Dario's environment dumper -->
   156     	<!-- Dario's environment dumper -->
   157     	<exec executable="perl" dir="${build.drive}">
   157     	<exec executable="perl" dir="${build.drive}/utilities/envinfo">
   158             <arg value="${sf.common.config.dir}/tools/envinfo.pl"/>
   158             <arg value="envinfo.pl"/>
       
   159             <arg value="-d"/>
   159         </exec>
   160         </exec>
   160     	
   161     	
   161         <!-- Conditional location of BuildEnv.xml. Project always preferred to default -->
   162         <!-- Conditional location of BuildEnv.xml. Project always preferred to default -->
   162         <if><available file="${sf.project.location}/BuildEnv.xml"/>        
   163         <if><available file="${sf.project.location}/BuildEnv.xml"/>        
   163             <then>
   164             <then>
   249         <copy file="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}.xml" todir="${build.log.dir}/BOM/"/>
   250         <copy file="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}.xml" todir="${build.log.dir}/BOM/"/>
   250         <delete file="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}_temp.xml"/>
   251         <delete file="${build.drive}/output/build/canonical_system_definition_${sysdef.configuration}_temp.xml"/>
   251     </target>
   252     </target>
   252 
   253 
   253     <target name="sf-prebuild" depends="sf-prep,sf-prebuild-noprep"/>
   254     <target name="sf-prebuild" depends="sf-prep,sf-prebuild-noprep"/>
   254     <target name="sf-prebuild-noprep" depends="sf-prebuild-announce,sf-diamonds-connect,sf-diamonds-envinfo,sf-diamonds-tag-build,sf-get-utils,sf-getenvs,sf-syncsource,sf-diamondize-bom">
   255     <target name="sf-prebuild-noprep" depends="sf-prebuild-announce,sf-diamonds-connect,sf-diamonds-envinfo,sf-diamonds-tag-build,sf-getenvs,sf-syncsource,sf-diamondize-bom">
   255         <stopwatch name="sf-prebuild" action="elapsed"/>
   256         <stopwatch name="sf-prebuild" action="elapsed"/>
   256     </target>
   257     </target>
   257     
   258     
   258     <target name="sf-prebuild-announce">
   259     <target name="sf-prebuild-announce">
   259         <stopwatch name="sf-prebuild"/>
   260         <stopwatch name="sf-prebuild"/>