From user-return-69952-apmail-ant-user-archive=ant.apache.org@ant.apache.org Mon Feb 22 16:39:51 2010 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 68754 invoked from network); 22 Feb 2010 16:39:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Feb 2010 16:39:51 -0000 Received: (qmail 96591 invoked by uid 500); 22 Feb 2010 16:39:50 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 96513 invoked by uid 500); 22 Feb 2010 16:39:50 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 96503 invoked by uid 99); 22 Feb 2010 16:39:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Feb 2010 16:39:50 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=MIME_QP_LONG_LINE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [168.144.250.170] (HELO xsmtp07.mail2web.com) (168.144.250.170) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Feb 2010 16:39:39 +0000 Received: from [10.5.41.7] (helo=M2W107.mail2web.com) by xsmtp07.mail2web.com with smtp (Exim 4.63) (envelope-from ) id 1NjbJT-00010j-Uk for user@ant.apache.org; Mon, 22 Feb 2010 11:39:19 -0500 Message-ID: <380-220102122163916371@M2W107.mail2web.com> X-Priority: 3 Reply-To: james@webamoeba.co.uk X-Originating-IP: 195.217.226.30 X-URL: http://mail2web.com/ From: "james@webamoeba.co.uk" To: user@ant.apache.org Date: Mon, 22 Feb 2010 11:39:16 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: RE: Include Macros Defined in a Single Directory X-Virus-Checked: Checked by ClamAV on apache.org Thanks Adam for the reply=2E Seems I was being dumb about 1=2E8=2E0 (no comment lol)=2E I had not come = across before, will have to have a play with that when I get a chance :) Original Message: ----------------- From: Adam Peck AdamPeck@smarttech=2Ecom Date: Mon, 22 Feb 2010 08:12:28 -0700 To: user@ant=2Eapache=2Eorg, james@webamoeba=2Eco=2Euk Subject: RE: Include Macros Defined in a Single Directory If it does not support fileset that means you are using a version earlier than 1=2E8=2E0=2E If you use ant-contrib you can do this: =09 =09=09 =09 =09 =09=09 =09 -Adam -----Original Message----- From: James Kennard [mailto:james@webamoeba=2Eco=2Euk]=20 Sent: Sunday, February 21, 2010 4:11 AM To: Ant Users List Subject: Re: Include Macros Defined in a Single Directory Hi Matt thanks for the suggestion=2E Unfortunately import does not appear to support the type=2E When= =20 running this I get the following error: "import doesn't support the=20 nested fileset element"=2E I had another hunt around the internet and=20 found a solution (have yet to try it but it looks like it should work)=2E=20= For anyone who is interested take a look at Question 17 at=20 http://wiki=2Eapache=2Eorg/ant/AntNewbies james=2E Matt Benson wrote: > Ant 1=2E8=2E0 shipped with the ability to nest any resourcecollection in= to=20 > your import task: > > > > > > Should work for you=2E > > -Matt > > On Feb 19, 2010, at 5:52 PM, James Kennard wrote: > >> Hi, >> >> I have been defining macros in individual files and as a result every=20= >> time I add a new macro I am adding an import to a "import all macros"=20= >> type file=2E Because I store all the macros in one directory, is it=20 >> possible to import all the files located in this directory without=20 >> the need to maintain a "import all macros" type file=3F >> >> I appreciate there are some good reasons not to always import all the=20= >> macros, but I am only looking at doing this for relatively simple=20 >> build scripts (Canoo WebTests to be precise)=2E >> >> thanks :) >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@ant=2Eapache=2Eorg >> For additional commands, e-mail: user-help@ant=2Eapache=2Eorg >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant=2Eapache=2Eorg > For additional commands, e-mail: user-help@ant=2Eapache=2Eorg > > > > --- > avast! Antivirus: Inbound message clean=2E > Virus Database (VPS): 100220-1, 20/02/2010 > Tested on: 21/02/2010 10:31:42 > avast! - copyright (c) 1988-2010 ALWIL Software=2E > http://www=2Eavast=2Ecom > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant=2Eapache=2Eorg For additional commands, e-mail: user-help@ant=2Eapache=2Eorg --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant=2Eapache=2Eorg For additional commands, e-mail: user-help@ant=2Eapache=2Eorg -------------------------------------------------------------------- mail2web=2Ecom - Microsoft=AE Exchange solutions from a leading provider -= http://link=2Email2web=2Ecom/Business/Exchange --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org