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 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: C# implementation of Jakarta-Commons

2004-08-04 Thread Andrew Ferguson
this is also my plan - am hoping that ikvm and the ClassPath project mature enough to let me run my current java application on the .NET CLR without changes. I also like quite a lot of the changes they made from java for C# - it seems they have made a few more concessions to C++ programmers, and

RE: C# implementation of Jakarta-Commons

2004-08-03 Thread Andrew Ferguson
ikvm might be able to compile the jar directly for .NET? http://weblog.ikvm.net/ -Original Message- From: Bart Read [mailto:[EMAIL PROTECTED] Sent: 03 August 2004 11:22 To: [EMAIL PROTECTED] Subject: C# implementation of Jakarta-Commons Dear All, I've been a user of the Commons

RE: C# implementation of Jakarta-Commons

2004-08-03 Thread Andrew Ferguson
, any pure java jar which doesn't use too recent API (ie the Classpath open-source project supports all the used API) will compile ? -Original Message- From: Andrew Ferguson [mailto:[EMAIL PROTECTED] Sent: 03 August 2004 13:41 To: Jakarta Commons Users List Subject: RE: C# implementation

RE: commons-cli processing options incorrectly?

2004-07-19 Thread Andrew Ferguson
this also seems to happen with the current cvs image - I'm not sure what the CLI 2.0 classes are though - is anyone still working on the pre-2.0 classes? -Original Message- From: Andrew Ferguson [mailto:[EMAIL PROTECTED] Sent: 15 July 2004 18:40 To: Jakarta Commons Users List Subject

commons-cli processing options incorrectly?

2004-07-15 Thread Andrew Ferguson
hi, this could be me misunderstanding the posix standard but this link http://java.sun.com/docs/books/tutorial/essential/attributes/_posix.html says Options that do not require arguments can be grouped after a hyphen, so, for example, -lst is equivalent to -t -l -s. but