forked from exodev/exogtn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
76 lines (54 loc) · 2.03 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
Welcome to GateIn:
===========================
This will explain you how to build a package of GateIn with Tomcat or JBoss.
*****************
* COMPILATION
*****************
* mvn install
For example: mvn install
Note: If you run "mvn install" twice in a row without cleaning, one test will
fail. To workaround this issue you will need to delete the test data located
here: component/portal/target/temp/
**********************
* MAVEN CONFIGURATION:
**********************
By default the maven configuration will build all the required artifact for a release which means:
* all packaging
* all examples
* all documentations
There is a friendly development mode that build none of those:
* mvn -Dgatein.dev
This property can be combined with explicit profile activation to build a specific module, for instance:
* mvn -Dgatein.dev -Ppkg-tomcat
builds only the tomcat packaging.
Here is a list of the existing profiles:
* packaging
** pkg-tomcat
** pkg-jbossear
** pkg-jbossas
** pkg-tomcat-tests
** pkg-jbossas-tests
* archive
** arc-tomcat
** arc-jbossas
* other
** "example" : all examples
** "doc" : all documentations
*****************
* PACKAGING:
*****************
Per default GateIn generates all packaging required for a release.
* mvn install -Ppkg-tomcat
** Creates a Tomcat delivery in packaging/pkg/target/tomcat/
* mvn install -Ppkg-jbossas
** Creates a JBossAS delivery in packaging/pkg/target/jboss/
*****************
* DOCUMENTATIONS:
*****************
Per default GateIn documentations are generated in the build process.
*****************
* STARTING:
*****************
* On Tomcat: go to the tomcat directory (or unzip the archive in your favorite location) and execute 'bin/gatein.sh start' ('bin/gatein.bat start' on Windows)
* On JBoss: go to the jboss directory (or unzip the archive in your favorite location) and execute 'bin/run.sh start' ('bin/run.bat start' on Windows)
* Go to http://localhost:8080/portal to see the homepage of the portal. That's it.