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

Allow EnumeratedAttributes zu hold values caseinsensitive

           Summary: Allow EnumeratedAttributes zu hold values
                    caseinsensitive
           Product: Ant
           Version: 1.6Alpha (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


<echo> as example.

Echo defines the EchoLevel "info","warning",... so you have to write exactly 
that: <echo level="info"/> If you wan´t to be able to write <echo 
level="INFO"/> you have to put "INFO" as additional value. "Info" ... come, too.

This make sence if the value is written in the buildfile but retrieved from 
external.

If you extend EnumeratedAttribute to support caseinsensitivity this is very 
simple. 


I wrote an implementation which allows subclasses of EnumeratedAttribut to be 
caseinsensitive by overriding the (new) method "public boolean isCasesensitive
()". Attached a Zip-File containing the new sources (implementation and test) 
and diffs.

Reply via email to