sf-platform/compile.ant.xml
changeset 1288 de3bf79206c8
parent 1284 6d59ffe91cb2
child 1300 fe97a9594f6c
equal deleted inserted replaced
1287:e327203f186d 1288:de3bf79206c8
    11         <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
    11         <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
    12     </antcall>
    12     </antcall>
    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" failonerror="false"/>
    17 
    17 
    18     <if><available file="${sf.spec.tools.systemdefinition.location}/tools_model.xml"/>
    18     <if><available file="${sf.spec.systemdefinition.location}/tools_model.xml"/>
    19       <then>
    19       <then>
    20             <antcall target="sf-do-compile" inheritAll="false" inheritRefs="true">
    20             <antcall target="sf-do-compile" inheritAll="false" inheritRefs="true">
    21               <param name="sysdef.configurations.list" value="bldmelast" />
    21               <param name="sysdef.configurations.list" value="bldmelast" />
    22               <reference refid="sf.spec.tools.system.definition.files" torefid="system.definition.files" />
    22               <reference refid="sf.spec.tools.system.definition.files" torefid="system.definition.files" />
    23             </antcall>
    23             </antcall>
    24 
    24 
    25             <!-- 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 -->
    26             <!-- Name of file in BOM should always be tools_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 -->
    27             <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" failonerror="false"/>
    28       </then>
    28       </then>
    29     </if>
    29     </if>
    30 
    30 
    31   </target>
    31   </target>
    32 
    32