Skip to content

The java getopt forks

libnoon edited this page Oct 8, 2015 · 20 revisions

arenn's java-getopt has a number of forks with many interesting additional features.

This page aims at describing the forks and the differences they make compared to arenn/java-getopt, and should help you choose a fork to clone for your specific use.

The list of forks/branches can be seen on https://github.com/arenn/java-getopt/network

Main forks

obourdon/master

Last commit: 06jan15

Build system: Maven, but arenn's buildx.xml and Makefile have been kept. Nontrivial pom.xml with deploy and checkstyle plugins.

link: https://github.com/obourdon/java-getopt/network

  • Add pom.xml for Maven builds
  • Delete *.class
  • .gitignore
  • Reindent
  • Add README.md
  • Possible small changes (hard to see with reindent)

popovb/master

Last commit: 20jan15

Build system: Ant.

link: https://github.com/popovb/java-getopt/network

  • Move files around
  • Fix build.xml; build.xml generates javadoc
  • Delete *.class, *.jar, *.tar.gz, *.html
  • .gitignore
  • Demo: add package gnu.getopt.demo
  • Remove Makefile

hildo/mstarVersion

Last commit: 03mar15

Build system: Maven (minimal pom.xml)

link: https://github.com/hildo/java-getopt/network

  • Add pom.xml for Maven builds
  • .gitignore
  • Demo: add package gnu.getopt
  • Copy (!) files into another directory tree
  • Reindent

typetools/master

Last commit: 11aug15

Build system: Makefile, but there is still arenn's unmodified Ant buildx.xml in gnu/getopt/

link: https://github.com/typetools/java-getopt/network

floscher/osm (osm = OpenStreetMap)

Last commit: 28apr15

link: https://github.com/floscher/java-getopt/network

  • Replace localization system: from java.util.Locale to org.openstreetmap.josm.tools.I18n
  • Remove *.class, *.jar, *.tar.gz
  • Remove trailing whitespace

floscher/master

Last commit: 22may15

Build system: Gradle only

link: https://github.com/floscher/java-getopt/network

  • Add Gradle support:
    • Add build.gradle
    • Add gradle-wrapper.jar into the repository (!)
    • Add scripts gradlew (GNU), gradlew.bat (Windows)
  • Remove *.class, *.html, *.jar, *.tar.gz
  • Remove trailing whitespace
  • Move files around to match src/main/java...
  • .gitignore
  • Remove Makefile
  • Remove buildx.xml (Ant)
  • Switch to LGPLv3
  • Move text files to Markdown (.md)

floscher/refactoring

Last commit: 23may15

Build system: Ant and Makefile.

link: https://github.com/floscher/java-getopt/network

  • Switch to LGPLv3
  • Add toplevel Makefile
  • Move files around
  • Remove *.class, *.html, *.jar, *.tar.gz
  • .gitignore
  • Remove Makefile

mernst/master

Last commit: 07jul15

link: https://github.com/mernst/java-getopt/network

  • Fix a null pointer dereference bug
  • (Only 3 lines changed)

Other forks

kevin-canadian/patch-1

Last commit: 06sep13

link: https://github.com/kevin-canadian/java-getopt/network

  • Add "package gnu.getopt".

thelastender/master

Last commit: 27nov14

link: https://github.com/thelastender/java-getopt/network

  • Create README.md

hildo/demoPackageDefined

Last commit: 03mar15

link: https://github.com/hildo/java-getopt/network

  • Demo: add package gnu.getopt
  • Reindent