Skip to content
This repository has been archived by the owner on Mar 24, 2019. It is now read-only.

Latest commit

 

History

History
48 lines (39 loc) · 1.29 KB

readme.md

File metadata and controls

48 lines (39 loc) · 1.29 KB

Jing Build Status

A RELAX NG validator in Java.

Building

After checking out from the repository, here's how to build.

  1. Ensure you have JDK 8 or older installed. All other dependencies are included in the repository.

  2. Set the JAVA_HOME environment variable to point to the directory where the JDK is installed. For example, on Linux do something like

    export JAVA_HOME=/opt/jdk1.8.0_10
    

    and, on Windows, do something like

    set JAVA_HOME=c:\Program Files\Java\jdk1.8.0_10
    
  3. Change your working directory to be root source directory (i.e. the directory containing this file).

  4. Run the ant script included in the repository. On Linux, use the command

    ./ant
    

    On Windows, use

    .\ant
    

    This runs the version of ant included in the repository. When the ant script completes, you should find jing.jar and trang.jar in the build directory. You can also tell ant to build the test target, which will build the jars and then run some tests. On Linux, use the command

    ./ant test
    

    On Windows, use

    .\ant test
    

Licence

Jing is licensed for use under the 3-Clause BSD License.