ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe Bonnardel" <philippe.bonnar...@winsoft.fr>
Subject RE: append line to a list of file
Date Wed, 04 Jun 2003 17:05:24 GMT
Hi Peter

Ok I got this, but how to you access to each file in this case in order
to append to each file something?

Philippe


-----Original Message-----
From: peter reilly [mailto:peter.reilly@corvil.com] 
Sent: Wednesday, June 04, 2003 6:54 PM
To: Ant Users List
Subject: Re: append line to a list of file


Use Pathconvert:
  <filelist dir="." files="build.xml,k.xml" id="filelist"/>
  <pathconvert property="converted" pathsep="${line.separator}"
               refid="filelist"/>
  <echo message="converted is ${line.separator}${converted}"/>

Peter
On Wednesday 04 June 2003 16:11, Philippe Bonnardel wrote:
> Hi all
>
> I'm guetting an head-ach on this.
> I'd like to add new lines to a list of file.
> I was thinking about using fileset and echo but how to get the file 
> one by one in order to echo my carriage returns in each file of the 
> fileset. Should I use antcall? If so, how?
>
> Hope somebody was facing a kind of same issue.
>
> Thanks for any answer
>
> Regards
>
> Philippe Bonnardel.
> ---------------------------------------------------------------------
> E-Paper Software Engineer
> Winsoft S.A. ( <http://www.winsoft.fr/> http://www.winsoft.fr)  
> <mailto:philippe.bonnardel@winsoft.fr> philippe.bonnardel@winsoft.fr
> Tel: +33 438 022 231  Fax: +33 438 022 211
> --------------------------------------------------------------------


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


Mime
View raw message