ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10329] - depends used in parallel not synchronized
Date Tue, 02 Jul 2002 06:27:27 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10329>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10329

depends used in parallel not synchronized

stevel@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From stevel@apache.org  2002-07-02 06:27 -------
the good news: there is no inconsistency here between stuff executed in parallel
with stuff executed normally.

the bad news: works as designed. From the antcall documentation
"When a target is invoked by antcall, all of its dependent targets will also be
called within the context of any new parameters. For example. if the target
"doSomethingElse" depended on the target "init", then the antcall of
"doSomethingElse" will call "init" during the call. Of course, any properties
defined in the antcall task or inherited from the calling target will be fixed
and not overridable in the init task -or indeed in the "doSomethingElse" task. "


So, you thought there was some kind of race condition causing dependencies to
execute more than once; really that always happens when you run antcall, that is
effectively executing a target graph. Sorry for the confusion.

marking as not-a-bug

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message