common/build.xml
changeset 246 4f2482f1dd48
parent 243 71d24b4fa162
child 247 cfde8b1784f7
--- a/common/build.xml	Mon Jul 13 18:03:32 2009 +0100
+++ b/common/build.xml	Tue Jul 14 10:47:57 2009 +0100
@@ -818,7 +818,20 @@
           </exec>
         </sequential>
       </for>
-
+      
+      <!-- Now iterate through the generated TSVs to sort them and remove duplicates -->
+      <for param="tsv">
+        <path>
+          <fileset dir="${build.log.dir}/releaseables">
+            <include name="**/*.tsv"/>
+          </fileset>
+        </path>
+        <sequential>
+          <exec executable="perl" input="@{tsv}" output="@{tsv}">
+            <arg value="${sf.common.config.dir}/tools/sortUnique.pl"/>
+          </exec>
+        </sequential>
+      </for>
     </target>
   
     <target name="sf-run-evalid">