common/build.xml
changeset 939 4dd6f1dde1fe
parent 927 a15a7e841752
child 950 ca764fdeb15e
equal deleted inserted replaced
938:8b364fe9ff75 939:4dd6f1dde1fe
   402         <stopwatch name="sf-syncsource" action="elapsed"/>
   402         <stopwatch name="sf-syncsource" action="elapsed"/>
   403     </target>
   403     </target>
   404     
   404     
   405     <target name="sf-get-source" depends="sf-generate-source-spec">
   405     <target name="sf-get-source" depends="sf-generate-source-spec">
   406         <stopwatch name="sf-get-source"/>
   406         <stopwatch name="sf-get-source"/>
       
   407         <!-- Get test manifest, and move resolved csv so that it doesnt conflict with source-spec.ant.xml -->
       
   408         <ant antfile="${temp.build.dir}/source-test-spec.ant.xml" />
       
   409         <move file="${build.drive}/output/logs/BOM/sources.csv" tofile="${build.drive}/output/logs/BOM/sources_test.csv"/>
   407         <ant antfile="${temp.build.dir}/source-spec.ant.xml" />
   410         <ant antfile="${temp.build.dir}/source-spec.ant.xml" />
   408         <stopwatch name="sf-get-source" action="elapsed"/>
   411         <stopwatch name="sf-get-source" action="elapsed"/>
   409     </target>
   412     </target>
   410     
   413     
   411     <target name="sf-generate-source-spec">
   414     <target name="sf-generate-source-spec">
   459         <fmpp sourceFile="${sf.common.config.dir}/templates/source-spec.ant.xml.ftl"
   462         <fmpp sourceFile="${sf.common.config.dir}/templates/source-spec.ant.xml.ftl"
   460               outputFile="${temp.build.dir}/source-spec.ant.xml">
   463               outputFile="${temp.build.dir}/source-spec.ant.xml">
   461               <data expandProperties="yes">
   464               <data expandProperties="yes">
   462                     ant: antProperties()
   465                     ant: antProperties()
   463                     data: [
   466                     data: [
       
   467                         csv(${sf.source.csv.file}, {separator:','})
       
   468                     ]
       
   469               </data>
       
   470         </fmpp>
       
   471         <fmpp sourceFile="${sf.common.config.dir}/templates/source-spec.ant.xml.ftl"
       
   472               outputFile="${temp.build.dir}/source-test-spec.ant.xml">
       
   473               <data expandProperties="yes">
       
   474                     ant: antProperties()
       
   475                     data: [
   464                         csv(${sf.test.csv.file}, {separator:','})
   476                         csv(${sf.test.csv.file}, {separator:','})
   465                         csv(${sf.source.csv.file}, {separator:','})
       
   466                     ]
   477                     ]
   467               </data>
   478               </data>
   468         </fmpp>
   479         </fmpp>
   469     </target>
   480     </target>
   470     
   481