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 13632] - doc doesn't mention properties are immutable
Date Tue, 15 Oct 2002 19:18:30 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=13632>.
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=13632

doc doesn't mention properties are immutable

bloch@laszlosystems.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://jakarta.apache.org/an
                   |                            |t/manual/using.html#properti
                   |                            |es
           Severity|Enhancement                 |Normal
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |
            Summary|should error when condition |doc doesn't mention
                   |attempts to set property    |properties are immutable
                   |that has previously been set|



------- Additional Comments From bloch@laszlosystems.com  2002-10-15 19:18 -------
I understand now.

The "ant way" is to break backwards compatibility, make build files very hard
to debug, and insist that a "design" is correct even in the face of obvious
flaws.  I understand that the value of immutability for hierarchical systems,
but you've missed a subtlety.

Also..by "parser"... I meant ant's use of the "parser".  
It should be just 10 lines of code or so to use JDOM or some other xml parser
to determine if there are conflicting condition/property tags inside a task.
Really really easy.  

FYI... the documentation page doesn't appear to mention anything about
properties being immutable, either.  So at worst, this is a harmful
documentation error.  I've changed the summary and reopened.  Don't you just
love me yet?

http://jakarta.apache.org/ant/manual/using.html#properties

--
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