You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by dw...@apache.org on 2012/04/15 15:59:17 UTC

svn commit: r1326341 - /lucene/dev/trunk/build.xml

Author: dweiss
Date: Sun Apr 15 13:59:16 2012
New Revision: 1326341

URL: http://svn.apache.org/viewvc?rev=1326341&view=rev
Log:
SHA1 calculation will delete all SHA1 files and recreate them with consistent EOLs.

Modified:
    lucene/dev/trunk/build.xml

Modified: lucene/dev/trunk/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/build.xml?rev=1326341&r1=1326340&r2=1326341&view=diff
==============================================================================
--- lucene/dev/trunk/build.xml (original)
+++ lucene/dev/trunk/build.xml Sun Apr 15 13:59:16 2012
@@ -164,10 +164,21 @@
   </target>
 
   <target name="jar-checksums" description="Recompute SHA1 checksums for all JAR files.">
+    <delete>
+      <fileset dir="${basedir}">
+        <include name="**/*.jar.sha1"/>
+      </fileset>
+    </delete>
+
     <checksum algorithm="SHA1" fileext=".sha1">
       <fileset dir="${basedir}">
         <include name="**/*.jar"/>
       </fileset>
     </checksum>
+
+    <fixcrlf 
+      srcdir="${basedir}"
+      includes="**/*.jar.sha1"
+      eol="lf" fixlast="true" encoding="US-ASCII" />
   </target>
 </project>