Return to Snippet

Revision: 63130
at April 10, 2013 21:33 by laurenceosx


Initial Code
String fileToMd5( File aFile ) {
    def antx = new AntBuilder();
    antx.checksum( file: aFile.path, property: "result1" )
    return antx.project.properties.result1;
}

Initial URL

                                

Initial Description
Groovy file to md5 using Groovy and AntBuilder

Initial Title
Groovy - file to md5 using Groovy and AntBuilder

Initial Tags
groovy

Initial Language
Groovy