forked from mikebrock/errai-cdi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
80 lines (45 loc) · 1.68 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Running and testing the CDI integration
=======================================
1.) Build the top level module first (!)
mvn clean install
2.) Change into the 'example/gui' directory
Either run
mvn gwt:run
or
mvn gwt:debug
to launch the hosted mode browser
3.) Connect with a browser of your choice to the URL given in the hosted mode browser.
The default login is 'admin:admin'
||
|| NOTE: This does require installation of the OOPHM plugin:
|| http://code.google.com/p/google-web-toolkit/wiki/UsingOOPHM
||
Deployment on JBoss-6.0.0
=========================
The current setup bootstraps the CDI container within the servlet engine
when running in hosted mode. However when running on JBoss 6, CDI already
ships with the application server.
In order to successfully deploy to JBoss 6, three steps are necessary:
1) Do a clean rebuild (!) with the '-Pjboss6' profile switch
mvn -Pjboss6 clean install
2) Update the installer properties
Change 'jboss.home' and 'jboss.deploy.path' in the install/build.properties file.
3) Run the installer
Switch into the 'install' directory
Execute 'ant'
||
|| NOTE: Make sure to run a clean build every time you switch between hosted mode
|| and deployment on JBoss 6. It replaces the web.xml.
||
Examples on jboss6
==================
The example application runs under:
http://localhost:8080/errai-cdi
Troubleshooting
===============
If you run into trouble don't hesitate to get in touch with us:
User Forum: http://community.jboss.org/en/errai?view=discussions
Mailing List: http://jboss.org/errai/MailingLists.html
IRC: irc://irc.freenode.net/errai
Have fun,
The Errai Team