ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Call another build.xml from within a build.xml
Date Tue, 08 Jun 2004 14:10:55 GMT

On Jun 8, 2004, at 9:59 AM, Jan.Materne@rzf.fin-nrw.de wrote:
>
> But if you use <subant> you may benefit from <import>:
>
> src
>   |  master.xml : compile does a <subant target="compile"> ...
>   |  common.xml : defines targets as usual
>   |
>   +-- module1
>   |     build.xml : only does a <import file="../common.xml"/>
>   +-- moduleN
>         build.xml : only does a <import file="../common.xml"/>
>
> Works nicely :)
>

Yes it does!  I used <subant> (wrapped in a <macrodef> called "crawl") 
along with <import> in my refactorings of the jakarta-lucene-sandbox 
contributions directory - in case anyone wants to see it in action.

	Erik


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


Mime
View raw message