Notes about building the enterprise portal GateIn from source

By Jérémi Joslin · January 16, 2010 · Tags: ,

I's been nearly a year since the last time I build eXo Portal (now GateIn). The Building process is way easier now!

Get the sources:

$ svn co http://anonsvn.jboss.org/repos/gatein/portal/trunk/ portal

Follow the instructions of the README.txt.

You will need to :

I had error during the build:

 Embedded error: Error while executing the compiler.
 Java heap space
 

Just increase the memory to 512 (or 1024):

$ set MAVEN_OPTS=-Xmx512m
 

Go grab a coffee (or multiple), the build is long, very long (specially with my Chinese connection).

when the build is finish, the tomcat is in "packaging/pkg/target/tomcat/"

just type :

$ cd packaging/pkg/target/tomcat/
$ ./bin/gatein.sh run
 

and go to http://localhost:8080/portal/.