1
|
Compiling
|
2
|
============
|
3
|
|
4
|
### compiling the schema:
|
5
|
|
6
|
mvn jaxb2:generate
|
7
|
|
8
|
the xml schema file contains ``<annox:annotate>`` elements
|
9
|
for the xjc Annotate Plugin which will compile them into java annotations.
|
10
|
See https://github.com/highsource/jaxb2-annotate-plugin for more information.
|
11
|
|
12
|
### compiling wsdl2java
|
13
|
|
14
|
* https://axis.apache.org/axis/java/reference.html
|
15
|
|
16
|
re-enable the disabled dependencies in the pom.xml by un-commenting them. The according section is
|
17
|
between:
|
18
|
|
19
|
<!-- ======================================================================= -->
|
20
|
<!-- Dependencies needed for Apache Axix WSDL2Java (only during development) -->
|
21
|
...
|
22
|
<!-- ======================================================================= -->
|
23
|
|
24
|
then compile the java classes
|
25
|
|
26
|
java -cp $(mvn dependency:build-classpath | grep -v "\[") org.apache.axis.wsdl.WSDL2Java "http://www.eu-nomen.eu/portal/soap.php\?wsdl\=1" -p org.cybertaxonomy.utis.checklist.pesi -o src/main/java/
|
27
|
|
28
|
|
29
|
|
30
|
### debug the neo4j store
|
31
|
|
32
|
1. Download the neo4j community edition (neo4j-community-2.0.4) and extract it
|
33
|
1. In the extracted package navigate to the bin folder and start the neo4j shell:
|
34
|
|
35
|
./neo4j-shell -path ~/.utis/neo4j/
|
36
|
|
37
|
NOTE: you need to stop utis in advance of starting the neo4j shell!
|
38
|
|
39
|
|