RE: Passing multiple targets from one build.xml to another build.xml

2012-03-01 Thread Holman, Chris
This is how I'd approach the problem. (I haven't tried it, so there may be some bugs in there): Regards, Chris Holman, Chordiant/STAR Build Engineer gTa

Re: Passing multiple targets from one build.xml to another build.xml

2012-03-01 Thread Swayam Prakash Vemuri
What I meant by I have only build xml, is I dont have build_abcd.xml and neither I have build_xyz.xml. Say that I have just build.xml with some targets defined. And Iam not invoking any other build xml from this build.xml, that being the case ant understands howmany ever targets I give dynamically

Re: Passing multiple targets from one build.xml to another build.xml

2012-03-01 Thread Swayam Prakash Vemuri
Thanks much Chris for the quick reply. Full marks to your reasoning, yes by mistake I have not specified any target it was invoking default target which was deploy. But had it been this way, say that, Iam not invoking two different build xmls, say I have only one build xml, in that case I am able

RE: ANT Server faulting

2012-03-01 Thread Benjamin Bryan
Okay, sorry about that. I'm not sure what an antserver is either, but we've got one. We ended up finding the problem was a corrupt xml file. Thanks. Ben -Original Message- From: Stefan Bodewig [mailto:bode...@apache.org] Sent: Wednesday, February 29, 2012 9:09 PM To: user@ant.apache.

RE: Passing multiple targets from one build.xml to another build.xml

2012-03-01 Thread Holman, Chris
The ant task calls the default target of the project being called if you haven't declared a target in the ant task (that's probably why deploy target is running). If the targets are static you can do this: javabuild

Passing multiple targets from one build.xml to another build.xml

2012-03-01 Thread Swayam Prakash Vemuri
Hi All, In my topmost build.xml Iam doing below Now I am invoking ant as below ant -Dproduct=abcd javabuild deploy It is executing build_abcd.xml but it onl