sf-platform/build.xml
changeset 827 b671b85a0863
parent 816 4fbec78cd97f
child 828 f19c94ca8982
equal deleted inserted replaced
826:602c0e7df6d1 827:b671b85a0863
   160     ==         - job_refs.ant.xml
   160     ==         - job_refs.ant.xml
   161     ==
   161     ==
   162     -->
   162     -->
   163   <target name="sf-os-compile" depends="sf-compile-options">
   163   <target name="sf-os-compile" depends="sf-compile-options">
   164 
   164 
   165     <hlm:argSet id="sbs.tools2.var">
       
   166       <hlm:arg name="config" value="tools2_rel.whatlog" />
       
   167       <hlm:arg name="singlejob" value="false" />
       
   168       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
   169       <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
       
   170     </hlm:argSet>
       
   171 
       
   172     <hlm:argSet id="sbs.tools2.clean.var">
       
   173       <hlm:arg name="config" value="tools2_rel.whatlog" />
       
   174       <hlm:arg name="singlejob" value="false" />
       
   175       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
   176       <hlm:arg name="command" value="CLEAN --check" />
       
   177     </hlm:argSet>
       
   178 
       
   179     <hlm:argSet id="sbs.tools.var">
       
   180       <hlm:arg name="config" value="tools_rel.whatlog" />
       
   181       <hlm:arg name="singlejob" value="true" />
       
   182       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
   183       <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
       
   184     </hlm:argSet>
       
   185 
       
   186     <hlm:argSet id="sbs.tools.clean.var">
       
   187       <hlm:arg name="config" value="tools_rel.whatlog" />
       
   188       <hlm:arg name="singlejob" value="true" />
       
   189       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
   190       <hlm:arg name="command" value="CLEAN --check" />
       
   191     </hlm:argSet>
       
   192 
       
   193     <hlm:argSet id="sbs.main.sbs.var">
       
   194       <hlm:arg name="config" value="${sf.spec.sbs.config}" />
       
   195       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
   196       <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
       
   197     </hlm:argSet>
       
   198 
       
   199     <hlm:argSet id="sbs.main.clean.sbs.var">
       
   200       <hlm:arg name="config" value="${sf.spec.sbs.config}" />
       
   201       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
   202       <hlm:arg name="command" value="CLEAN --check" />
       
   203     </hlm:argSet>
       
   204 
       
   205     <hlm:argSet id="sbs.main.what.sbs.var">
       
   206       <hlm:arg name="config" value="${sf.spec.sbs.config}" />
       
   207       <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
   208       <hlm:arg name="command" value="WHAT" />
       
   209     </hlm:argSet>
       
   210 
       
   211     <!-- generate baseline dir list to allow delta creation -->
   165     <!-- generate baseline dir list to allow delta creation -->
   212     <if><isset property="sf.os.compile.fast"/>
   166     <if><isset property="sf.os.compile.fast"/>
   213       <then>
   167       <then>
   214         <echo message="INFO [FAST COMPILE] Skipping baseline dir list generation"/>
   168         <echo message="INFO [FAST COMPILE] Skipping baseline dir list generation"/>
   215       </then>
   169       </then>
   221     </if>
   175     </if>
   222     
   176     
   223     <!-- OS clean main build -->
   177     <!-- OS clean main build -->
   224     <if><istrue value="${sf.spec.baseline.clean}"/>
   178     <if><istrue value="${sf.spec.baseline.clean}"/>
   225       <then>
   179       <then>
       
   180         <hlm:argSet id="sbs.main.clean.sbs.var">
       
   181           <hlm:arg name="config" value="${sf.spec.sbs.config}" />
       
   182           <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
   183           <hlm:arg name="command" value="CLEAN --check" />
       
   184         </hlm:argSet>
   226         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   185         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   227           <param name="build.system" value="${sf.spec.build.system}" />
   186           <param name="build.system" value="${sf.spec.build.system}" />
   228           <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   187           <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   229           <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   188           <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   230           <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
   189           <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
   255       <then>
   214       <then>
   256         <echo message="INFO [FAST COMPILE] Skipping Tools/Tools2 builds"/>
   215         <echo message="INFO [FAST COMPILE] Skipping Tools/Tools2 builds"/>
   257       </then>
   216       </then>
   258       <else>
   217       <else>
   259         <!-- OS tools2 build first-->
   218         <!-- OS tools2 build first-->
       
   219         <hlm:argSet id="sbs.tools2.var">
       
   220           <hlm:arg name="config" value="tools2_rel.whatlog" />
       
   221           <hlm:arg name="singlejob" value="false" />
       
   222           <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
   223           <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
       
   224         </hlm:argSet>
   260         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   225         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   261           <param name="build.system" value="${sf.spec.build.system}" />
   226           <param name="build.system" value="${sf.spec.build.system}" />
   262           <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   227           <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   263           <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   228           <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   264           <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
   229           <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
   270         <antcall target="sf-list-dir" inheritAll="false">
   235         <antcall target="sf-list-dir" inheritAll="false">
   271           <param name="sf.list.name" value="post-build-tools2"/>
   236           <param name="sf.list.name" value="post-build-tools2"/>
   272         </antcall>
   237         </antcall>
   273 
   238 
   274         <!-- OS tools build after tools2 -->
   239         <!-- OS tools build after tools2 -->
       
   240         <hlm:argSet id="sbs.tools.var">
       
   241           <hlm:arg name="config" value="tools_rel.whatlog" />
       
   242           <hlm:arg name="singlejob" value="true" />
       
   243           <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
   244           <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
       
   245         </hlm:argSet>
   275         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   246         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   276           <param name="build.system" value="${sf.spec.build.system}" />
   247           <param name="build.system" value="${sf.spec.build.system}" />
   277           <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   248           <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   278           <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   249           <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   279           <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
   250           <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
   311           </sequential>
   282           </sequential>
   312         </for>
   283         </for>
   313       </then>
   284       </then>
   314       <else>
   285       <else>
   315         <!-- OS main build -->
   286         <!-- OS main build -->
       
   287         <hlm:argSet id="sbs.main.sbs.var">
       
   288           <hlm:arg name="config" value="${sf.spec.sbs.config}" />
       
   289           <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
       
   290           <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
       
   291         </hlm:argSet>
   316         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   292         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   317           <param name="build.system" value="${sf.spec.build.system}" />
   293           <param name="build.system" value="${sf.spec.build.system}" />
   318           <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   294           <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   319           <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   295           <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   320           <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
   296           <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>