commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell" <flame...@gmail.com>
Subject Re: [cli] bug found in ApplicationTest.java
Date Sat, 26 Apr 2008 15:06:56 GMT
Fixed. Guess that means the CLI port is of CLI v1 rather than CLI v2 :)

On Sat, Apr 26, 2008 at 6:21 AM, Schley Andrew Kutz
<akutz@lostcreations.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
>  Hash: SHA1
>
>  I think I found a bug in the GNU parser unit test in ApplicationTest.java
>
>  - ---
>
>  // use the GNU parser
>         CommandLineParser parser = new GnuParser( );
>         Options options = new Options();
>         options.addOption( "help", false, "print this message" );
>         options.addOption( "projecthelp", false, "print project help
> information" );
>         options.addOption( "version", false, "print the version information
> and exit" );
>         options.addOption( "quiet", false, "be extra quiet" );
>         options.addOption( "verbose", false, "be extra verbose" );
>         options.addOption( "debug", false, "print debug information" );
>         options.addOption( "version", false, "produce logging information
> without adornments" );
>         options.addOption( "logfile", true, "use given file for log" );
>         options.addOption( "logger", true, "the class which is to perform
> the logging" );
>         options.addOption( "listener", true, "add an instance of a class as
> a project listener" );
>         options.addOption( "buildfile", true, "use given buildfile" );
>  - ---
>
>  The version option appears twice, which throws an exception when run on my
> C# port (option already exists). If this is not a bug and I have incorrectly
> ported something, please let me know! Thanks!
>
>  - --
>  - -a
>
>  "condensing fact from the vapor of nuance"
>
>  gpg pubkey:         http://www.lostcreations.com/~akutz/akutz.gpg
>  lostcreations ca:  http://www.lostcreations.com/lostcreations.com-ca.crt
>
>  -----BEGIN PGP SIGNATURE-----
>  Version: GnuPG v1.4.7 (Darwin)
>
>  iD8DBQFIEyxfTg8lceyAqqQRAok6AJ0Zfo6vGqs78t/0c/boW5edwHMGaACgqQ/4
>  lFieVw1AYQZ/lqqcVUeOoEM=
>  =sTKm
>  -----END PGP SIGNATURE-----
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message