Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

ant = new AntBuilder();
tmpDir = "tmpDir"
new File(args[0]).eachFileRecurse({file->
    if(file.name.endsWith(".jar")) {
        ant.sequential {
            mkdir(dir:tmpDir)
            echo "Unsigning file: $file"
            unjar(src:file, dest:tmpDir)
            delete

Unknown macro: {                fileset(dir}

            jar(destFile:file,baseDir:tmpDir)
            delete(dir:tmpDir)
        }
    }
})

  • No labels