ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@gmail.com>
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:

<import>
   <fileset dir="macrosDirectory" />
</import>

Should work for you.

-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 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message