Changeset 10822 for trunk/gsdl3
- Timestamp:
- 2005-11-02T13:28:20+13:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/packages/tomcat-extra/setclasspath.sh
r10811 r10822 1 #!/bin/sh 1 2 # ----------------------------------------------------------------------------- 2 3 # Set CLASSPATH and Java options … … 4 5 # $Id$ 5 6 # ----------------------------------------------------------------------------- 7 8 # First clear out the user classpath 9 # gs3 - we need to set classpath 10 CLASSPATH=$CLASSPATH 6 11 7 12 # Make sure prerequisite environment variables are set … … 47 52 # 1. owned by the user 48 53 # 2. owned by the PRIMARY group of the user 49 # this will not work if the user belongs in secondary groups 54 # this will not work if the user belongs in secondary groups 50 55 eval 51 56 else … … 60 65 61 66 # Set standard CLASSPATH 62 #if [ "$1" = "debug" -o "$1" = "javac" ] ; then63 CLASSPATH="$JAVA_HOME"/lib/tools.jar:"$CLASSPATH" 64 #fi67 if [ "$1" = "debug" -o "$1" = "javac" ] ; then 68 CLASSPATH="$JAVA_HOME"/lib/tools.jar:$CLASSPATH 69 fi 65 70 66 71 # OSX hack to CLASSPATH … … 76 81 77 82 # Set standard commands for invoking Java. 78 _RUNJAVA="$JRE_HOME"/bin/java83 _RUNJAVA="$JRE_HOME"/bin/java 79 84 if [ "$os400" != "true" ]; then 80 85 _RUNJDB="$JAVA_HOME"/bin/jdb
Note:
See TracChangeset
for help on using the changeset viewer.