-
Notifications
You must be signed in to change notification settings - Fork 19
/
README.testing.txt
39 lines (25 loc) · 1.32 KB
/
README.testing.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
1. Build:
cd ~/tru/jbosstools-integration-stack/jbosstools
mvn clean install
2. Fix generated directory.xml to point to locally-built jar, eg., use this
{code}
<entry url="org.jboss.tools.central.discovery.integration-stack_4.1.4.Beta1.CI-2013-08-21_20-10-23-B111-v20130101-0001-B111.jar" permitCategories="true"/>
{code}
instead of
{code}
<entry url="http://download.jboss.org/jbosstools/discovery/integration/integration-stack/4.1.4.Beta1/org.jboss.tools.central.discovery.integration-stack_4.1.4.Beta1.CI-2013-08-21_20-10-23-B111-v20130101-0001-B111.jar" permitCategories="true"/>
{code}
2. Launch a local nanohttpd server [1] to host the directory.xml / discovery plugin, and the Discovery composite site.
{code}
cd ~/tru/jbosstools-integration-stack/jbosstools/discovery/generation/target/
/opt/sun-java2-7.0/bin/java NanoHTTPD -d `pwd` -p 8080
{code}
[1] https://github.com/NanoHttpd/nanohttpd/blob/master/core/src/main/java/fi/iki/elonen/NanoHTTPD.java
4. install Eclipse Kepler JEE bundle; launch at fresh workspace
5. install JBoss Central into Eclipse from http://localhost:8081/discovery-site/
6. re-launch Eclipse with
{code}
./eclipse -vmargs \
-Djboss.discovery.directory.url=http://localhost:8080/plugins/jbosstools-integration-stack-directory.xml \
-Djboss.discovery.site.url=http://localhost:8081/discovery-site/
{code}