ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: Call another build.xml from within a build.xml
Date Tue, 08 Jun 2004 13:59:54 GMT
Mmh - not a really 'call'. The imported things are part of your own :-)

...

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 :)


Jan



> -----Original Message-----
> From: Peter Reilly [mailto:peter.reilly@corvil.com]
> Sent: Tuesday, June 08, 2004 3:56 PM
> To: Ant Users List
> Subject: Re: Call another build.xml from within a build.xml
> 
> 
> Jan.Materne@rzf.fin-nrw.de wrote:
> 
> ><ant>
> ><subant>
> >  
> >
> and <import>
> Peter
> 
> >Jan
> >
> >  
> >
> >>-----Original Message-----
> >>From: Mikael Petterson (KI/EAB) 
[mailto:mikael.petterson@ericsson.com]
>>Sent: Tuesday, June 08, 2004 3:34 PM
>>To: 'user@ant.apache.org'
>>Subject: Call another build.xml from within a build.xml
>>
>>
>>Hi,
>>
>>How can I call another build.xml from my build.xml?
>>
>>BR
>>
>>//Mikael
>>
>>---------------------------------------------------------------------
>>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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message