Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 2.07 KB

README.md

File metadata and controls

54 lines (37 loc) · 2.07 KB

Contijac

Contijac is a continuous build tool for Java develoment. It is very small and far from a complete continuous integration and delivery system. Contijac just builds Java sources on every detection of changes in your files.

Key points

  • small
  • CLI tool
  • focused on one single task: compiles java sources and resources
  • uses JDK internal Java compiler
  • optionally runnable with a configuration file in json format
  • clean source code:
    • use it to learn how to make programmatic uses of the internal Java compiler
    • use it as part of a more complex self-made building solution
  • Apache License 2.0

Notes & limits

  • Contijac doesn't delete files from the compilation destination folder, so for example if you delete a Java source the relative compiled class/es won't be removed, and the same applies to resource files. This also means that renaming Java sources and resources does not remove the old-named corrispective files, just adds the new ones. Pull requests are welcome, even those made to remove this limit.
  • this is a recent tool, I use it in production but proceed with caution to test if it's really suitable for your use case.

Usage

A precompiled (and packaged with all the dependencies) contijac.jar binary is present in the directory release. Just execute:

java -jar contijac.jar --help

and instructions on how to use the program will be displayed.

How to build

To build Contijac download the sources from this repository and also the sources of the only three dependecies:

Feel like sponsoring this project?

Compliments, it's a very good idea. 🤗
You can do so right here: Sponsor @ansorre on GitHub sponsors
Why it's a good idea? Read here.

Quick links