cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject cvs commit: cocoon-2.1 cocoon.sh
Date Mon, 01 Dec 2003 13:21:09 GMT
mpo         2003/12/01 05:21:09

  Modified:    .        cocoon.sh
  Log:
  Enabling the use of the script in Cygwin again.
  
  Revision  Changes    Path
  1.10      +10 -2     cocoon-2.1/cocoon.sh
  
  Index: cocoon.sh
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/cocoon.sh,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- cocoon.sh	19 Oct 2003 00:47:05 -0000	1.9
  +++ cocoon.sh	1 Dec 2003 13:21:09 -0000	1.10
  @@ -101,6 +101,14 @@
     JAVA_PROFILE_ARGS='-Xrunhprof:heap=all,cpu=samples,thread=y,depth=3'
   fi
   
  +
  +# ----- Set platform specific variables
  +
  +PATHSEP=":";
  +case "`uname`" in
  +   CYGWIN*) PATHSEP=";" ;;
  +esac
  +
   # ----- Set Local Variables ( used to minimize cut/paste) ---------------------
   
   JAVA="$JAVA_HOME/bin/java"
  @@ -108,7 +116,7 @@
   ENDORSED="-Djava.endorsed.dirs=$ENDORSED_LIBS"
   PARSER=-Dorg.xml.sax.parser=org.apache.xerces.parsers.SAXParser
   LOADER=Loader
  -LOADER_LIB="$COCOON_HOME/tools/loader:$COCOON_WEBAPP_HOME/WEB-INF/classes"
  +LOADER_LIB="${COCOON_HOME}/tools/loader${PATHSEP}${COCOON_WEBAPP_HOME}/WEB-INF/classes"
   
   CLI=-Dloader.main.class=org.apache.cocoon.Main
   CLI_LIBRARIES="-Dloader.jar.repositories=$COCOON_LIB"
  
  
  

Mime
View raw message