Re: [cli] Commons CLI version 2.0?

2006-04-09 Thread sebb
On 05/04/06, Andrew Shirley [EMAIL PROTECTED] wrote: On Fri, Mar 31, 2006 at 02:29:25PM +0100, Tim Troup wrote: Hi, I am starting a new project and wish to use Commons CLI to handle command line processing. What version is recommended for use? I don't know what to recommend but I

Re: [cli] Commons CLI version 2.0?

2006-04-05 Thread Andrew Shirley
On Fri, Mar 31, 2006 at 02:29:25PM +0100, Tim Troup wrote: Hi, I am starting a new project and wish to use Commons CLI to handle command line processing. What version is recommended for use? I don't know what to recommend but I found version 2 a lot easier to use. However as it hasn't

Re: [cli] commons cli version 2.0?

2004-10-08 Thread Rob Oxspring
Probably should switch this thread to commons-dev@, are you subscribed there? Andrew Ferguson wrote: Thanks for that, I've added a new test (based on yours) and fixed existing ones. It turns out that GroupImpl was only validating options that are present and skipping those that were missing.

RE: [cli] commons cli version 2.0?

2004-10-07 Thread Andrew Ferguson
Thanks for that, I've added a new test (based on yours) and fixed existing ones. It turns out that GroupImpl was only validating options that are present and skipping those that were missing. I've fixed this in cvs but no binary is available yet. ok thanks, I've updated my local checkout now

RE: [cli] commons cli version 2.0?

2004-10-01 Thread Andrew Ferguson
a number of things I think. thanks, Andrew -Original Message- From: Rob Oxspring [mailto:[EMAIL PROTECTED] Sent: 24 September 2004 12:15 To: Andrew Ferguson; Jakarta Commons Users List Subject: Re: [cli] commons cli version 2.0? Hi, (cc to commons-user since this may be useful to others

Re: [cli] commons cli version 2.0?

2004-10-01 Thread Rob Oxspring
Comments inline Andrew Ferguson wrote: hi, thanks very much for the information :) 8 detail snipped 8 1) There is only one OptionException to cover all problems - is the idea to use the Option available to infer any additional detail you need? This seems

RE: [cli] commons cli version 2.0?

2004-10-01 Thread Andrew Ferguson
hi, My early versions of the CLI2 model included several exceptions covering the various situations but we merged them all into one feeling that people were unlikely to be interested in the differences. I assume you want to know, for a given exception, whether to give tool level help or

RE: [cli] commons cli version 2.0? (attachment inlined)

2004-10-01 Thread Andrew Ferguson
sorry the attachment seems to have failed - here is the plain text: package org.apache.commons.cli2.application; import java.io.*; import javax.swing.*; import junit.framework.TestCase; import org.apache.commons.cli2.*; import org.apache.commons.cli2.Group; import

Re: [cli] commons cli version 2.0?

2004-10-01 Thread Rob Oxspring
Andrew Ferguson wrote: hi, My early versions of the CLI2 model included several exceptions covering the various situations but we merged them all into one feeling that people were unlikely to be interested in the differences. I assume you want to know, for a given exception, whether to give

Re: [cli] commons cli version 2.0?

2004-09-24 Thread Rob Oxspring
Hi, (cc to commons-user since this may be useful to others) CLI2 is about ready, just waiting for one last bugfix (ready to commit) and a little documentation. Unfortunately I'm snowed under with the day job at the moment so am not sure when I'll get it finshed. I guess the new feature list