####################################################
# Setup common enviroment variables shared by #
# #
# Note: This header file is developed for /bin/sh #
####################################################
case `uname -s` in
SunOS)
CLASSPATHSEP=:
;;
LINUX|Linux)
CLASSPATHSEP=:
;;
CYGWIN*)
CLASSPATHSEP=\;
;;
Windows_NT*)
CLASSPATHSEP=\;
;;
*)
echo "$0: Don't know how to set the path for `uname -s`. "
esac
export CLASSPATHSEP
IMT_CMD_HOME=.
JVM="java -Xms512m -Xmx1024m"
export JVM
LIB_DIR=${IMT_CMD_HOME}/lib
LOG4J_LIB=${LIB_DIR}/log4j-1.2.8.jar
SYBASE_DRIVER=${LIB_DIR}/jconn2.jar
ORACLE_DRIVER=${LIB_DIR}/classes12.jar
APACHE_LIB=${LIB_DIR}/commons-lang-2.1.jar
DERBY_LIB=${LIB_DIR}/derby.jar
COMMON_LIB="${IMT_CMD_HOME}${CLASSPATHSEP}${LOG4J_LIB}${CLASSPATHSEP}${SYBASE_DRIVER}${CLASSPATHSEP}${ORACLE_DRIVER}${CLASSPATHSEP}${APACHE_LIB}${CLASSPATHSEP}${DERBY_LIB}"
IMT_CMD_LIB=${IMT_CMD_HOME}/int.jar
CLASSPATH="${COMMON_LIB}${CLASSPATHSEP}${IMT_CMD_LIB}"
export CLASSPATH
#echo "$0: CLASSPATH=${CLASSPATH}"
ksh set env
最新推荐文章于 2024-08-19 16:01:20 发布