geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r601983 - /geronimo/gbuild/daily_build_scripts/gbuild.sh
Date Fri, 07 Dec 2007 04:36:51 GMT
Author: gawor
Date: Thu Dec  6 20:36:50 2007
New Revision: 601983

URL: http://svn.apache.org/viewvc?rev=601983&view=rev
Log:
ability to override JAVA_HOME, MAVEN_HOME, etc.

Modified:
    geronimo/gbuild/daily_build_scripts/gbuild.sh

Modified: geronimo/gbuild/daily_build_scripts/gbuild.sh
URL: http://svn.apache.org/viewvc/geronimo/gbuild/daily_build_scripts/gbuild.sh?rev=601983&r1=601982&r2=601983&view=diff
==============================================================================
--- geronimo/gbuild/daily_build_scripts/gbuild.sh (original)
+++ geronimo/gbuild/daily_build_scripts/gbuild.sh Thu Dec  6 20:36:50 2007
@@ -33,6 +33,11 @@
 M2_REPO=$BASE_DIR/.m2/repository
 ADMIN_ADDR="prasad@apache.org gawor@apache.org"
 
+MVN_HOME=/usr/local/maven
+JAVA_HOME=/usr/local/java
+JRE_HOME=/usr/lib/jvm/jre
+MAVEN_OPTS="-XX:MaxPermSize=256m -Xms512m -Xmx1024m"
+
 CONFIG_FILE=$1
 SKIP_TESTS=$2
 
@@ -43,11 +48,12 @@
   exit 2
 fi
 
-export MVN_HOME=/usr/local/maven
-export JAVA_HOME=/usr/local/java
-export JRE_HOME=/usr/lib/jvm/jre
+export MVN_HOME
+export MAVEN_OPTS
+export JAVA_HOME
+export JRE_HOME
+
 export PATH=$JRE_HOME/bin:$JAVA_HOME/bin:$MVN_HOME/bin:$PATH
-export MAVEN_OPTS="-XX:MaxPermSize=256m -Xms512m -Xmx1024m"
 
 echo `date` > $BASE_DIR/date.log
 



Mime
View raw message