Hey Thanks Gilbert!. It worked. Also can you tell me if the following scenario is possible via ant?
I have many folders in a dir which in turn have a certain yyy.properties file in each of them. I need to iterate through all of these files(all have the same name), copy their content in a backup folder and concatenate their content into the same yyy.properties after some changes are done in these files. Is it possible through ant? If not will perl do the trick? Rebhan, Gilbert wrote: > > -----Original Message----- > From: sukanya [mailto:[EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Ant-script-to-search-a-folder-and-move-it-tp19329261p19368390.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]