Calum,

If you don't mind getting a "DEPRECATED" message, you can use <rename>. It
does what I would expect <move> to do when moving a directory -- renames
dir foo to dir bar. If the <move> task doesn't do that when moving a
directory, and instead actually recursively moves all of foo to bar, then
I would say it's not doing things the way it should and should probably be
looked into.

Diane

--- Calum Maclean <[EMAIL PROTECTED]> wrote:
> How do I move a directory from one parent directory to another?
> From example, how do I move the directory "C" and all its contents from
> under "A" to under "B":
>     "A/C/..." --> "B/C/..."?
> Using "<move todir="B"> <fileset dir="A"> <include name="C"/>" ... moves
> the
> "C" directory itself, but not any of its contents.
> Using "<move todir="B"> <fileset dir="A"> <include name="C/**"/>" ...
> moves
> the "C" and its contents (as I want), but leaves the "A/C" directory
> structure (with no files in it).  This option also seems to move all the
> files individually, taking a fair bit of time, whereas it should be a
> quick
> move of "C", and all its contents will automatically follow (as happens
> when
> e.g. dragging a folder in Windows).
> Thanks,
> Calum
> 
> 
> CONFIDENTIALITY NOTICE:  This message is confidential and for the use
> only
> of the intended recipient. If you receive the message in error you are
> not
> entitled to disseminate, copy or use the contents in any way. In such
> circumstances please forward the message back to the sender or contact
> IT
> Services at Aspects Software Ltd by telephone on 0131 624 0439.
> WARNING : While Aspects Software Ltd takes steps to prevent computer
> viruses
> from being transmitted via electronic mail attachments we cannot
> guarantee
> that attachments do not contain computer virus code.  You are therefore
> strongly advised to undertake anti virus checks prior to accessing the
> attachment to this electronic mail.  Aspects Software Ltd grants no
> warranties regarding performance use or quality of any attachment and
> undertakes no liability for loss or damage howsoever caused.
> 
> 


=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Reply via email to