ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joyce Li <...@dwl.com>
Subject Moving a set of directories.
Date Tue, 13 Aug 2002 20:50:07 GMT
Hi,

I'm having some trouble moving a set of directories to a new location.
The source location is not deleted after the move.

For example, I have

A/dir1
A/dir2
A/dir3

and I'd like to move dir1 and dir2 to a new location B so I can have

A/dir3
B/dir1
B/dir2

My build.xml segment is something like this:

        < move todir="${base.dir}/B">
            <fileset dir="${base.dir}/A"
                     defaultexcludes="no">
                <include name="dir1/**"/>
                <include name="dir2/**"/>
            </fileset>
        </move>

After the move operation, I have

A/dir1  <with only empty directories>
A/dir2  <with only empty directories>
A/dir3
B/dir1
B/dir2

Why aren't dir1 and dir2 removed from A?

Please help.

Thanks.
Joyce


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message