Skip to content
Permalink
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: https://svn.apache.org/repos/asf/jakarta/commons/proper/jxpath/trunk@549632 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}/${maven.final.name}.jar.md5" />

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

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

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

0 comments on commit 458f562

Please sign in to comment.