Hi Russel,
On Jul 15, 2008, at 4:22 PM, Hans Dockter wrote:
Hi Russel,
On Jul 14, 2008, at 2:04 PM, Russel Winder wrote:
Hans,
On Mon, 2008-07-14 at 13:34 +0200, Hans Dockter wrote:
The help output of JOpt Simple need improvement. Except this, it is
an excellent library under _active_ development. And we are
refactoring the core to Java. Our Main class is already written in
Java, therefore we don't use the Groovy wrapper for command line
processing. JOpt is very nice to use from java. I'm surprised of
your
sudden fondness of commons-cli ;)
It is possible that Commons CLI 1.2 and indeed Commons CLI 2.0
will be
released in the next few weeks. I have been pushing for the Commons
people to either do some work on CLI or declare it dead.
Gant main class is still in Groovy and so I am trying to get rid
of the
explicit dependence on Commons CLI by using only CliBuilder and
its API.
The only problem is that Commons CLI 1.0 is broken.
Paul Holser, the lead of JOpt has already fixed the bug. The 2.4.1
release which supposed to happen today. Than I will upgrade.
One thing I like with JOpt Simple is that you can do: gradle clean
libs -Dskip.test
AFAIK with commons-cli you have to stick to: gradle -Dskip.test
clean libs
I have updated Head to use the new JOpt simple 2.4.1. The help output
is fine now.
What you can also do with JOpt simple is: gradle clean -Dskip.test libs
This arbitrary positioning of parameters is really cool when you work
with the history of the command line and just wan to add a skip or
whatever.
- Hans
--
Hans Dockter
Gradle Project lead
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email