Skip to content

andrewkeller/Java-Common-KFS-BSD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the Java Common KFS BSD library.

LIBRARY CONTENTS

This library currently provides the following items:

  - LinearArgDesequencer - A class that assists in parsing command-line arguments.


REPOSITORY USAGE

It is intended that this repository be used as a submodule, although it is completely self-sustaining with regard to internal test cases.

The intended usage of this repository is as follows:

  My Great Project Foo
  |
  |- src/
  |  |- org/
  |     |- companyname/
  |        |- foo/
  |           |- MyGreatClass.java
  |- lib/
     |- jckb/
     |- junit/

In other words, it is expected that you keep your source tree as you would normally, and include this repository as a submodule located in the 'lib' folder in your Java tree, along with any other libraries you might have, such as JUnit.

Once this repository is added, you can use sourcepath extension to include this code in your builds:

  javac -sourcepath src:lib/jckb/src -d bin src/org/companyname/foo/MyGreatClass.java

And then run just like normal, because the compiled files from this repository are now in your bin folder:

  java -classpath bin org.companyname.foo.MyGreatClass

This repository uses the above technique to include the JUnit repository, except that because the JUnit repository can be build nicely as a JAR file, the library is included using classpath extension rather than sourcepath extension.


INITIALIZATION

Currently, all of the code in this repository can compile without checking out any submodules.

On the other hand, if you intend to develop for this repository, then you will want the unit tests, for which you will need to checkout the submodules (currently only JUnit, but hey - things can change).

The following command should successfully add this repository as a submodule in your repository:

  git submodule add git://github.com/andrewkeller/Java-Common-KFS-BSD.git lib/jckb

About

Open-source common code for the language Java.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages