Log Message: |
New task Touch. Expand now also retains the time from the Zipfile.
Touch works somewhat like the Unix touch(1) command. It changes the
modification time of files and maybe creates a new file if the
requested one doesn't exist.
In JDK 1.1 only the creation of new files will work, all other cases
generate warning messages.
Expand and Untar reuse Touch to set the modification times of the
expanded files from the information inside the archive.
I had to make Task.setProject public to ease reuse.
|