/[Apache-SVN]
ViewVC logotype

Revision 267708


Jump to revision: Previous Next
Author: bodewig
Date: Thu Jun 29 10:23:41 2000 UTC (23 years, 9 months ago)
Changed paths: 6
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.


Changed paths

Path Details
Directoryant/core/trunk/docs/index.html modified , text changed
Directoryant/core/trunk/src/main/org/apache/tools/ant/Task.java modified , text changed
Directoryant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Expand.java modified , text changed
Directoryant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Touch.java added
Directoryant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Untar.java modified , text changed
Directoryant/core/trunk/src/main/org/apache/tools/ant/taskdefs/defaults.properties modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26