Michael Cepek wrote:
Ah, I see. The key point is that invoking a series of targets from the
command line:
$ ant clean-all build-all
doesn't work the same as:
Yes.
That's fine. I wasn't suggesting that Ant be changed. It's just
confusing and perhaps should be clarified in the manual.
I have
Ah, I see. The key point is that invoking a series of targets from the
command line:
$ ant clean-all build-all
doesn't work the same as:
That's fine. I wasn't suggesting that Ant be changed. It's just
confusing and perhaps should be clarified in the manual.
I have also noticed that tar
Michael Cepek wrote:
This doesn't seem right to me.
Well, right or wrong, that is the way Ant has worked since the start and
it will not be changed now. The paragraph you are quoting is about the
dependencies in a single Ant target evaluation. So if Laurie had a target
and he executes
ant targe
This doesn't seem right to me.
The "Using Ant" chapter of the "Ant User Manual" has always seemed
pretty clear on the subject:
"In a chain of dependencies stretching back from
a given target [...] each target gets executed
only once, even when more than one target
depends on it."
Great, thanks for the tip! :-)
L.
Matt Benson wrote:
Laurie:
Since Ant 1.6.3 you can have this behavior by setting
the magic property "ant.executor.class" to
"org.apache.tools.ant.helper.SingleCheckExecutor".
This is not documented in the 1.6.3 manual as was
intended, however. The situation will
Great, thanks for the tip! :-)
L.
Matt Benson wrote:
Laurie:
Since Ant 1.6.3 you can have this behavior by setting
the magic property "ant.executor.class" to
"org.apache.tools.ant.helper.SingleCheckExecutor".
This is not documented in the 1.6.3 manual as was
intended, however. The situation will
Laurie:
Since Ant 1.6.3 you can have this behavior by setting
the magic property "ant.executor.class" to
"org.apache.tools.ant.helper.SingleCheckExecutor".
This is not documented in the 1.6.3 manual as was
intended, however. The situation will be corrected in
the next release.
Thanks,
Matt
---
On May 6, 2005, at 8:41 PM, Laurie Harper wrote:
I was only expecting 'init' to be run once... that's the way I
remember things working. Am I doing something wrong, or is Ant?
You're not doing anything wrong... you're just remembering wrong :-)
The way it's working is the way it works.
cheers,
—ml