dcsimg
Hi, Anybody know to to call another build.xml file within one build.xml ?
4 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Wednesday, April 4, 2007 04:56 AM

Hi, Anybody know to to call another build.xml file within
one build.xml ?

Re: Hi, Anybody know to to call another build.xml file within one build.xml ?

Posted By:   Anonymous  
Posted On:   Sunday, April 8, 2007 01:46 PM

Re: Hi, Anybody know to to call another build.xml file within one build.xml ?

Posted By:   Dharma_S  
Posted On:   Friday, April 6, 2007 08:21 AM

Here is an example to the question you asked















the above code will invoke a target appc in utilities.xml file from current xml's appc target with some properties like classpath and memory settings.

Re: Hi, Anybody know to to call another build.xml file within one build.xml ?

Posted By:   Robert_Lybarger  
Posted On:   Wednesday, April 4, 2007 08:36 AM

There is a core ant task called "ant" which lets you run a build file. See the usual manual. There are a few limitations (IMO, long-standing bugs) with using it -- specifically a lot of your command line argument settings get thrown away in the sub-build. Still, if you aren't doing anything exotic, it should work okay.

Re: Hi, Anybody know to to call another build.xml file within one build.xml ?

Posted By:   Anonymous  
Posted On:   Wednesday, April 4, 2007 07:04 AM


Try this :



About | Sitemap | Contact