-
Notifications
You must be signed in to change notification settings - Fork 36
Getting Started
Basic steps:
- Install JDK 1.6 (or greater), Maven 2.0.9 (or greater)
- Download SIREn and unpack it
- Connect to the top-level of your SIREn installation
- Run maven
Set up your development environment (JDK 1.6 or greater, Maven 2.0.9 or greater)
We'll assume that you know how to get and set up the JDK - if you don't, then we suggest starting at http://java.sun.com and learning more about Java, before returning to this README. SIREn runs with JDK 1.6 and later.
Like many Open Source java projects, SIREn uses Apache Maven for build control. Specifically, you MUST use Maven version 2.0.9 or greater.
We'll assume you already did this, or you wouldn't be reading this file. However, you might have received this file by some alternate route, or you might have an incomplete copy of SIREn, so: SIREn releases are available for download from http://siren.sindice.com/ and snapshots from https://github.com/rdelbru/SIREn/archives/master.
Download the tarred/gzipped version of the archive, and uncompress it into a directory of your choice.
From the command line, change (cd) into the top-level directory of your SIREn installation.
SIREn's top-level directory contains the pom.xml file. By default, you do not need to change any of the settings in this file, but you do need to run maven from this location so it knows where to find pom.xml.
Assuming you have maven in your PATH, typing "mvn package" at the shell prompt and command prompt should run maven. Maven will by default look for the "pom.xml" file in your current directory, compile SIREn and run the tests.
The SIREn jar file will be located at "./target/siren-#{version}.jar".
To generate the javadoc, you should type "mvn javadoc:javadoc" at the shellprompt. Maven will generate the javadoc API in the directory "./target/site/apidocs/".