[Building Sakai] Sakai build failure: [ERROR] BUILD FAILURE

yiorgos katopodis yiorgoskatopodis at gmail.com
Fri Mar 4 04:06:57 PST 2011


Hi all,
after 30 hours awake and changing many times the operating system of a very
small and cheap Virtual Server i think i have a small solution about
tweeking the MAVEN_OPTS. A little VooDoo and black magic i think, but i hope
it comes handy to many people who had same problems like me.
I tested the sakai 2.7.0 installation from source using ubuntu 10.04 and
ubuntu 10.10. A BUILD FAILURE  occured again and again and again

[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
Failure executing javac, but could not parse the error:

After tracing it ended up to the following:
The system is out of resources.(org.apache.maven.BuildFailureException:
Compilation failure Failure executing javac, but could not parse the error:  
The system is out of resources.)

Finally after many cups of chamomile (which i thought it was tea) and 30
hours later i ended up with this change in MAVEN_OPTS:

export MAVEN_OPTS='-Xms1024m -Xmx1024m -XX:PermSize=128m
-XX:MaxPermSize=512m'

Everything worked out perfect.
If you have come across the same problem and if you have or not , found a
solution i think it would be very nice to share it here.

P.S: I will try during the weekend to install sakai 2.7.1 from source and
see if the same applies there too.

Yiorgos Katopodis%-|B-)
-- 
View this message in context: http://old.nabble.com/-Building-Sakai--Sakai-build-failure%3A--ERROR--BUILD-FAILURE-tp31067038p31067038.html
Sent from the Sakai - Development mailing list archive at Nabble.com.



More information about the sakai-dev mailing list