[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: java-getopt

hello Mariusz,

At 08:58 AM 8/27/01 +1200, Mariusz Nowostawski wrote:
>Hi Raif,
>Sounds good, please send it over to me and I will check it in and apply
>all necessary corrections, if others agree.

i'll do that in the next message.

>Two small questions though, how big is java-getopt...

the distribution (version 1.0.8), which includes source, makefiles, and 
readme, is ~42K (http://www.urbanophile.com/arenn/hacking/download.html).

>  and does one need it when running sablecc.jar..


>  (that would mean the need to set up correctly two
>jars instead of one, or, we would need to "link" java-getopt jar
>together with sablecc code into single jar - not sure we could do it
>though from a legal standpoint);

i'm no expert but my reading of the license tells me we can (bundle the lot 
in one sablecc.jar).

>what license is java-getopt distributed under? (if it is GPLed we
>simply cannot use it).

it's LGPL.  here is the banner from the source code:

/* LongOpt.java -- Long option object for Getopt
/* Copyright (c) 1998 by Aaron M. Renn (arenn@urbanophile.com)
/* This program is free software; you can redistribute it and/or modify
/* it under the terms of the GNU Library General Public License as published
/* by  the Free Software Foundation; either version 2 of the License or
/* (at your option) any later version.
/* This program is distributed in the hope that it will be useful, but
/* WITHOUT ANY WARRANTY; without even the implied warranty of
/* GNU Library General Public License for more details.
/* You should have received a copy of the GNU Library General Public License
/* along with this program; see the file COPYING.LIB.  If not, write to
/* the Free Software Foundation Inc., 59 Temple Place - Suite 330,
/* Boston, MA  02111-1307 USA