| 1 | = AnnotationManagerN4J = |
| 2 | |
| 3 | AnnotationManagerN4J is an annotation server compatible with the [[http://okfnlabs.org/annotator/|Annotator]] client by implementing the [[https://github.com/okfn/annotator/wiki/Storage|Annotator storage API]] (with some extensions). |
| 4 | |
| 5 | It is implemented 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]]. |
| 6 | |
| 7 | |
| 8 | == Source == |
| 9 | |
| 10 | 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/ |
| 11 | |
| 12 | |
| 13 | == Building == |
| 14 | |
| 15 | To check out and build AnnotationManagerN4J you need [[http://mercurial.selenic.com/|Mercurial]] and [[http://maven.apache.org/|Maven]]: |
| 16 | |
| 17 | 1. `hg clone https://it-dev.mpiwg-berlin.mpg.de/hg/AnnotationManagerN4J` |
| 18 | 2. `cd AnnotationManagerN4J` |
| 19 | 3. `mvn package` (this produces the web-app as a directory `target/AnnotationManager` or war file `target/AnnotationManager.war`) |
| 20 | |
| 21 | |
| 22 | === Prerequisites === |
| 23 | |
| 24 | 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: |
| 25 | |
| 26 | 1. `svn checkout http://jsontoken.googlecode.com/svn/trunk/ jsontoken` |
| 27 | 2. `cd jsontoken` |
| 28 | 3. `mvn install` |
| 29 | |