antBuilder.copy(file: lstFile, todir:srcDir)
antBuilder.copy(file: lstGzippedFile, todir: srcDir)
antBuilder.copy(file: tarFile1, todir:srcDir)
antBuilder.copy(file: tarFile2, todir:srcDir)
antBuilder.copy(file: tarFile3, todir:srcDir)
can i write the code above in 1 line by combining file parameters and todir parameters
Why not just iterate over a collection of
file:parameters?You could put it all on one line, but it’s getting a bit long (TWSS):