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 5662] - <ant> task fails to pass properties properly for nested sub projects
Date Mon, 01 Apr 2002 06:57:12 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=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:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message