http://ant.apache.org/manual/CoreTasks/move.html

Move a directory to a new directory
  <move todir="new/dir/to/move/to">
    <fileset dir="src/dir"/>
  </move>


Move a set of files to a new directory
  <move todir="some/new/dir">
    <fileset dir="my/src/dir">
      <include name="**/*.jar"/>
      <exclude name="**/ant.jar"/>
    </fileset>
  </move>


Best regards ... 
        Milan

-----Original Message-----
From: Franz-Josef Herpers [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 03, 2004 3:13 PM
To: Ant Users List
Subject: Rename a directory

Hi *,

what is the best approach to rename a directory (not a file) with Ant. 
I'm not sure how to do it with the <move> task.

Thanks in advance.

Regards Franz

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to