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: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
