Unsign Jar Files (Recursively) Add comment to Wiki View in Wiki Edit Wiki page Printable Version

ant = new AntBuilder();

tmpDir = "tmpDir"

new File(args[0]).eachFileRecurse({file->

    if(file.name.endsWith(".jar")) {

        ant.sequential {


            echo "Unsigning file: $file"

            unjar(src:file, dest:tmpDir)

            delete {

                fileset(dir:tmpDir, includes:"META-INF/*.DSA,META-INF/*.SF,META-INF/*.RSA")









Results of your search request can come from various sources: the Groovy website itself, the JIRA issues, the API documentation, as well as a few other interesting Groovy-related blogs.

  By  -  pages  -  views  - last modified