You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Grant Ingersoll <GS...@syr.edu> on 2005/07/13 19:12:18 UTC

[CLI] IBiblio versus Apache Website

I am having a weird discrepancy in CLI that is causing a bug in my
code.

I am in the process of converting my projects to Maven.  In doing so, I
specified my commons-cli dependency as:
<dependency>
            <groupId>commons-cli</groupId>
            <artifactId>commons-cli</artifactId>
            <version>1.0</version>
        </dependency>

Everything downloaded from IBiblio
(http://www.ibiblio.org/maven/commons-cli/jars/) fine, or so I thought.

Upon doing so, though, tests that ran fine before now don't work. 
Before switching to Maven, I was building against a version of CLI I
downloaded from the Apache mirrors
(http://jakarta.apache.org/site/downloads/downloads_commons-cli.cgi). 
After pulling my hair out for I while (and debugging to isolate it in
CLI), I tried switching my CLI implementation from the Maven version to
the Apache download and it all worked again.  The bug seems to have to
do w/ an option where hasArgs is true

Upon further inspection of the Jars, which both claim to be 1.0, I
noticed that the IBiblio one is 32k while the Apache one is 30k.  The
30k one works, the 32k one does not.

Does anyone know why they are out of synch and how to remedy this?  I
_believe_ I can extract my code to reproduce the bug if the IBiblio one
in fact is the correct one.

Thanks,
Grant

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


Re: [CLI] IBiblio versus Apache Website

Posted by "Brian K. Wallace" <br...@transmorphix.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Grant Ingersoll wrote:
| I am having a weird discrepancy in CLI that is causing a bug in my
| code.
|
| I am in the process of converting my projects to Maven.  In doing so, I
| specified my commons-cli dependency as:
| <dependency>
|             <groupId>commons-cli</groupId>
|             <artifactId>commons-cli</artifactId>
|             <version>1.0</version>
|         </dependency>
|
| Everything downloaded from IBiblio
| (http://www.ibiblio.org/maven/commons-cli/jars/) fine, or so I thought.
|
| Upon doing so, though, tests that ran fine before now don't work.
| Before switching to Maven, I was building against a version of CLI I
| downloaded from the Apache mirrors
| (http://jakarta.apache.org/site/downloads/downloads_commons-cli.cgi).
| After pulling my hair out for I while (and debugging to isolate it in
| CLI), I tried switching my CLI implementation from the Maven version to
| the Apache download and it all worked again.  The bug seems to have to
| do w/ an option where hasArgs is true
|
| Upon further inspection of the Jars, which both claim to be 1.0, I
| noticed that the IBiblio one is 32k while the Apache one is 30k.  The
| 30k one works, the 32k one does not.
|
| Does anyone know why they are out of synch and how to remedy this?  I
| _believe_ I can extract my code to reproduce the bug if the IBiblio one
| in fact is the correct one.
|
| Thanks,
| Grant
|
| ---------------------------------------------------------------------
| To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
| For additional commands, e-mail: commons-user-help@jakarta.apache.org
|
|
|
There has been a thread ongoing about CLI 1.0 that appears to be in the
process of getting fixed as 1.0.1.

See:
http://mail-archives.apache.org/mod_mbox/jakarta-commons-user/200507.mbox/%3cBAY24-F241A52D16926FCD93093968AE60@phx.gbl%3e


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)

iD8DBQFC1UzFaCoPKRow/gARAoU4AJ4qt0bwMrsAEDjK/fkEbF5GgVOX6gCg4YVU
T1hTt9zJtdgIM6a3CdH24NQ=
=QMKS
-----END PGP SIGNATURE-----

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