ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject RE: Ant script to search a folder and move it
Date Fri, 05 Sep 2008 11:34:09 GMT
-----Original Message-----
From: sukanya [mailto:sukanyadevik@yahoo.co.in]
Sent: Friday, September 05, 2008 1:23 PM
To: user@ant.apache.org
Subject: Ant script to search a folder and move it

/*
Hi all,

I have a problem. I am trying to use ant to search for a particular folder
and move it to another location using ant. But I dont which tasks can be
used for this. Can anyone help me please?
*/

use the <move> task with a dirset, see =
http://ant.apache.org/manual/CoreTasks/move.html
and
http://ant.apache.org/manual/CoreTypes/dirset.html

the dirset catches the directory via include pattern


Regards, Gilbert

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


Mime
View raw message