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: Open and read file with ant and then copy
Date Mon, 10 Sep 2007 07:48:41 GMT
 
Hi,

-----Original Message-----
From: Mitja B. [mailto:info@mitjab.com] 
Sent: Monday, September 10, 2007 9:45 AM
To: user@ant.apache.org
Subject: Open and read file with ant and then copy

/*
I have big problem. I search but can not find and solution.

We want to open some file, for example project.txt

in it we will have content like this

inst\mm\connection.xml proj\rtu\connection.xml

we want now that ant read this file and copy connectiion.xml from
inst\mm
directory to proj\rtu directory

How can we do this with ant, or even better is this possible?
*/

<loadfile ...>
  <filterchain>...</filterchain>
</loadfile>

or via <script>

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