common/build.xml
changeset 24 1cdce57ae369
parent 23 cde62357aba5
child 25 393f5234e12c
equal deleted inserted replaced
23:cde62357aba5 24:1cdce57ae369
    19     <property name="network.drive" value="${sf.spec.publish.networkdrive}"/>
    19     <property name="network.drive" value="${sf.spec.publish.networkdrive}"/>
    20     <property name="publish.root.dir" value="${sf.spec.publish.publish.rootdir}"/>
    20     <property name="publish.root.dir" value="${sf.spec.publish.publish.rootdir}"/>
    21     <property name="build.system" value="${sf.spec.build.system}"/>
    21     <property name="build.system" value="${sf.spec.build.system}"/>
    22     <property name="base_release.path" value="${sf.spec.baseline.location}"/>
    22     <property name="base_release.path" value="${sf.spec.baseline.location}"/>
    23     <property name="base_release.getenv_options" value="${sf.spec.baseline.getenv_options}"/>
    23     <property name="base_release.getenv_options" value="${sf.spec.baseline.getenv_options}"/>
    24     
       
    25     <target name="create-canonical-sysdef-file">
       
    26       <echo message="Copying given system definition file where Helium expects it."/>
       
    27       <copy file="${build.drive}/${sf.spec.systemdefinition.location}" tofile="${build.drive}/output/build/canonical_system_definition.xml" failonerror="true" verbose="true"/>
       
    28     </target>
       
    29     
    24     
    30     <!-- import all core HELIUM targets -->
    25     <!-- import all core HELIUM targets -->
    31     <import file="${helium.dir}/helium.ant.xml" />
    26     <import file="${helium.dir}/helium.ant.xml" />
    32     
    27     
    33     <!-- import common references -->
    28     <!-- import common references -->
   102     
    97     
   103     <target name="sf-build-noprep" depends="sf-compile">
    98     <target name="sf-build-noprep" depends="sf-compile">
   104         <echo>[SF-BUILD-NOPREP]</echo>
    99         <echo>[SF-BUILD-NOPREP]</echo>
   105     </target>
   100     </target>
   106     
   101     
       
   102     <target name="create-canonical-sysdef-file">
       
   103       <if>
       
   104         <istrue value="${sf.spec.systemdefinition.assemble}"/>
       
   105         <then>
       
   106           <echo message="Calling Helium create-canonical-sysdef-file target to assemble sysdef fragments."/>
       
   107           <runtarget target="compile.create-canonical-sysdef-file"/>
       
   108         </then>
       
   109         <else>
       
   110           <echo message="Will use ${build.drive}/${sf.spec.systemdefinition.location} as is as sysdef file"/>
       
   111           <copy file="${build.drive}/${sf.spec.systemdefinition.location}" tofile="${build.drive}/output/build/canonical_system_definition.xml" failonerror="true" verbose="true"/>
       
   112         </else>
       
   113       </if>
       
   114     </target>
       
   115     
   107     <target name="sf-compile">    
   116     <target name="sf-compile">    
   108     
   117     
   109     	<!-- TODO: add here assigments to raptor-related ant references -->
   118     	<!-- TODO: add here assigments to raptor-related ant references -->
   110  	
   119  	
   111     	<!-- hlm:argSet id="sbs.tools.var">
   120     	<!-- hlm:argSet id="sbs.tools.var">