On Fri, 31 Aug 2001 13:03:02 -0400, "Michael Laccetti"
<[EMAIL PROTECTED]> wrote:

||| I'm having a bit of trouble...  How do I use a move task to rename a
||| directory, then move it?  Can I do it in one step?

The following task, from a buildfile I currently use, will 'rename' the
'admin' directory under ${flat.dir} to 'jadmin'.

<move todir="${flat.dir}/jadmin" includeEmptyDirs="true" overwrite="true">
        <fileset dir="${flat.dir}/admin"/>
</move>

Joey

-- Sun Certified Java2 Programmer
-- My Pocket Smalltalk Stuff: www.joeygibson.com/st
--
-- "We thought about killin' him, but we kinda 
--  hated to go that far...." - Briscoe Darling

Reply via email to