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: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to