From the manual:
<xmltask todir="output">
<fileset dir=".">
<includes name="*.xml"/>
.....
reads from the XML files in the current dir and writes to the same
filenames in the output dir.
So you need to identify the directory to write to, and it'll process
each file and write the results to the specified directory.
Brian
On 29/5/09 02:19, Lacoste, Dana (TSG Software San Diego) wrote:
So I can do this:
<xmltask source=file1.txt dest=file1.txt>
with a <replace> task and update that file's content.
Is there a way I can do this with multiple files?
i.e. when I set "source" to **/*.xml (for example) it doesn't actually
change anything if I don't set dest as well (I'm guessing it's setting
output to a buffer, which I'm not reading so I don't see any change to
the files)
(this is true if I do it as a source= or as a <fileset><include>)
Any suggestions?
Dana Lacoste
------------------------------------------------------------------------
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers& brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,&
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA,& Big Spaceship. http://p.sf.net/sfu/creativitycat-com
------------------------------------------------------------------------
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users
--
Brian Agnew http://www.oopsconsultancy.com
OOPS Consultancy Ltd
Tel: +44 (0)7720 397526
Fax: +44 (0)20 8682 0012
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users