Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 32491 invoked from network); 12 Sep 2002 19:39:23 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 12 Sep 2002 19:39:23 -0000 Received: (qmail 23616 invoked by uid 97); 12 Sep 2002 19:39:52 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 23599 invoked by uid 97); 12 Sep 2002 19:39:52 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 23566 invoked by uid 98); 12 Sep 2002 19:39:51 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <20020912193916.30115.qmail@web20414.mail.yahoo.com> Date: Thu, 12 Sep 2002 12:39:16 -0700 (PDT) From: Matt Benson Subject: Re: Excluding lines from files? To: Ant Users List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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: For additional commands, e-mail: