add md5 task to display md5 of various files

Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/ebf1a71c
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/ebf1a71c
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/ebf1a71c

Branch: refs/heads/master
Commit: ebf1a71c4da2570e6c4a47d55d9fc9d8cea0f809
Parents: 0b4d630
Author: Alex Harui <[email protected]>
Authored: Wed Jun 11 07:53:34 2014 -0700
Committer: Alex Harui <[email protected]>
Committed: Wed Jun 11 07:53:34 2014 -0700

----------------------------------------------------------------------
 build.xml | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ebf1a71c/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 40dfcb8..29e7583 100644
--- a/build.xml
+++ b/build.xml
@@ -1942,5 +1942,11 @@ There are no known issues.
             </fileset>
         </rat:report>
     </target>
+       
+       <!-- displays the md5 of a file specified via -Dfile=<file -->
+       <target name="md5" >
+               <checksum file="${file}" property="mymd5" />
+               <echo>${mymd5}</echo>
+       </target>
 
 </project>

Reply via email to