sf-platform/compile.ant.xml
changeset 1252 6d59ffe91cb2
parent 1251 dcbd9aa4a422
child 1256 de3bf79206c8
equal deleted inserted replaced
1251:dcbd9aa4a422 1252:6d59ffe91cb2
    13 
    13 
    14       <!-- Export model to BOM, as generate-layers target is no longer called from compile-main target -->
    14       <!-- Export model to BOM, as generate-layers target is no longer called from compile-main target -->
    15       <!-- Name of file in BOM should always be system_model.xml, so that it can be predictably re-used again -->
    15       <!-- Name of file in BOM should always be system_model.xml, so that it can be predictably re-used again -->
    16       <copy file="${build.drive}/output/build/canonical_system_definition_${sf.spec.os.sysdef.clean.configurations.list}.xml" tofile="${build.log.dir}/BOM/system_model.xml"/>
    16       <copy file="${build.drive}/output/build/canonical_system_definition_${sf.spec.os.sysdef.clean.configurations.list}.xml" tofile="${build.log.dir}/BOM/system_model.xml"/>
    17 
    17 
    18     <antcall target="sf-do-compile" inheritAll="false" inheritRefs="true">
    18     <if><available file="${sf.spec.tools.systemdefinition.location}/tools_model.xml"/>
    19         <param name="sysdef.configurations.list" value="bldmelast" />
    19       <then>
    20         <reference refid="sf.spec.tools.system.definition.files" torefid="system.definition.files" />
    20             <antcall target="sf-do-compile" inheritAll="false" inheritRefs="true">
    21     </antcall>
    21               <param name="sysdef.configurations.list" value="bldmelast" />
       
    22               <reference refid="sf.spec.tools.system.definition.files" torefid="system.definition.files" />
       
    23             </antcall>
    22 
    24 
    23       <!-- Export model to BOM, as generate-layers target is no longer called from compile-main target -->
    25             <!-- Export model to BOM, as generate-layers target is no longer called from compile-main target -->
    24       <!-- Name of file in BOM should always be system_model.xml, so that it can be predictably re-used again -->
    26             <!-- Name of file in BOM should always be tools_model.xml, so that it can be predictably re-used again -->
    25       <copy file="${build.drive}/output/build/canonical_system_definition_bldmelast.xml" tofile="${build.log.dir}/BOM/tools_model.xml"/>
    27             <copy file="${build.drive}/output/build/canonical_system_definition_bldmelast.xml" tofile="${build.log.dir}/BOM/tools_model.xml"/>
       
    28       </then>
       
    29     </if>
    26 
    30 
    27   </target>
    31   </target>
    28 
    32 
    29   
    33   
    30   <!-- compile sbs.tools.config and sbs.config. tools built only if its not being unpacked first.
    34   <!-- compile sbs.tools.config and sbs.config. tools built only if its not being unpacked first.