Skip to content
Browse files
Fix sources/javadoc jars md5 checksum generation - this was a copy/pa…
…ste error with the checksum for these files being written to the main jar's property and unfortunately the ant checksum task doesn't overwrite the property value if it is already set (so when generating multiple checksums each has to use a different property name) - thanks to Phil Steitz for spotting this.

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Niall Pemberton committed Jun 21, 2007
1 parent d856f54 commit 458f562cdbe13b42ae325ac88a082047fe05ab89
Showing 1 changed file with 4 additions and 4 deletions.
@@ -90,13 +90,13 @@
file="${maven.dist.dir}/${}.jar.md5" />

<!-- create checksum for sources jar -->
<ant:checksum file="${maven.dist.dir}/${}-sources.jar" property="jar.md5"/>
<ant:echo message="${jar.md5} *${}-sources.jar"
<ant:checksum file="${maven.dist.dir}/${}-sources.jar" property="sources.jar.md5"/>
<ant:echo message="${sources.jar.md5} *${}-sources.jar"
file="${maven.dist.dir}/${}-sources.jar.md5" />

<!-- create checksum for javadoc jar -->
<ant:checksum file="${maven.dist.dir}/${}-javadoc.jar" property="jar.md5"/>
<ant:echo message="${jar.md5} *${}-javadoc.jar"
<ant:checksum file="${maven.dist.dir}/${}-javadoc.jar" property="javadoc.jar.md5"/>
<ant:echo message="${javadoc.jar.md5} *${}-javadoc.jar"
file="${maven.dist.dir}/${}-javadoc.jar.md5" />

<!-- create checksum for binary zip -->

0 comments on commit 458f562

Please sign in to comment.