ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Agnew <br...@oopsconsultancy.com>
Subject Re: XML and copy directories
Date Mon, 07 Feb 2005 13:06:26 GMT
You should be able to do the XML parsing using XMLTask 
(http://www.oopsconsultancy.com/software/xmltask) and the <call> 
instruction that it provides. I can provide more specific pointers 
offline if you require.

Brian

Henning Waack wrote:
> Hello all.
> 
> I am new to Ant, I have no experience with it. I need to
> evaluate if Ant can be used for a project I work on. Since I
> have some difficulties getting the information I need from
> the web, I would like to give you a rough overview of my
> demands and ask you to tell me, if this is possible. I don't
> need any specific implementation, just the information if it
> is useful to use ant for my project or some other language.
> 
> One requirement for the project is the following. I have a
> XML-file with directory names in it, like:
> 
> <dir>someDir</dir>
> <dir>anotherDir</dir>
> ...
> According to these entries, I need to access the directories
> and copy all files within (and all files in subdirectories)
> to one single directory. Also, I need to rename all files,
> giving them a prefix with the value of the directory they
> are stored in.
> 
> Can this be done reasonably with Ant?
> 
> Thank you very much for you help.
> 
> Bye,
> 
> Henning
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org

-- 
Brian Agnew                  http://www.oopsconsultancy.com
OOPS Consultancy Ltd         brian @ oopsconsultancy.com
Tel: +44 (0)7720 397526
Fax: +44 (0)20 8682 0012


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


Mime
View raw message