Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
How to execute a build.xml inside another build.xml ?

How to execute a build.xml inside another build.xml ?

2005-06-07       - By Brad G. Kyer
Reply:     1     2     3  


Quite Easy...


 <!-- ************************ -->
 <!-- External Xml File calls  -->
 <!-- ************************ -->
 <target name="compile" depends="init" description="compile the source ">
    <ant antfile="${project.ant.files.root}/compile.xml" target="compile">

     <!-- enter you inherites etc here -->
    </ant>
 </target>


-B

--- venkatesan_gandhi@(protected) wrote:

> All,
>
> I  Just wanna execute "Build.xml " inside another file named
> "MasterBuild.xml"
>
> Kindly tell me ,what is the exact task name ?
>
> Thanks 'n' Advance,
> Venkat.
>
> This transmission may contain information that is privileged, confidential
> and/or exempt from disclosure under applicable law. If you are not the
> intended recipient, you are hereby notified that any disclosure, copying,
> distribution, or use of the information contained herein (including any
> reliance thereon) is STRICTLY PROHIBITED. If you received this transmission
> in error, please immediately contact the sender and destroy the material in
> its entirety, whether in electronic or hard copy format. Thank you.
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.