common/build.xml
changeset 345 26128bd2e266
parent 343 9b3d3d909bde
child 346 f9ce0418735b
equal deleted inserted replaced
344:348670fc497a 345:26128bd2e266
   525     <if>
   525     <if>
   526       <isset property="sf.spec.systemdefinition.source"/>
   526       <isset property="sf.spec.systemdefinition.source"/>
   527       <then>
   527       <then>
   528         <echo message="Using ${sf.spec.systemdefinition.source} as model file"/>
   528         <echo message="Using ${sf.spec.systemdefinition.source} as model file"/>
   529         <echo message="Copying to ${build.drive}/definition.xml"/>
   529         <echo message="Copying to ${build.drive}/definition.xml"/>
   530         <copy file="${sf.project.location}/${sf.spec.systemdefinition.source}" tofile="${build.drive}/definition.xml"/>
   530         <copy file="${sf.project.location}/${sf.spec.systemdefinition.source}" tofile="${build.drive}${sf.spec.systemdefinition.location}"/>
   531       </then>
   531       </then>
   532       <else>
   532       <else>
   533         <!-- Collate the system definition from the packages listed in sources.csv -->
   533         <!-- Collate the system definition from the packages listed in sources.csv -->
   534         <echo message="Building system model from ${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}"/>
   534         <echo message="Building system model from ${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}"/>
   535         <exec executable="perl" dir="${build.drive}/" output="${build.drive}${sf.spec.systemdefinition.location}" logError="true" failonerror="true">
   535         <exec executable="perl" dir="${build.drive}/" output="${build.drive}${sf.spec.systemdefinition.location}" logError="true" failonerror="true">
   538           <arg value="${sf.config.dir}/../build/config/3k"/>
   538           <arg value="${sf.config.dir}/../build/config/3k"/>
   539         </exec>
   539         </exec>
   540       </else>
   540       </else>
   541     </if>
   541     </if>
   542   </target>
   542   </target>
   543     
       
   544     <target name="sf-compile">
       
   545         <!-- TODO: add here assigments to raptor-related ant references -->
       
   546     
       
   547         <!-- hlm:argSet id="sbs.tools.var">
       
   548             <hlm:arg name="config" value="${sf.spec.sbs.config}" />
       
   549             <hlm:arg name="singlejob" value="..." />
       
   550             <hlm:arg name="enable-filter" value="..." />
       
   551         </hlm:argSet -->
       
   552         
       
   553         <!-- target name="compile-main-prebuild" -->
       
   554         <antcall target="compile-main" inheritAll="false">
       
   555             <param name="build.system" value="${sf.spec.build.system}"/>
       
   556             <param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" />
       
   557             <!--<reference refid="sf.system.definition.files" torefid="system.definition.files" />-->
       
   558         </antcall>    
       
   559     </target>
       
   560     
   543     
   561     <target name="sf-get-source" depends="sf-generate-source-spec">
   544     <target name="sf-get-source" depends="sf-generate-source-spec">
   562         <ant antfile="${sf.common.config.dir}/generated/source-spec.ant.xml" />
   545         <ant antfile="${sf.common.config.dir}/generated/source-spec.ant.xml" />
   563     </target>
   546     </target>
   564     
   547