You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by ve...@bankone.com on 2005/06/07 22:51:57 UTC

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

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.


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

Posted by Jeffrey E Care <ca...@us.ibm.com>.
Even a *cursory* examination of the manual would reveal that you can use 
the <ant> or <subant> tasks for this purpose.

-- 
Jeffrey E. Care (carej@us.ibm.com)
WebSphere Build SWAT Team Lead
WebSphere Build Tooling Lead (Project Mantis)
https://w3.opensource.ibm.com/projects/mantis


venkatesan_gandhi@bankone.com wrote on 06/07/2005 04:51:57 PM:

> 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.
> 

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

Posted by "Brad G. Kyer" <bg...@yahoo.com>.
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@bankone.com 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@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org