ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <skal...@oksystem.cz>
Subject RE: Rename a directory
Date Wed, 03 Mar 2004 14:47:50 GMT

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:fjhPost@netscape.net] 
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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


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


Mime
View raw message