I just added logging of what is going on when you make an <ant> or <antcall>
call - in verbose mode only. till now we had nothing.
One further thing I was debating doing, but want to get a reaction first, is
to tweak it so that if the target is "" then we treat that the same as
undefined, and execute the default.
the reason is that you cant have a parameterized invocation call the default
build:
<ant dir="subproject" target="${target}" />
and since you cant have a target called "" (right?) it makes sense to bind
this to the default.
(pause)
Ok, you can have a target called "", but I bet you would be stuffed
depending upon it:
>ant ""
Buildfile: build.xml
:
BUILD SUCCESSFUL
This leads to predecessor question. Should the empty string be a valid name
for a target. I think not, if we agree then we can stop it, and then I could
set <ant target=""> to mean default.
Does anyone use the empty string as target name in their build files?
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>