Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: converted to 1.6 markup

...

This wiki site is used for discussion of topics associated with the commons-cli project whose home page is http://jakartacommons.apache.org/commons/cli/cli

...

CLI Release 2.0 is currently only available via snapshot from SVN. However here is a sample application to wet your appetites. ../CLI2/SampleApplication

...

News

Release 2.0 - Update

We are currently working on the final touches of releasing the 2.0 release. The tasks that remain are to improve code coverage, review and complete javadoc, and complete user documentation.CLI2 has been moved to the sandbox and becomes a separate project. Contributions are welcome!

Bad 1.0 release on Ibiblio (Maven)

...

The snapshot which was accidentally published on ibiblio contains a number of API differences from the actual 1.0 release. Most obviously, the snapshot jar contains classes OptionValidator and Util which are not present in the real 1.0 release.

Debate is currently occurring about the best way to resolve this issue.

For the moment, the best solution is to check the contents of your maven repository (~/.maven on unix/linux systems). If the incorrect file is there then download the 1.0 distribution from the Apache site or its mirrors and place the jar contained in that distribution into the maven repository manually.

Resources

Resolution

The old 1.0 jar was renamed to commons-cli-20040117.000000.jar and a correct commons-cli-1.0.jar put in place.

Resources

Articles

  • Extend the JDK Classes with Jakarta Commons, Part III - Explore Jakarta Commons components that enable you to parse arguments in a command-line application, connect to various file systems at the same time, allow an application to uniformly access configurations loaded from various sources, and pool any object. Wiki Markup\[wiki:/FAQ The Frequently Asked Questions Page (FAQ)\]