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 38308] New: - Properties are immutable
Date Wed, 18 Jan 2006 12:23:37 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38308>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38308

           Summary: Properties are immutable
           Product: Ant
           Version: 1.6.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: vnicolici@zapp.ro


The properties should not be immutable.

The "property" task and other tasks that set properties should support 
a "overwrite" attribute with a default of "false".

Sample usage:

<property name="list-target" value="clean" overwrite="true" />

IMHO the current behaviour causes more problems than benefits.

I'm writing ANT scripts since 2004, and I still can't "get used", to this 
extremely annoying behaviour.

Just imagine how quickly the Java programming language would become extinct if 
the variables would become immutable after initialization.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message