ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
Subject Re: Include Macros Defined in a Single Directory
Date Sat, 20 Feb 2010 14:41:02 GMT
Ant 1.8.0 shipped with the ability to nest any resourcecollection  
into your import task:

   <fileset dir="macrosDirectory" />

Should work for you.


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 time I add a new macro I am adding an import to a "import all  
> macros" type file. Because I store all the macros in one directory,  
> is it possible to import all the files located in this directory  
> without the need to maintain a "import all macros" type file?
> I appreciate there are some good reasons not to always import all  
> the macros, but I am only looking at doing this for relatively  
> simple build scripts (Canoo WebTests to be precise).
> thanks :)
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message