common/build.postbuild.xml
changeset 504 4c61a133fe59
parent 503 a3b781744ed8
child 505 590bb863f9b9
equal deleted inserted replaced
503:a3b781744ed8 504:4c61a133fe59
   274         <parallel>
   274         <parallel>
   275           <runtarget target="sf-run-analysis-ant"/>
   275           <runtarget target="sf-run-analysis-ant"/>
   276           <runtarget target="sf-run-analysis-raptor"/>
   276           <runtarget target="sf-run-analysis-raptor"/>
   277           <runtarget target="sf-run-analysis-yarp"/>
   277           <runtarget target="sf-run-analysis-yarp"/>
   278           <runtarget target="sf-run-analysis-whatlog-summary"/>
   278           <runtarget target="sf-run-analysis-whatlog-summary"/>
       
   279           <runtarget target="sf-run-analysis-missing-files"/>
   279         </parallel>
   280         </parallel>
   280         <if>
   281         <if>
   281           <istrue value="${sf.spec.publish.enable}"/>
   282           <istrue value="${sf.spec.publish.enable}"/>
   282             <then>
   283             <then>
   283             <runtarget target="sf-run-analysis-diamonds"/>
   284             <runtarget target="sf-run-analysis-diamonds"/>
   548         <copy todir="${publish.dir}" preservelastmodified="true" failonerror="false">
   549         <copy todir="${publish.dir}" preservelastmodified="true" failonerror="false">
   549            <fileset dir="${build.log.dir}"><include name="*.zip"/></fileset>
   550            <fileset dir="${build.log.dir}"><include name="*.zip"/></fileset>
   550         </copy>
   551         </copy>
   551     </target>
   552     </target>
   552 
   553 
       
   554     <!-- TODO: Make this work for package builds once we have sysmodel story worked out -->
       
   555     <target name="sf-run-analysis-missing-files" if="sf.spec.splitbuild">
       
   556     <!-- splitbuild is only set for Platform builds -->
       
   557        <if><istrue value="${sf.spec.splitbuild}"/>
       
   558        <then>
       
   559             <if><istrue value="${sf.spec.os.skipbuild}" />
       
   560                 <then><echo message="Skipping OS file check"/></then>
       
   561                 <else><runtarget target="sf-check-missing-os-files"/></else>
       
   562             </if>
       
   563 
       
   564             <if><istrue value="${sf.spec.s60.skipbuild}" />
       
   565                 <then><echo message="Skipping S60 file check"/></then>
       
   566                 <else><runtarget target="sf-check-missing-s60-files"/></else>
       
   567             </if>
       
   568        </then>
       
   569        <else>
       
   570             <runtarget target="sf-check-missing-os-files"/>
       
   571        </else>
       
   572     </if>
       
   573     </target>
       
   574     
       
   575     <target name="sf-check-missing-os-files">
       
   576         <hlm:argSet id="sbs.check.tools.var">
       
   577                 <hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />
       
   578                 <hlm:arg name="run-check" value="true" />
       
   579         </hlm:argSet>
       
   580      
       
   581         <hlm:argSet id="sbs.check.main.var">
       
   582                 <hlm:arg name="config" value="${sf.spec.sbs.config}" />
       
   583                 <hlm:arg name="run-check" value="true" />
       
   584         </hlm:argSet>     
       
   585         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
       
   586             <param name="build.system" value="${sf.spec.build.system}" />
       
   587             <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
       
   588             <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
       
   589             <param name="build.id" value ="sbs_check"/>
       
   590             <reference refid="sbs.check.tools.var" torefid="sbs.var" />
       
   591             <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
       
   592             <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
       
   593         </antcall> 
       
   594         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
       
   595             <param name="build.system" value="${sf.spec.build.system}" />
       
   596             <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
       
   597             <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
       
   598             <param name="build.id" value ="sbs_check"/>
       
   599             <reference refid="sbs.check.main.var" torefid="sbs.var" />
       
   600             <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
       
   601             <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
       
   602         </antcall> 
       
   603     </target>
       
   604 
       
   605     <target name="sf-check-missing-s60-files">
       
   606     
       
   607         <hlm:argSet id="sbs.check.tools.var">
       
   608                 <hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />
       
   609                 <hlm:arg name="run-check" value="true" />
       
   610         </hlm:argSet>
       
   611      
       
   612         <hlm:argSet id="sbs.check.main.var">
       
   613                 <hlm:arg name="config" value="${sf.spec.sbs.config}" />
       
   614                 <hlm:arg name="run-check" value="true" />
       
   615         </hlm:argSet>     
       
   616         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
       
   617             <param name="build.system" value="${sf.spec.build.system}" />
       
   618             <param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
       
   619             <param name="sf.spec.sysdef.version" value ="${sf.spec.s60.sysdef.version}"/>
       
   620             <param name="build.id" value ="sbs_check"/>
       
   621             <reference refid="sbs.check.tools.var" torefid="sbs.var" />
       
   622             <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
       
   623             <reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
       
   624         </antcall> 
       
   625         <antcall target="compile-main" inheritAll="false" inheritRefs="true">
       
   626             <param name="build.system" value="${sf.spec.build.system}" />
       
   627             <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
       
   628             <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
       
   629             <param name="build.id" value ="sbs_check"/>
       
   630             <reference refid="sbs.check.main.var" torefid="sbs.var" />
       
   631             <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
       
   632             <reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
       
   633         </antcall>
       
   634     </target>
       
   635 
   553 </project>
   636 </project>