Downloading and Installing jARVEST
Requirements
- Java Development Kit 1.6+
- Apache Maven 2.2 (Note: jARVEST has been migrated from Apache Ant to Maven on 28/01/2013)
Releases
Coming soon...
Downloading and building from sourcecode
Download the latest source as a zip. Or...
- Clone it from the github repository: http://github.com/lipido/jarvest
git clone https://github.com/lipido/jarvest.git
-
Go to the ./jarvest subfolder and build the project with maven (you will need ant installed on your system):
mvn package
-
Go to the ./target folder and run jarvest in command line:
java -jar jarvest-<version>-with-dependencies.jar
(You can build an executable shell script if you want. A bash script for Linux is provided: cmd/jarvest.sh)
Embedding jARVEST in your Java projects
My project also uses Maven
- Add the repository to your pom.xml
- Add the dependency to your pom.xml
- That's all. Now you can start developing and embedding robots. Please see examples
<repositories>
...
<repository>
<id>sing-maven2-repository</id>
<name>SING Maven Repository</name>
<url>http://sing.ei.uvigo.es/maven2</url>
</repository>
...
</repositories>
<dependencies>
...
<dependency>
<groupId>es.uvigo.ei.sing</groupId>
<artifactId>jarvest</artifactId>
<version>0.1</version><!-- select your version -->
</dependency>
...
</dependencies>
My project does not uses Maven
- You still need to build the project from source by executing mvn package
mvn package
- Copy the target/jarvest-<version>-with-dependencies.jar file into the classpath of your project
- That's all. Now you can start developing and embedding robots. Please see examples