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=32525>. 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=32525 Summary: Parser breaks up command line parms into single characters Product: Commons Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: CLI AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The base Parser class used to pull tokens from a command line breaks up command line options longer than 1 character. For example, -file becomes -f - i -l -e. This can be duplicated with the Ant example shown in the user guide. This is probably the cause for bug http://issues.apache.org/bugzilla/show_bug.cgi?id=31464 section 1 and 2. I have worked up a patch that fixes this problem and all of the JUnit tests run correctly after this patch is applied. There appear to be some shortcomings in the way the Parser class processes options. The main problem is that it doesn't maintain a state value indicating what is being processed so option parameters can be interpreted as options. To fix this the code needs to be reorganized. Because of this, I can't say this patch will work in every case but it is an improvement. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
