Deployment Guide
Pre-requisite:
JDK 1.7
Maven 3
The recommended way of deploying JSAGA is to declare it as a maven dependency of your Java project. To do this, copy-paste the following lines in your maven POM file:
In the section “repositories”
<repository> <id>in2p3-maven2-repository-libraries</id> <url>http://maven.in2p3.fr</url> </repository>
In the section “dependencies”
<dependency> <groupId>fr.in2p3.jsaga</groupId> <artifactId>jsaga-engine</artifactId> <version>1.2.0-SNAPSHOT</version> </dependency> <dependency> <groupId>fr.in2p3.jsaga.poms</groupId> <artifactId>jsaga-adaptors</artifactId> <version>1.2.0-SNAPSHOT</version> </dependency>
Alternatively, entering the command "mvn install" allows for packaging all the libraries into a single tarball or zip file.
Unpack either the tarball, or the zip file:
tar -zxvf jsaga-installer/build/jsaga-installer-1.2.0-SNAPSHOT-bin.tar.gz
unzip jsaga-installer/build/jsaga-installer-1.2.0-SNAPSHOT-bin.zip
This will unpack the Java libraries under the directory jsaga-1.2.0-SNAPSHOT/lib/
. These libraries are then available to any Java application declaring them in its classpath.
Last updated