lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r912121 - /lucene/java/branches/lucene_2_9/build.xml
Date Sat, 20 Feb 2010 14:34:46 GMT
Author: uschindler
Date: Sat Feb 20 14:34:45 2010
New Revision: 912121

URL: http://svn.apache.org/viewvc?rev=912121&view=rev
Log:
Fix also checksum generation in 2.9

Modified:
    lucene/java/branches/lucene_2_9/build.xml

Modified: lucene/java/branches/lucene_2_9/build.xml
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_9/build.xml?rev=912121&r1=912120&r2=912121&view=diff
==============================================================================
--- lucene/java/branches/lucene_2_9/build.xml (original)
+++ lucene/java/branches/lucene_2_9/build.xml Sat Feb 20 14:34:45 2010
@@ -697,20 +697,10 @@
          wouldn't be able to checksum more then one file per build
       -->
     <sequential>
-      <checksum file="@{file}"
-                property="@{file}.sum"
-                algorithm="${checksum.algorithm}" />
+      <echo>Building checksum for '@{file}'</echo>
+      <checksum file="@{file}" property="@{file}.sum" algorithm="${checksum.algorithm}"
readbuffersize="65536"/>
       <basename file="@{file}" property="@{file}.base" />
-      <concat destfile="@{file}.${checksum.algorithm}"
-              force="yes"
-              append="false"
-              fixlastline="yes">
-        <header trimleading="yes">${@{file}.sum}  </header>
-        <!-- empty fileset to trick concat -->
-        <fileset dir="." excludes="**" />
-        <footer trimleading="yes">${@{file}.base}
-        </footer>
-      </concat>
+      <echo file="@{file}.${checksum.algorithm}" append="false" message="${@{file}.sum}
*${@{file}.base}${line.separator}"/>
     </sequential>
   </macrodef>
 



Mime
View raw message