Changeset 1026 for misc


Ignore:
Timestamp:
Nov 1, 2010, 11:52:32 AM (12 years ago)
Author:
j.a.m.wesbeek@…
Message:
  • changed the CI script so that it works grails independently. This means that it will adapt the grails runtime environment to the version the application is using. Hence, when an application is using grails 1.3.4 the grails runtime will point to /app/grails-1.3.4 and when 1.3.5 is used the runtime at /app/grails-1.3.5 will be used. This will allow continious integration to work properly for applications using different versions of grails. However, the latest will always be simlinked to /app/grails
File:
1 edited

Legend:

Unmodified
Added
Removed
  • misc/scripts/continuous_integration.sh

    r1023 r1026  
    6161# GENERIC CONFIGURATION
    6262export CATALINA_OPTS="-Xms4096m -Xmx4096m -XX:MaxPermSize=2048m -XX:MaxHeapFreeRatio=70 -XX:MaxGCPauseMillis=10 -XX:+UseConcMarkSweepGC"
    63 export GRAILS_HOME=$GRAILS_INSTALL_PATH/grails
     63#export GRAILS_HOME=$GRAILS_INSTALL_PATH/grails
    6464export JDK_HOME=$JAVA_HOME
    6565export JAVAC=$JAVA_HOME/bin/javac
    66 export PATH=$GRAILS_HOME/bin:$PATH
     66#export PATH=$GRAILS_HOME/bin:$PATH
    6767STAMP=`date +'%Y%m%d%H%M'`
    6868USER=`/usr/bin/whoami`
     
    181181fi
    182182
     183# export environment variables so that the this CI script uses
     184# the grails version for this specific project and hence is
     185# grails version independent...
     186export GRAILS_HOME=$GRAILS_INSTALL_PATH/grails-$GRAILS_VERSION
     187export PATH=$GRAILS_HOME/bin:$PATH
     188
    183189# upgrade project to new grails version?
    184190if [ $GRAILS_UPGRADED -eq 1 ]; then
Note: See TracChangeset for help on using the changeset viewer.