= AnnotationManagerN4J = AnnotationManagerN4J is an annotation server compatible with the [[http://okfnlabs.org/annotator/|Annotator]] client implementing the [[https://github.com/okfn/annotator/wiki/Storage|Annotator storage API]] (with some extensions). It is written in Java using the [[http://www.restlet.org/|Restlet]] framework and the [[http://neo4j.org/|Neo4J]] graph database. It is built using [[http://maven.apache.org/|Maven]]. == Source == The source code can be browsed [[source:AnnotationManagerN4J|here]] or in the [[http://mercurial.selenic.com/|Mercurial]] repository at https://it-dev.mpiwg-berlin.mpg.de/hg/AnnotationManagerN4J/ == Building == To check out and build AnnotationManagerN4J you need [[http://mercurial.selenic.com/|Mercurial]] and [[http://maven.apache.org/|Maven]]: 1. `hg clone https://it-dev.mpiwg-berlin.mpg.de/hg/AnnotationManagerN4J` 2. `cd AnnotationManagerN4J` 3. `mvn package` (this produces the web-app as a directory `target/AnnotationManager` or war file `target/AnnotationManager.war`) === Prerequisites === Before you can build AnnotationManagerN4J you need the [[http://code.google.com/p/jsontoken|jsontoken]] library in version 1.1 which is currently not automatically included by Maven. You have to check out the source code from http://code.google.com/p/jsontoken/source/checkout using SVN and build with Maven: 1. `svn checkout http://jsontoken.googlecode.com/svn/trunk/ jsontoken` 2. `cd jsontoken` 3. `mvn install`