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