common/build.xml
changeset 330 f2e8947e085a
parent 326 47a6624f927d
child 331 f7c6fc4239ac
equal deleted inserted replaced
329:06c2c867c6ad 330:f2e8947e085a
   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}/definition.xml"/>
   531       </then>
   531       </then>
       
   532       <else>
       
   533         <!-- Collate the system definition from the packages listed in sources.csv -->
       
   534         <exec executable="perl" output="${build.drive}${sf.spec.systemdefinition.location}" logError="true">
       
   535           <arg value="${sf.common.config.dir}/tools/csvToSysDef.pl"/>
       
   536           <arg value="${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}"/>
       
   537         </exec>
       
   538       </else>
   532     </if>
   539     </if>
   533   </target>
   540   </target>
   534     
   541     
   535     <target name="sf-compile">
   542     <target name="sf-compile">
   536         <!-- TODO: add here assigments to raptor-related ant references -->
   543         <!-- TODO: add here assigments to raptor-related ant references -->
   693         <arg value="${build.drive}/output/zips/bin_rnd*.zip"/>
   700         <arg value="${build.drive}/output/zips/bin_rnd*.zip"/>
   694         </exec>
   701         </exec>
   695     </target>
   702     </target>
   696     
   703     
   697     <target name ="sf-make-junction">
   704     <target name ="sf-make-junction">
   698         
       
   699         <mkdir dir="${sf.spec.test.epocroot}"/>
   705         <mkdir dir="${sf.spec.test.epocroot}"/>
   700 
   706 
   701         <exec executable="perl" dir="${sf.common.config.dir}/tools/ats" failonerror="false" output="${build.log.dir}/ATS_${build.id}_make_junction.log">
   707         <exec executable="perl" dir="${sf.common.config.dir}/tools/ats" failonerror="false" output="${build.log.dir}/ATS_${build.id}_make_junction.log">
   702         <arg value="make_junction.pl"/>
   708         <arg value="make_junction.pl"/>
   703         <arg value="--link=${sf.spec.test.epocroot}/epoc32"/>
   709         <arg value="--link=${sf.spec.test.epocroot}/epoc32"/>