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. [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From [EMAIL PROTECTED] 2003-08-05 11:52 ------- I see the problem here: With a smaller test case: <project name="antcall demo" default="feed.two"> <property name="animal" value="DEFAULT"/> <target name="feed"> <echo>animal ${animal} </echo> </target> <target name="feed.two"> <antcall target="feed"> <!-- ANT TASK --> <param name="animal" value="tiger"/> </antcall> </target> </project> The probem is that the antcall task object in target "feed.two" is executed twice. The second time, the init() method does not get called, and so "reinit()" gets called. This attempts to set the properties again. This behaviour was probally needed in per ant 1.6 or even pre ant 1.5 code. In any case it does not work now and it is not needed. reinit should simply call init(). I have just made the change in CVS (but forgot to associate the change with this bug report) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]