commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31007] New: - [PATCH] [CLI] Default Values for Arguments at definition stage
Date Thu, 02 Sep 2004 00:08:31 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=31007>.
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=31007

[PATCH] [CLI] Default Values for Arguments at definition stage

           Summary: [PATCH] [CLI] Default Values for Arguments at definition
                    stage
           Product: Commons
           Version: 2.0 Beta 1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: CLI
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: tech@craftbits.com


Sorry, I don't have CVS access at my current work and therefore this may not 
be the right way to submit this patch, but I wanted to get this out before the 
weekend.

[CLI2 - B1]
The functionality of using default values for Arguments at definition stage 
does not work. I looked at the test cases and the test cases relating to this 
functionality have been commented out, so my guess is that it may have been 
left for a later release. I have done a quick fix, which may or may not be the 
best way, but it doesn't break any existing functionality and seems to fulfill 
the requirement.

Changes are in three files, ArgumentImpl.java (in method processValues), in 
WriteableCommandLine.java (added a new method called addDefaults in this 
interface) and WriteableCommandLineImpl.java (implemented the addDefaults 
method).

I will attach the three files after submitting the bug.

-- 
Vikram

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


Mime
View raw message