ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23789] - warn if <delete task contains a fileset AND a dir attribute!! The content of dir is deleted before fileset's exclude is evaluated!!!
Date Wed, 15 Oct 2003 16:09:09 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23789>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23789

warn if <delete task contains a fileset AND a dir attribute!! The content of dir is deleted
before fileset's exclude is evaluated!!!





------- Additional Comments From gus.heck@olin.edu  2003-10-15 16:09 -------
>From the manual entry for the dir atribute:

The directory to delete, including all its files and subdirectories.
Note: dir is not used to specify a directory name for file; file and dir are
independent of each other.
WARNING: Do not set dir to ".", "${basedir}", or the full-pathname equivalent
unless you truly intend to recursively remove the entire contents of the current
base directory (and the base directory itself, if different from the current
working directory).

Granted, it doesn't say that dir is independant of the filesets, but since
filesets have their own dir atribute it isn't that supprising. I'd say perhaps
clarify in the manual at most. But I think the current entry is fairly clear, so
maybe not even that.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message