ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rod Mackenzie <rod.n.macken...@googlemail.com>
Subject Re: loading ant macros from external files
Date Tue, 30 Jun 2009 23:56:05 GMT
2009/6/30 Dominique Devienne <ddevienne@gmail.com>:
> On Tue, Jun 30, 2009 at 8:46 AM, Sascha Ernst<sascha.ernst@living-e.com> 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@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message