ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From McDonnell Colm <>
Subject RE: Call another ant buildfile
Date Fri, 01 Aug 2003 08:51:32 GMT
use the <ant> task, the following example will call the "child" target in
${child.dir}/build.xml, the <reference> elements are used to pass references
from the 'master' project to the 'child' project

<target name="master" description="calls a atrget in another build.xml">
		<ant inheritAll="false" dir="${child.dir}" target="child">
			<reference refid="${master.param.1}"
			<reference refid="${master.param.2}"

> -----Original Message-----
> From:	Tim Davidson []
> Sent:	Friday, August 01, 2003 9:49 AM
> To:
> Subject:	Call another ant buildfile
> Hi,
> How do I call another ant buildfile from one buildfile?
> i.e. something like
>  <ant buildfile=""/>
> Thanks in advance.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

This message and any files transmitted with it are confidential and intended solely for the
use of 
the individual or entity to whom they are addressed.  If you have received this message in
please delete it and any files transmitted with it, after notifying
Any opinions expressed in this message may be those of the author and not necessarily those
the company.  The company accepts no responsibility for the accuracy or completeness of any

information contained herein.  This message is not intended to create legal relations between
company and the recipient.
Recipients should please note that messages sent via the Internet may be intercepted and that

caution should therefore be exercised before dispatching to the company any confidential or

sensitive information.

Mizuho International plc
Bracken House, One Friday Street, London EC4M 9JA. TEL. 020 7236 1090
Registered in England No. 1203696. Registered office as above. Authorised and regulated by
the Financial 
Services Authority. A member of the London Stock Exchange. A member of Mizuho Financial Group
by Mizuho Financial Group, Inc. 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message