You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ni...@apache.org on 2006/05/25 16:31:48 UTC

svn commit: r409400 - /jakarta/commons/proper/fileupload/trunk/maven.xml

Author: niallp
Date: Thu May 25 07:31:48 2006
New Revision: 409400

URL: http://svn.apache.org/viewvc?rev=409400&view=rev
Log:
Correct error with md5 checksums all being the same (each needs unique property name, as the checksum task doesn't reset the property if it already has a value).

Modified:
    jakarta/commons/proper/fileupload/trunk/maven.xml

Modified: jakarta/commons/proper/fileupload/trunk/maven.xml
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/fileupload/trunk/maven.xml?rev=409400&r1=409399&r2=409400&view=diff
==============================================================================
--- jakarta/commons/proper/fileupload/trunk/maven.xml (original)
+++ jakarta/commons/proper/fileupload/trunk/maven.xml Thu May 25 07:31:48 2006
@@ -73,28 +73,28 @@
   <postGoal name="dist">
 
     <!-- create checksum for jar -->
-    <ant:checksum file="${maven.build.dir}/${pom.artifactId}-${pom.currentVersion}.jar" property="md5"/>
-    <ant:echo message="${md5} *${pom.artifactId}-${pom.currentVersion}.jar" 
+    <ant:checksum file="${maven.build.dir}/${pom.artifactId}-${pom.currentVersion}.jar" property="jar.md5"/>
+    <ant:echo message="${jar.md5} *${pom.artifactId}-${pom.currentVersion}.jar" 
               file="${maven.build.dir}/${pom.artifactId}-${pom.currentVersion}.jar.md5" />
 
     <!-- create checksum for binary zip -->
-    <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.zip" property="md5"/>
-    <ant:echo message="${md5} *${pom.artifactId}-${pom.currentVersion}.zip" 
+    <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.zip" property="zip.md5"/>
+    <ant:echo message="${zip.md5} *${pom.artifactId}-${pom.currentVersion}.zip" 
               file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.zip.md5" />
 
     <!-- create checksum for binary tar.gz -->
-    <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.tar.gz" property="md5"/>
-    <ant:echo message="${md5} *${pom.artifactId}-${pom.currentVersion}.tar.gz" 
+    <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.tar.gz" property="tar.gz.md5"/>
+    <ant:echo message="${tar.gz.md5} *${pom.artifactId}-${pom.currentVersion}.tar.gz" 
               file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}.tar.gz.md5" />
 
     <!-- create checksum for source zip -->
-    <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.zip" property="md5"/>
-    <ant:echo message="${md5} *${pom.artifactId}-${pom.currentVersion}-src.zip" 
+    <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.zip" property="src.zip.md5"/>
+    <ant:echo message="${src.zip.md5} *${pom.artifactId}-${pom.currentVersion}-src.zip" 
               file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.zip.md5" />
 
     <!-- create checksum for source tar.gz -->
-    <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.tar.gz" property="md5"/>
-    <ant:echo message="${md5} *${pom.artifactId}-${pom.currentVersion}-src.tar.gz" 
+    <ant:checksum file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.tar.gz" property="src.tar.gz.md5"/>
+    <ant:echo message="${src.tar.gz.md5} *${pom.artifactId}-${pom.currentVersion}-src.tar.gz" 
               file="${maven.dist.dir}/${pom.artifactId}-${pom.currentVersion}-src.tar.gz.md5" />
 
   </postGoal>



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