LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 07-29-2010, 09:24 AM   #1
forquare
LQ Newbie
 
Registered: Jul 2010
Distribution: OpenSolaris, OS X
Posts: 6

Rep: Reputation: 0
Non-GNU based Getopts for Java?


Hi all,

I'm looking for a version of Getopts for Java that isn't licensed under the GPL and accepts long options (i.e. both -h and --help).
My code is licensed under BSD and I don't really want to change that just because a module uses the GPL...

Thanks,
Ben
 
Old 07-31-2010, 12:55 AM   #2
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Wow - most people wouldn't even CARE.

But since you obviously do ...
... remember: newer BSD licenses are entirely compatible with the GPL.

If it's still a show-stopper for you, two alternatives might be:

1. Google for other Java getopts implementations (there are several - but you're likely to find yourself in the same boat)

.. or ..

2. Simply write that subset of "getopts()" functionality that you happen to be using in your application by yourself, in your own class (and license it however you please).

'Hope that helps ..PSM
 
1 members found this post helpful.
  


Reply

Tags
java


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Java Based Application throws "java.lang.NoClassDefFoundError" ConfigMan_08 Linux - Newbie 10 12-22-2008 04:58 PM
LXer: GNU/Linux for Christians: Kubuntu-based Ichthux Beta5 is out LXer Syndicated Linux News 2 08-27-2006 11:11 AM
java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit artemis8543 Linux - Newbie 4 05-16-2006 08:38 PM
GNU based c++ cross compiler unable to link c library k_taid Programming 1 06-29-2005 09:38 AM
Web-based apps: ActiveX/Java:Windows <--> ${???}:GNU/Linux johnMG Programming 3 12-03-2004 08:37 PM


All times are GMT -5. The time now is 10:55 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration