📄 raconfig.sh
字号:
#!/bin/sh# CYGWIN specific support.cygwin=falsecase "`uname`" inCYGWIN*) cygwin=true;;esac# For Cygwin, ensure paths are in UNIX format before anything is touchedif $cygwin; then [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` [ -n "$JORAM_HOME" ] && JORAM_HOME=`cygpath --unix "$JORAM_HOME"` [ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --unix "$CLASSPATH"`fi# Verify if JAVA_HOME is well definedif [ ! -r "$JAVA_HOME"/bin/java ]; then echo "The JAVA_HOME environment variable is not defined correctly" echo "This environment variable is needed to run this program" exit 1fi# Verify if JORAM_HOME is well definedif [ ! -r "$JORAM_HOME"/bin/raconfig.sh ]; then echo "The JORAM_HOME environment variable is not defined correctly" echo "This environment variable is needed to run this program" exit 1fiJORAM_LIBS=$JORAM_HOME/lib# Building the ClasspathCLASSPATH=$JORAM_LIBS/joram-raconfig.jarCLASSPATH=$CLASSPATH:$JORAM_LIBS/ow_monolog.jar# For Cygwin, switch paths to Windows format before running javaif $cygwin; then JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` CLASSPATH=`cygpath --path --windows "$CLASSPATH"`fiecho "== run: java RAConfig $* =="echo $JAVA_HOME/bin/java -classpath $CLASSPATH org.objectweb.joram.client.connector.utils.RAConfig $*
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -