Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 987 Bytes

BUILDING.md

File metadata and controls

20 lines (14 loc) · 987 Bytes

Building CPILint

In order to build CPILint from source code on your local machine, you need to have the following software installed:

  • A Java 11 JDK for compilation
  • Apache Ant for performing the build
  • Apache Ivy for dependency management

Any Java 11 JDK should work, and the current versions of Ant and Ivy should work as well. If not, please create an issue on GitHub.

The Ant buildfile (build.xml) contains the following targets:

  • prepare: Creates all directories required by the build
  • clean: Removes all files and directories generated by Ant
  • dependencies: Retrieves dependencies with Ivy
  • compile: Compiles all source files
  • jar: Generates a JAR archive containing all classes
  • release: Generates a release archive for distribution

The Ivy file (ivy.xml) differentiates between compile time and run time dependencies, but at the moment all dependent libraries are needed at both compile and run time.