Getting the source code
Getting the source code
To get the latest stable release of jGISTools, use the following command:
svn co https://jgistools.svn.sourceforge.net/svnroot/jgistools/tags/release-0.1
To get the current development snapshot, use:
svn co https://jgistools.svn.sourceforge.net/svnroot/jgistools/trunk
Building the source code
To build jGISTools, you need a working Maven 2 instalation. Because jGISTools depends on JAI (Java Advanced Imaging), you need to install in your maven repo the JAI distribution.
First, download JAI 1.1.3 from: jai-1_1_3-lib.zip Download and extract the archive. Open a command prompt and change the current directory to the lib folder of the JAI distribution. In the lib folder you should see two jars:
- jai_codec.jar
- jai_core.jar
Now copy/paste the following command in the command prompt window:
mvn install:install-file -DgroupId=javax.media -DartifactId=jai-core -Dversion=1.1.3 -Dpackaging=jar -Dfile=jai_core.jar
After you have installed the JAI dependency into the local maven repo, change directory to the folder where you have checked out the jGISTools source code, and type:
mvn install
The source code should start building now.