From user-return-48891-apmail-ant-user-archive=ant.apache.org@ant.apache.org Wed Mar 02 09:59:16 2005 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 24228 invoked from network); 2 Mar 2005 09:59:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Mar 2005 09:59:15 -0000 Received: (qmail 40097 invoked by uid 500); 2 Mar 2005 09:59:13 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 39189 invoked by uid 500); 2 Mar 2005 09:59:10 -0000 Mailing-List: contact user-help@ant.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 user@ant.apache.org Received: (qmail 39175 invoked by uid 99); 2 Mar 2005 09:59:10 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from web52909.mail.yahoo.com (HELO web52909.mail.yahoo.com) (206.190.39.186) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 02 Mar 2005 01:59:08 -0800 Received: (qmail 36458 invoked by uid 60001); 2 Mar 2005 09:59:06 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=fDLNuuR7lwayo3H3S0QA/PW3MEeOo6GTtXaEbW9AWfiqFPVKGLE7/eyRd1jS+Awfw8NxGZXjOv+six1J5bwqJ+UtIanfGOUtjUO6lb7t59sn9jheThmczjTXHr8JEJ+xC291/ZN26dVrVISDYq5g8Dh1y0Zq2W8x4DGcILoGoHY= ; Message-ID: <20050302095906.36456.qmail@web52909.mail.yahoo.com> Received: from [212.95.183.130] by web52909.mail.yahoo.com via HTTP; Wed, 02 Mar 2005 01:59:06 PST Date: Wed, 2 Mar 2005 01:59:06 -0800 (PST) From: Ivan Ivanov Subject: Re: includes property not working To: Ant Users List In-Reply-To: <422552c2.7b1ac9a7.0ef3.1188@smtp.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N David, --- David Resnick wrote: > I'm trying to include a list of files to delete in a > text file which is read > into a property (with properties expansion) and then > used in the includes > property of a fileset in a delete task. For some > reason when there are line > breaks in the text file, this isn't working! > > srcFile="ant.delete.txt"> > > > > > includeEmptyDirs="true"> > includes="${to.delete}" /> > > > If the list in the text file is separated by commas, > it works fine. I would recommend you to replace the line breaks in your file with commas. I tried to do it with regular expression, but I am not good at them. Here is my unsuccessfull attempt: Here we should do smth like that with regexps but the line below does not work :((> I hope someone from regexp gurus will help you. Regards Ivan __________________________________ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web http://birthday.yahoo.com/netrospective/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org