Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-jmeter Wiki" 
for change notification.

The following page has been changed by JMeterAdmin:
http://wiki.apache.org/jakarta-jmeter/CreatingHashes

The comment on the change is:
SHA1 files should be called .sha

------------------------------------------------------------------------------
  == How to create hashes using Ant ==
  
- The following code sample shows a target that can be used to create MD5 and 
SHA1 hashes for any path
+ The following code sample shows a target that can be used to create MD5 and 
SHA1 hashes for any path.
+ 
+ Note that SHA1 hashes should be named .sha, not .sha1 - see 
http://www.apache.org/dev/release-signing.html#policy
  
  {{{
  <!--
@@ -13, +15 @@

    </antcall>
  -->
  <target name="_checksum">
-    <echo message="Creating MD5 for ${path}"/>
+    <echo message="Creating MD5 hash for ${path}"/>
     <basename property="_base" file="${path}"/>
     <checksum file="${path}" property="md5"/>
     <echo message="${md5} *${_base}" file="${path}.md5"/>
  
-    <echo message="Creating SHA1 for ${path}"/>
+    <echo message="Creating SHA1 hash for ${path}"/>
     <basename property="_base" file="${path}"/>
     <checksum file="${path}" property="sha1" algorithm="SHA"/>
     <!-- the * should be replaced with space for non-binary files-->
-    <echo message="${sha1} *${_base}" file="${path}.sha1"/>
+    <echo message="${sha1} *${_base}" file="${path}.sha"/>
  </target>
  }}}
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to