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/04/01 08:57:12 UTC

DO NOT REPLY [Bug 5662] - task fails to pass properties properly for nested sub projects

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

<ant> task fails to pass properties properly for nested sub projects





------- Additional Comments From holtdl@yahoo.com  2002-04-01 06:57 -------
This looks to be the reason why:
           if (inheritAll){
              newProject.setProperty(arg, value);
           } else {
              newProject.setUserProperty(arg, value);
           }

which means any attempt to reset a property in any cascading of further <ant>'s 
from the first one that has inheritAll="false" won't have any affect on the 
value of whatever properties were passed from that one. Although I can't say 
it's clear to me why the distinction between inheritAll being true vs. false is 
being made, or why it's that particular way around. (But I'm sure there was 
some good reason for it :)

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