Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 {
                fileset(dir:tmpDir,

...

includes:"META-INF/

...

.DSA,META-INF/

...

.SF,META-INF/*.RSA")

...


            }
            jar(destFile:file,baseDir:tmpDir)

...


            delete(dir:tmpDir)
        }
    }
})