sf-platform/build.xml
changeset 828 f19c94ca8982
parent 827 b671b85a0863
child 830 d7e0043062fc
equal deleted inserted replaced
827:b671b85a0863 828:f19c94ca8982
    15   <!--
    15   <!--
    16   * Property defaults
    16   * Property defaults
    17    -->
    17    -->
    18 
    18 
    19   <!-- MattD - workaround until generating a model from package definitions works-->
    19   <!-- MattD - workaround until generating a model from package definitions works-->
    20   <target name="sf-build-noprep" depends="sf-platform-bootstrap,sf-compile,sf-postbuild">
    20   <target name="sf-build-noprep" depends="sf-platform-bootstrap,sf-compile">
    21     <echo>[SF-BUILD-NOPREP] (platform)</echo>
    21     <echo>[SF-BUILD-NOPREP] (platform)</echo>
    22     <echo>[SF-BUILD-NOPREP] WARNING: Not generating model from packages</echo>
    22     <echo>[SF-BUILD-NOPREP] WARNING: Not generating model from packages</echo>
    23   </target>
    23   </target>
    24 
    24 
    25   <target name="sf-platform-bootstrap" depends="sf-gen-buildinfo-txt,sf-platform-bootstrap-gt,sf-platform-bootstrap-s60"/>
    25   <target name="sf-platform-bootstrap" depends="sf-gen-buildinfo-txt,sf-platform-bootstrap-gt,sf-platform-bootstrap-s60"/>
   213     <if><isset property="sf.os.compile.fast"/>
   213     <if><isset property="sf.os.compile.fast"/>
   214       <then>
   214       <then>
   215         <echo message="INFO [FAST COMPILE] Skipping Tools/Tools2 builds"/>
   215         <echo message="INFO [FAST COMPILE] Skipping Tools/Tools2 builds"/>
   216       </then>
   216       </then>
   217       <else>
   217       <else>
   218         <!-- OS tools2 build first-->
   218       
   219         <hlm:argSet id="sbs.tools2.var">
   219         <for list="${sf.spec.sbs.tools.config}" delimiter="," param="sf.spec.sbs.tools.splitconfig">
   220           <hlm:arg name="config" value="tools2_rel.whatlog" />
   220           <sequential>
   221           <hlm:arg name="singlejob" value="false" />
   221             <echo message="INFO [Iterative tools compile] @{sf.spec.sbs.tools.splitconfig}"/>
   222           <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
   222             <propertyregex property="sf.building.tools2" override="true" input="@{sf.spec.sbs.tools.splitconfig}" regexp="^tools2" select="true" defaultValue="false"/>
   223           <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
   223 
   224         </hlm:argSet>
   224             <if>
   225         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   225               <istrue value="${sf.building.tools2}"/>
   226           <param name="build.system" value="${sf.spec.build.system}" />
   226               <then>
   227           <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   227                 <!-- "tools2" build -->
   228           <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   228                 <hlm:argSet id="sbs.tools2.var">
   229           <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
   229                   <hlm:arg name="config" value="@{sf.spec.sbs.tools.splitconfig}" />
   230           <reference refid="sbs.tools2.var" torefid="sbs.var" />
   230                   <hlm:arg name="singlejob" value="false" />
   231           <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
   231                   <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
   232           <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
   232                   <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
   233         </antcall>
   233                 </hlm:argSet>
   234 
   234                 <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   235         <antcall target="sf-list-dir" inheritAll="false">
   235                   <param name="build.system" value="${sf.spec.build.system}" />
   236           <param name="sf.list.name" value="post-build-tools2"/>
   236                   <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   237         </antcall>
   237                   <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   238 
   238                   <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
   239         <!-- OS tools build after tools2 -->
   239                   <reference refid="sbs.tools2.var" torefid="sbs.var" />
   240         <hlm:argSet id="sbs.tools.var">
   240                   <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
   241           <hlm:arg name="config" value="tools_rel.whatlog" />
   241                   <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
   242           <hlm:arg name="singlejob" value="true" />
   242                 </antcall>
   243           <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
   243 
   244           <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
   244                 <antcall target="sf-list-dir" inheritAll="false">
   245         </hlm:argSet>
   245                   <param name="sf.list.name" value="post-build-tools2"/>
   246         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   246                 </antcall>
   247           <param name="build.system" value="${sf.spec.build.system}" />
   247               </then>
   248           <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
   248 
   249           <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
   249               <else>
   250           <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
   250                 <!-- "tools" build -->
   251           <reference refid="sbs.tools.var" torefid="sbs.var" />
   251                 <hlm:argSet id="sbs.tools.var">
   252           <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
   252                   <hlm:arg name="config" value="@{sf.spec.sbs.tools.splitconfig}" />
   253           <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
   253                   <hlm:arg name="singlejob" value="true" />
   254         </antcall>
   254                   <hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" />
   255 
   255                   <hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" />
   256         <antcall target="sf-list-dir" inheritAll="false">
   256                 </hlm:argSet>
   257           <param name="sf.list.name" value="post-build-tools"/>
   257                 <antcall target="compile-main" inheritAll="false" inheritRefs="true">
   258         </antcall>
   258                   <param name="build.system" value="${sf.spec.build.system}" />
       
   259                   <param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />
       
   260                   <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
       
   261                   <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
       
   262                   <reference refid="sbs.tools.var" torefid="sbs.var" />
       
   263                   <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
       
   264                   <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
       
   265                 </antcall>
       
   266 
       
   267                 <antcall target="sf-list-dir" inheritAll="false">
       
   268                   <param name="sf.list.name" value="post-build-tools"/>
       
   269                 </antcall>
       
   270               </else>
       
   271 	    </if>
       
   272           </sequential>    
       
   273         </for>
       
   274 
   259       </else>
   275       </else>
   260     </if>
   276     </if>
   261 
   277 
   262     <if><istrue value="${sf.os.compile.iterate}"/>
   278     <if><istrue value="${sf.os.compile.iterate}"/>
   263       <then>
   279       <then>