ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: Excluding lines from files?
Date Thu, 12 Sep 2002 19:39:16 GMT
What kinds of files are they?  If, for example, they
were Java files or some other kind of file with the
concept of a comment, you might be able to use the
replaceregexp task and comment out whole lines
containing the given string.

-Matt

--- Jakub.Valenta@Deio.net wrote:
> Hi all,
> I would like to ask if it is possible to convince
> Ant to exclude some 
> lines from files (during copying or so).
> I was looking at several FilterReaders, but I
> haven't found any solution.
> 
> I need to be able to exclude all lines which contain
> given string. I was 
> bit trying the regexp filter, but I didn;t manage to
> do it.
> 
> any help appreciated
> 
> br,
> 
> Jakub


__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

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


Mime
View raw message