arenn / java-getopt Goto Github PK
View Code? Open in Web Editor NEWA Java option processor 100% compatible with the GNU C Library getopt
Home Page: http://www.urbanophile.com/arenn/hacking/download.html
A Java option processor 100% compatible with the GNU C Library getopt
Home Page: http://www.urbanophile.com/arenn/hacking/download.html
Currently the source code is under the GNU Library General Public License, which has been superseded by the GNU Lesser General Public License.
@arenn would it be ok for you, if the license would be updated to the LGPLv3, at least for the changes that I've made and those that I will make in my fork of your repository.
i have added the .jar file to my library, but i cant figure out how to import it to my class
I like how the Java docs include an example of how to use getopt, it's incredibly helpful in understanding how to apply getopt to my projects. Could we add an example snippet for getoptlong as well?
I'm trying to create an OSGi bundle from my source code that uses this library. And it fails with this message
[ERROR] Bundle group:artifact:bundle:1.0.0.alpha01-SNAPSHOT : Class in different directory than declared. Path from class name is GetoptDemo.class but the path in the jar is gnu/getopt/GetoptDemo.class from 'Jar:java-getopt-1.0.9.jar'
[ERROR] Error(s) found in bundle configuration
It looks like this is caused by the GetoptDemo class not declaring a package that matches how the class is packaged in the JAR file
Considering the fact that your great API is supposed to be used in a lot of different contexts like web service (Tomcat, Jetty, ...) as well as applications/other APIs it is very annoying to have calls to System.err.println which
In my case I have replaced all calls to System.err.println to throw new IllegalArgumentException which leaves it to the user/programmer to decide what he wants to do with the Exception
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.