You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by Andrew McNabb <am...@mcnabbs.org> on 2005/12/20 08:47:51 UTC
GNU Getopt
I'm on break right now, and I'm hoping to have a chance to get some
stuff done. One thing I would like to do for Nutch is to use GNU Getopt
(should be familiar for C coders out there) to make the command-line
utilities behave properly. I'm especially thinking of NDFS.
Would there be any objections or concerns about a patch that throws
the tiny getopt library into the tree and changes some argument
processing?
--
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868
Re: GNU Getopt
Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Dec 20, 2005, at 3:02 AM, Andrzej Bialecki wrote:
> I believe there is a similar library in Jakarta Commons, I don't
> know if it provides similar functionality...?
Jakarta Commons CLI:
http://jakarta.apache.org/commons/cli/
Re: GNU Getopt
Posted by Andrzej Bialecki <ab...@getopt.org>.
Andrew McNabb wrote:
>I'm on break right now, and I'm hoping to have a chance to get some
>stuff done. One thing I would like to do for Nutch is to use GNU Getopt
>(should be familiar for C coders out there) to make the command-line
>utilities behave properly. I'm especially thinking of NDFS.
>
>Would there be any objections or concerns about a patch that throws
>the tiny getopt library into the tree and changes some argument
>processing?
>
>
Regarding the functionality - I don't object. However, the GPL licenses
are incompatible with the Apache license, and GPL-licensed code is not
allowed in Apache projects.
I believe there is a similar library in Jakarta Commons, I don't know if
it provides similar functionality...?
--
Best regards,
Andrzej Bialecki <><
___. ___ ___ ___ _ _ __________________________________
[__ || __|__/|__||\/| Information Retrieval, Semantic Web
___|||__|| \| || | Embedded Unix, System Integration
http://www.sigram.com Contact: info at sigram dot com
Re: GNU Getopt
Posted by Doug Cutting <cu...@nutch.org>.
Andrew McNabb wrote:
> Would there be any objections or concerns about a patch that throws
> the tiny getopt library into the tree and changes some argument
> processing?
Not if you instead use http://jakarta.apache.org/commons/cli/.
Doug