-
Notifications
You must be signed in to change notification settings - Fork 57
/
README.txt
39 lines (31 loc) · 1.2 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
README
======
Project instructions for developers below.
Java:
-----
- Tested version = Sun JDK 1.6.0_20
- export JAVA_HOME=/path/to/your/jdk
- export PATH=$JAVA_HOME/bin:$PATH
Maven:
------
- Tested version = 2.2.1
- There are issues running the precommit checks with maven-3.0.1 - please use
the tested version specified above
- 'mvn clean install' to build
- 'mvn install -DskipTests=true' to skip tests
- 'mvn install findbugs:findbugs' to enable findbugs
- 'mvn install checkstyle:checkstyle' to enable checkstyle
- 'mvn javadoc:aggregate' to just run javadoc (see target/site/apidocs/index.html)
Eclipse:
--------
- Tested version = JBoss Developer Studio 3.0.0
[Using M2Eclipse]
- File -> Import... -> Maven -> Existing Maven Projects -> [Next >] ->
[Browse...] ->/path/to/core -> [OK] -> [Finish]
[Using mvn eclipse:eclipse]
- 'mvn eclipse:clean; mvn eclipse:eclipse' (creates .project, .classpath, .settings/)
- Window -> Preferences -> Java -> Build Path -> Classpath Variables -> [New...]
Name: M2_REPO
Path: /home/<you>/.m2/repository (<you> == jdoe, for example)
- File -> Import... -> General -> Existing Projects into Workspace -> [Next >] ->
[Browse...] ->/path/to/core -> [OK] -> [Finish]