« Return to Thread: loading ant macros from external files

Re: loading ant macros from external files

by Rod Mackenzie-3 :: Rate this Message:

Reply to Author | View in Thread

2009/6/30 Dominique Devienne <ddevienne@...>:
> On Tue, Jun 30, 2009 at 8:46 AM, Sascha Ernst<sascha.ernst@...> wrote:
>> I have a bunch of ANT macros which are currently used by 1 project only.
>> In the future they should be used by more projects.
>> So I'd like to put them in a separate ANT script and load this at runtime into the
>> project ANT scripts.
>>
>> Has anyone an idea how to manage this?
>
> <import> works great. Not sure what Francis' issue with it where :) --DD

An alternative is to use an antlib and a typedef task to load the
macros, have a look at the following
http://ant.apache.org/manual/CoreTypes/antlib.html

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

 « Return to Thread: loading ant macros from external files