common/build.xml
changeset 939 4dd6f1dde1fe
parent 927 a15a7e841752
child 950 ca764fdeb15e
--- a/common/build.xml	Mon Mar 22 14:25:05 2010 +0000
+++ b/common/build.xml	Mon Mar 22 15:24:58 2010 +0000
@@ -404,6 +404,9 @@
     
     <target name="sf-get-source" depends="sf-generate-source-spec">
         <stopwatch name="sf-get-source"/>
+        <!-- Get test manifest, and move resolved csv so that it doesnt conflict with source-spec.ant.xml -->
+        <ant antfile="${temp.build.dir}/source-test-spec.ant.xml" />
+        <move file="${build.drive}/output/logs/BOM/sources.csv" tofile="${build.drive}/output/logs/BOM/sources_test.csv"/>
         <ant antfile="${temp.build.dir}/source-spec.ant.xml" />
         <stopwatch name="sf-get-source" action="elapsed"/>
     </target>
@@ -461,8 +464,16 @@
               <data expandProperties="yes">
                     ant: antProperties()
                     data: [
+                        csv(${sf.source.csv.file}, {separator:','})
+                    ]
+              </data>
+        </fmpp>
+        <fmpp sourceFile="${sf.common.config.dir}/templates/source-spec.ant.xml.ftl"
+              outputFile="${temp.build.dir}/source-test-spec.ant.xml">
+              <data expandProperties="yes">
+                    ant: antProperties()
+                    data: [
                         csv(${sf.test.csv.file}, {separator:','})
-                        csv(${sf.source.csv.file}, {separator:','})
                     ]
               </data>
         </fmpp>