You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/08/02 16:46:47 UTC

DO NOT REPLY [Bug 11418] New: - In repeated calls to the same target, params will not be passed in.

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

In repeated calls to the same target, params will not be passed in.

           Summary: In repeated calls to the same target, params will not be
                    passed in.
           Product: Ant
           Version: 1.5
          Platform: PC
               URL: http://john-mason.shackelford.org/ant/
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: shacjo@ncs.com


If one executes the calling task twice on the command line, the parameters are 
passed in correctly on the first execution, but not on additional executions. 
In subsequent executions, the called target's variables are set to those of the 
caller's environment as if it were called with inheritAll=true. This behavior 
is identical in both antcall and ant.

I have prepared a complete demonstration available at http://john-
mason.shackelford.org/ant/.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>