lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r887617 - /lucene/java/trunk/build.xml
Date Sun, 06 Dec 2009 00:28:04 GMT
Author: uschindler
Date: Sun Dec  6 00:28:04 2009
New Revision: 887617

URL: http://svn.apache.org/viewvc?rev=887617&view=rev
Log:
Use better format for md5sum/sha1 sum on package build (binary files should have * before
file name). The format attribute does that automatically.

Modified:
    lucene/java/trunk/build.xml

Modified: lucene/java/trunk/build.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/build.xml?rev=887617&r1=887616&r2=887617&view=diff
==============================================================================
--- lucene/java/trunk/build.xml (original)
+++ lucene/java/trunk/build.xml Sun Dec  6 00:28:04 2009
@@ -683,15 +683,12 @@
     <fail if="contribs.failed">Contrib tests failed!</fail>
   </target>
 
-  <!-- Macro for building checksum files
-       This is only needed until the "format" option is supported
-       by ant's built in checksum task
-   -->
+  <!-- Macro for building checksum files -->
   <macrodef name="lucene-checksum">
     <attribute name="file"/>
     <sequential>
-      <checksum file="@{file}" algorithm="md5" pattern="{0}  {1}" forceoverwrite="yes"
readbuffersize="65536"/>
-      <checksum file="@{file}" algorithm="sha1" pattern="{0}  {1}" forceoverwrite="yes"
readbuffersize="65536"/>
+      <checksum file="@{file}" algorithm="md5" format="MD5SUM" forceoverwrite="yes" readbuffersize="65536"/>
+      <checksum file="@{file}" algorithm="sha1" format="MD5SUM" forceoverwrite="yes" readbuffersize="65536"/>
     </sequential>
   </macrodef>
 



Mime
View raw message