commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject svn commit: r294930 - /jakarta/commons/proper/io/trunk/build.xml
Date Tue, 04 Oct 2005 22:04:59 GMT
Author: scolebourne
Date: Tue Oct  4 15:04:56 2005
New Revision: 294930

URL: http://svn.apache.org/viewcvs?rev=294930&view=rev
Log:
Setup md5 files correctly

Modified:
    jakarta/commons/proper/io/trunk/build.xml

Modified: jakarta/commons/proper/io/trunk/build.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/io/trunk/build.xml?rev=294930&r1=294929&r2=294930&view=diff
==============================================================================
--- jakarta/commons/proper/io/trunk/build.xml (original)
+++ jakarta/commons/proper/io/trunk/build.xml Tue Oct  4 15:04:56 2005
@@ -127,14 +127,18 @@
       <tarfileset dir="${dist.build.dir}"/>
     </tar>
     <gzip zipfile="${dist.bin.gz.name}" src="${dist.bin.tar.name}"/>
-    <checksum file="${dist.bin.gz.name}"/>
+    <antcall target="internal-md5">
+      <param name="path" value="${dist.bin.gz.name}"/>
+    </antcall>
     <delete file="${dist.bin.tar.name}" />
     <!-- Windows zip binary -->
   	<fixcrlf srcdir="${dist.bin}" eol="crlf" includes="*.txt" />
     <zip zipfile="${dist.bin.zip.name}" >
       <zipfileset dir="${dist.build.dir}"/>
     </zip>
-    <checksum file="${dist.bin.zip.name}"/>
+    <antcall target="internal-md5">
+      <param name="path" value="${dist.bin.zip.name}"/>
+    </antcall>
   	<!-- Source -->
     <delete dir="${dist.bin}" />
     <copy todir="${dist.src}">
@@ -148,16 +152,25 @@
       <tarfileset dir="${dist.build.dir}"/>
     </tar>
     <gzip zipfile="${dist.src.gz.name}" src="${dist.src.tar.name}"/>
-    <checksum file="${dist.src.gz.name}"/>
+    <antcall target="internal-md5">
+      <param name="path" value="${dist.src.gz.name}"/>
+    </antcall>
     <delete file="${dist.src.tar.name}" />
     <!-- Windows zip source -->
   	<fixcrlf srcdir="${dist.src}" eol="crlf" includes="*.txt,*.xml,*.css,*.properties"
/>
     <zip zipfile="${dist.src.zip.name}" >
       <zipfileset dir="${dist.build.dir}"/>
     </zip>
-    <checksum file="${dist.src.zip.name}"/>
+    <antcall target="internal-md5">
+      <param name="path" value="${dist.src.zip.name}"/>
+    </antcall>
   	<!-- Tidy -->
     <delete dir="${dist.build.dir}" />
+  </target>
+  <target name="internal-md5">
+    <basename property="_base" file="${path}"/>
+    <checksum file="${path}" property="md5"/>
+   	<echo message="${md5} *${_base}" file="${path}.md5"/>
   </target>
 
   <target name="test" description="o Run the test cases" if="test.failure" depends="internal-test">



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message