Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 44343 invoked from network); 15 Aug 2007 08:42:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Aug 2007 08:42:53 -0000 Received: (qmail 69814 invoked by uid 500); 15 Aug 2007 08:42:42 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 69745 invoked by uid 500); 15 Aug 2007 08:42:42 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 69724 invoked by uid 99); 15 Aug 2007 08:42:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 01:42:42 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [213.165.225.90] (HELO dimen.russel.org.uk) (213.165.225.90) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 08:42:53 +0000 Received: from [192.168.1.3] (balin.russel.org.uk [192.168.1.3]) by dimen.russel.org.uk (Postfix) with ESMTP id 7B4EF4BBBA; Wed, 15 Aug 2007 09:42:16 +0100 (BST) Subject: Re: Commons CLI issue From: Russel Winder To: Jakarta Commons Users List In-Reply-To: <31cc37360708140716j4447d20co15182b5ed1027b8e@mail.gmail.com> References: <1185899307.8698.100.camel@balin.russel.org.uk> <164D0ADE-C8FD-4EAA-BA63-33956B86B825@apache.org> <1186983472.15457.200.camel@balin.russel.org.uk> <3B490229-3817-42C0-869D-C584507EE5DF@apache.org> <1186993859.15457.245.camel@balin.russel.org.uk> <31cc37360708140716j4447d20co15182b5ed1027b8e@mail.gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-n4W48KF1+JgSua+3Vf7e" Date: Wed, 15 Aug 2007 09:42:16 +0100 Message-Id: <1187167336.15138.59.camel@balin.russel.org.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 X-Virus-Checked: Checked by ClamAV on apache.org --=-n4W48KF1+JgSua+3Vf7e Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2007-08-14 at 15:16 +0100, Henri Yandell wrote: > On 8/13/07, Russel Winder wrote: > > On Mon, 2007-08-13 at 09:19 +0200, Torsten Curdt wrote: > > > > > Please - please don't fork. I am sure we will get your patches in. We > > > just need someone to push for it. >=20 > +1 I'm hearing :-) > > I believe Henri is more interested in the 1.x branch, which is why the = 2.x > > branch has not been progressed, but I am speaking from a position of > > fairly deep ignorance. >=20 > I'm equally interested :) Cool. > Getting a 1.1 release out made the most sense with the time available > - plus Brian was energetic in that direction. When I tried to use CLI2 > I didn't like the API a lot, but I was just dabbling and not trying to > get the extra features that it supports (I assume). I seem to recall I > found it much more verbose than CLI1 which surprised me. I think getting 1.1 out was an excellent move and an excellent decision. The 1.x API is well known and makes some sense. I am only now looking at the 2.x API and because it is different, it is odd. I guess I need to write a few programs to see if it works. I definitely do not like having to say '--xml' as parameter when querying the command line, that strikes me a retrograde. I am assuming that the guys who created CLI2 created the new API not for the sake of it, but because there were serious, unrectifiable problems with the 1.x API. I guess the question is whether this really is the right position. > Now my energy for CLI is squarely available for CLI2 if there's > interest out there. Yes there is, unless all the problems that started the 2.x branch can actually be fixed in 1.x. > I can see a CLI 1.2 someday if need be, but hopefully it'll just be a > few bugfixes and we can have people use the snapshots for that branch. I have put one blocker issue in for 1.1, I can start generating a few more if that helps. What I would like to see is 1.x-SNAPSHOT in the Maven 2 snapshot repository so that progress towards 1.2 is clear and I can use it with bug fixes for the Groovy distribution. (We package Commons CLI in the Groovy distribution so I can go with snapshots :-) > > Clearly 1.1 has many bug fixes over 1.0 and so would be preferred. > > However the combination of the change of semantics with hasArgs and > > incorrect processing of parameters associated with the new semantics > > (cf. CLI-137) means that there appears to be a blocking problem in > > processing options such as -D where there can be any number of them on = a > > command line -- there appears to be no problem with options that do not > > have Option.UNLIMITED_VALUES set. >=20 > Any idea for how 2.0 works with this? Not at the minute, I will have to have a play with 2.x. I am not able to progress properly this in the next couple of weeks, but from mid-September onwards I can. For me moving the whole of Commons CLI from Maven 1 to Maven 2 as the primary build system would be good :-) --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder 41 Buckmaster Road m: +44 7770 465 077 London SW11 1EN, UK t: +44 20 7585 2200 --=-n4W48KF1+JgSua+3Vf7e Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBGwrxor2EGkixYSboRAvISAJ0Zwj6rAvJJdbKwiz52722ulfcEoACfb4Ep h6dIRZsGvXlfiYt5Ic50zng= =oqzq -----END PGP SIGNATURE----- --=-n4W48KF1+JgSua+3Vf7e--