Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 41629 invoked by uid 500); 15 Jul 2003 10:01:34 -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 41496 invoked from network); 15 Jul 2003 10:01:31 -0000 Received: from s-97-26.dsl.cleardatavoice.com (HELO gridnode.com) (202.83.97.26) by daedalus.apache.org with SMTP; 15 Jul 2003 10:01:31 -0000 Received: from daniel ([192.168.213.146]) by gridnode.com (8.11.6p2/8.9.3) with SMTP id h6FAARE02739 for ; Tue, 15 Jul 2003 18:10:27 +0800 Reply-To: From: "Daniel Joshua" To: "'Ant Users List'" Subject: RE: How to pass a fileset as parameter Date: Tue, 15 Jul 2003 18:02:06 +0800 Message-ID: <00a601c34ab8$2678e180$92d5a8c0@sgxdev.gridnode.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <879A5AD5DD0ED511891F0003473A9B5608FF6C2C@Z011004> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Jan, Thanks for the reply. > This seems interesting. I assume that this will work even with [inheritRefs="false"] ... ... Is this how is it done? >> includes="${patch*.sql}" > >I think you�re using the wrong includes pattern: ${patch}/*.sql ? ooops, typo: includes="patch*.sql" Regards, Daniel -----Original Message----- From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] Sent: Tuesday, 15 July, 2003 5:44 PM To: user@ant.apache.org Subject: RE: How to pass a fileset as parameter > Is there a way to pass a fileset as a parameter? You can pass the name of the reference or the scanned value. (Convert the fileset to a property or with ) > I been using the below method, however there is a problem with it now > as it also causes all other references to be passed as well. > > ... > dir="${dbscript.dir}" > includes="${patch*.sql}" I think you�re using the wrong includes pattern: ${patch}/*.sql ? > excludes="${excludes}"/> > > ... > > > param="sqlscript.file" > inheritall="true"> > > > > > ... ... Jan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org