Binary Distribution (recommended)
To get the pre-built distribution (recommended), got to https://github.com/chb/indivo_client_java/downloads and select the latest distribution.
When using the pre-built distribution, skip the "Generate Rest.java ..." and the "Build Binary distribution" steps.
Source Distribution
The source distribution includes the Java source files, excepting "Rest.java" and "Rest_py_client_style.java", and it incudes Python code for generating "Rest.java" and "Rest_py_client_style.java".
Information for generating Indivo server client software, regardless of computer language, is contained in "detailed_api.xml"
indivo_client_java source includes code for generating "Rest.java" and "Rest_py_client_style.java" from detailed_api.xml,
instead of including Rest.java and Rest_py_client_style.java directly.
To get the source distribution:
cd <intended-source-installation-directory>
git clone git@github.com:chb/indivo_client_java.git
Pre-requisite: python 2.6 or equivalent.
cd indivo_client_java/client_codegen/bin
./genCodeFromPython.sh 1> temp1
./compile.sh
../../src/main/java/org/indivo/client/Rest.java
and ../../src/main/java/org/indivo/client/Rest_py_client_style.java
../javadoc.sh 1> temp1
../../javadoc
will be populated../jar_tar.sh
../../indivo_client_java-1.x.jar
and ../../indivo_client_java-1.x.tar
cp ../../indivo_client_java-1.x.tar <intended-binary-installation-directory>
cd <intended-binary-installation-directory>
tar -xf indivo_client_java-1.x.tar
indivo_client_java-1.x
directory.file:///<intended-binary-installation-directory>/indivo_client_java-1.x/README.html
for further instructions.