You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by us...@apache.org on 2010/02/20 15:34:46 UTC
svn commit: r912121 - /lucene/java/branches/lucene_2_9/build.xml
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>