You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/08/15 19:44:39 UTC
DO NOT REPLY [Bug 11732] New: -
move task on directories wont always delete original directories
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=11732>.
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=11732
move task on directories wont always delete original directories
Summary: move task on directories wont always delete original
directories
Product: Ant
Version: 1.4.1
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Core
AssignedTo: ant-dev@jakarta.apache.org
ReportedBy: geoffm@isocra.com
unless you specify <move todir="foo"><fileset dir="bar"/></move>
or do an <includes name="**/*.*"/> or similar, the move task wont move a
directory or number of directories across. It will indeed copy them and empty
the original directories but they should be deleted as well.
E.g.
A
|-B
|-C
|-D
suppose I want to move A/C and A/D to E/C and E/D respectively.
I should be able to do:
<move todir="E">
<fileset dir="A">
<include name="C/**/*.*"/>
<include name="C"/>
<include name="D/**/*.*"/>
<include name="D"/>
</fileset>
</move>
This doesn't delete the original directories where it should.
There seems to be no way roundthis (apart from maybe <dirset> or moving
each dir separately).
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>