Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 82106 invoked from network); 24 Aug 2007 11:08:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Aug 2007 11:08:04 -0000 Received: (qmail 57247 invoked by uid 500); 24 Aug 2007 11:07:59 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 57206 invoked by uid 500); 24 Aug 2007 11:07:59 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 57195 invoked by uid 99); 24 Aug 2007 11:07:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Aug 2007 04:07:59 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Aug 2007 11:07:49 +0000 Received: from z011100.bk.fin.local (z011100.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.14.0/8.14.0) with ESMTP id l7OB7QIO027511 for ; Fri, 24 Aug 2007 13:07:26 +0200 Received: from z011034.bk.fin.local ([130.11.7.34]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.0); Fri, 24 Aug 2007 13:07:26 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: Checking existence of folders with a particular naming convention | Need Help Date: Fri, 24 Aug 2007 13:07:26 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Checking existence of folders with a particular naming convention | Need Help Thread-Index: AcfmPdbwiNxIZ+4YR5GG9j+F/i6BMgAARKvQ From: To: X-OriginalArrivalTime: 24 Aug 2007 11:07:26.0203 (UTC) FILETIME=[F428E4B0:01C7E63E] X-Virus-Checked: Checked by ClamAV on apache.org Simply use Jan=20 >-----Urspr=FCngliche Nachricht----- >Von: Utpal Sen [mailto:shinjan.sen@gmail.com]=20 >Gesendet: Freitag, 24. August 2007 12:59 >An: Ant Developers List >Betreff: Re: Checking existence of folders with a particular=20 >naming convention | Need Help > >Hi, >Many thanks for the mail. >However in the verison of ant (1.6.5) I am using was=20 >not allowed >to be an nested property of > >so what I did was declared an refid for fileset and added that to >pathconvert: > > > > > refid=3D"file.name"/> > > > folder exists > > > >Many thanks for your suggestion. It worked. > >Regards, >Utpal > > > >On 8/24/07, Jan.Materne@rzf.fin-nrw.de=20 > wrote: >> >> see http://marc.info/?l=3Dant-user&m=3D115743516213282&w=3D2 >> >> Jan >> >> >> >-----Urspr=FCngliche Nachricht----- >> >Von: Utpal Sen [mailto:shinjan.sen@gmail.com] >> >Gesendet: Freitag, 24. August 2007 11:45 >> >An: dev@ant.apache.org >> >Betreff: Checking existence of folders with a particular >> >naming convention | Need Help >> > >> >Hi, >> >I wanted to check for the existence of folders having a fixed >> >pattern as >> >part of their name. >> >I checked the task but here I cannot pass a >> >regular expression >> >or wildcard character in the attribute 'file'. >> > >> >Following is my code (which is not working): >> > >> > >> > >> >> > file=3D"*utpal_***" >> > type=3D"dir"/> >> > >> > >> > folder exists >> > >> > >> > >> >I have folders named utpal_004500 and utpal_004600. I want to >> >check if any >> >folder that starts with the name utpal_ exists. >> >Kindly let me know how I can achieve this. >> > >> >Thanks >> >Utpal >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org >> For additional commands, e-mail: dev-help@ant.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org