common/build.xml
changeset 240 5705f5c8f10d
parent 224 a237fdfca8c5
child 241 c451bd0c0782
equal deleted inserted replaced
224:a237fdfca8c5 240:5705f5c8f10d
   431                 </exec>
   431                 </exec>
   432             </then>
   432             </then>
   433         </if>
   433         </if>
   434     </target>
   434     </target>
   435 
   435 
   436     <target name="sf-build-noprep" depends="sf-compile,sf-postbuild">
   436     <target name="sf-build-noprep" depends="sf-truclean,sf-compile,sf-postbuild">
   437         <echo>[SF-BUILD-NOPREP]</echo>
   437         <echo>[SF-BUILD-NOPREP]</echo>
   438     </target>
   438     </target>
   439     
   439     
   440     <target name="create-canonical-sysdef-file">
   440     <target name="create-canonical-sysdef-file">
   441         <if>
   441         <if>
   449                 <copy file="${build.drive}/${sf.spec.systemdefinition.location}" tofile="${build.drive}/output/build/canonical_system_definition.xml" failonerror="true" verbose="true"/>
   449                 <copy file="${build.drive}/${sf.spec.systemdefinition.location}" tofile="${build.drive}/output/build/canonical_system_definition.xml" failonerror="true" verbose="true"/>
   450             </else>
   450             </else>
   451         </if>
   451         </if>
   452     </target>
   452     </target>
   453     
   453     
   454     <target name="sf-compile">    
   454   <target name="sf-truclean">
       
   455     <if>
       
   456       <istrue value="${sf.spec.build.clean.enable}"/>
       
   457       <then>
       
   458         <echo message="Executing truclean step."/>
       
   459         <fmpp sourceFile="${sf.common.config.dir}/templates/truclean.ant.xml.ftl"
       
   460             outputFile="${sf.common.config.dir}/generated/truclean.ant.xml">
       
   461           <data expandProperties="yes">
       
   462               ant: antProperties()
       
   463               data: csv(${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}, {separator:','})
       
   464           </data>
       
   465         </fmpp>
       
   466         <ant antfile="${sf.common.config.dir}/generated/truclean.ant.xml"/>
       
   467       </then>
       
   468       <else>
       
   469         <echo message="Skipping truclean step."/>
       
   470       </else>
       
   471     </if>
       
   472   </target>
       
   473     
       
   474     <target name="sf-compile">
   455         <!-- TODO: add here assigments to raptor-related ant references -->
   475         <!-- TODO: add here assigments to raptor-related ant references -->
   456     
   476     
   457         <!-- hlm:argSet id="sbs.tools.var">
   477         <!-- hlm:argSet id="sbs.tools.var">
   458             <hlm:arg name="config" value="${sf.spec.sbs.config}" />
   478             <hlm:arg name="config" value="${sf.spec.sbs.config}" />
   459             <hlm:arg name="singlejob" value="..." />
   479             <hlm:arg name="singlejob" value="..." />