删除更新.sh文件为unix格式

This commit is contained in:
seagull 2020-03-10 17:49:32 +08:00
parent 9cba605692
commit 266ab6d661
5 changed files with 0 additions and 113 deletions

View File

@ -1,17 +0,0 @@
#!/bin/sh
BASE_DIR="."
LIB="${BASE_DIR}/lib"
JAVA_OPTS=" -Xmx2048m -XX:PermSize=64m -XX:MaxPermSize=512m -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:logs/gc.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=1 -XX:GCLogFileSize=1024k -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=logs/mtdperf.hprof -server -Dfile.encoding=UTF-8"
START_CLASS="springboot.RunService"
echo ${LIB}
for libfile in ${LIB}/*.jar ; do
if [ -f $libfile ] ; then
CLASSPATH=$libfile:${CLASSPATH}
fi
done
CLASSPATH=${BASE_DIR}:${CLASSPATH}
echo .:${CLASSPATH} ${START_CLASS}
java -cp .:${CLASSPATH} ${START_CLASS} &

View File

@ -1,24 +0,0 @@
#!/bin/sh
BASE_DIR="."
LIB="${BASE_DIR}/lib"
DRIVENPATH="${BASE_DIR}/$2"
JAVA_OPTS=" -Xmx2048m -XX:PermSize=64m -XX:MaxPermSize=512m -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:logs/gc.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=1 -XX:GCLogFileSize=1024k -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=logs/mtdperf.hprof -server -Dfile.encoding=UTF-8"
START_CLASS="luckyclient.execution.RunAutomationTest $1"
echo ${LIB}
for libfile in ${LIB}/*.jar ; do
if [ -f $libfile ] ; then
CLASSPATH=$libfile:${CLASSPATH}
fi
done
for libfile in ${DRIVENPATH}/*.jar ; do
if [ -f $libfile ] ; then
CLASSPATH=$libfile:${CLASSPATH}
fi
done
CLASSPATH=${BASE_DIR}:${CLASSPATH}
echo .:${CLASSPATH} ${START_CLASS}
java -cp .:${CLASSPATH} ${START_CLASS} &

View File

@ -1,24 +0,0 @@
#!/bin/sh
BASE_DIR="."
LIB="${BASE_DIR}/lib"
DRIVENPATH="${BASE_DIR}/$3"
JAVA_OPTS=" -Xmx2048m -XX:PermSize=64m -XX:MaxPermSize=512m -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:logs/gc.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=1 -XX:GCLogFileSize=1024k -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=logs/mtdperf.hprof -server -Dfile.encoding=UTF-8"
START_CLASS="luckyclient.execution.BatchCaseExecute $1 $2"
echo ${LIB}
for libfile in ${LIB}/*.jar ; do
if [ -f $libfile ] ; then
CLASSPATH=$libfile:${CLASSPATH}
fi
done
for libfile in ${DRIVENPATH}/*.jar ; do
if [ -f $libfile ] ; then
CLASSPATH=$libfile:${CLASSPATH}
fi
done
CLASSPATH=${BASE_DIR}:${CLASSPATH}
echo .:${CLASSPATH} ${START_CLASS}
java -cp .:${CLASSPATH} ${START_CLASS} &

View File

@ -1,24 +0,0 @@
#!/bin/sh
BASE_DIR="."
LIB="${BASE_DIR}/lib"
DRIVENPATH="${BASE_DIR}/$4"
JAVA_OPTS=" -Xmx2048m -XX:PermSize=64m -XX:MaxPermSize=512m -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:logs/gc.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=1 -XX:GCLogFileSize=1024k -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=logs/mtdperf.hprof -server -Dfile.encoding=UTF-8"
START_CLASS="luckyclient.execution.OneCaseExecute $1 $2 $3"
echo ${LIB}
for libfile in ${LIB}/*.jar ; do
if [ -f $libfile ] ; then
CLASSPATH=$libfile:${CLASSPATH}
fi
done
for libfile in ${DRIVENPATH}/*.jar ; do
if [ -f $libfile ] ; then
CLASSPATH=$libfile:${CLASSPATH}
fi
done
CLASSPATH=${BASE_DIR}:${CLASSPATH}
echo .:${CLASSPATH} ${START_CLASS}
java -cp .:${CLASSPATH} ${START_CLASS} &

View File

@ -1,24 +0,0 @@
#!/bin/sh
BASE_DIR="."
LIB="${BASE_DIR}/lib"
DRIVENPATH="${BASE_DIR}/$3"
JAVA_OPTS=" -Xmx2048m -XX:PermSize=64m -XX:MaxPermSize=512m -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:logs/gc.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=1 -XX:GCLogFileSize=1024k -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=logs/mtdperf.hprof -server -Dfile.encoding=UTF-8"
START_CLASS="luckyclient.execution.WebDebugExecute $1 $2"
echo ${LIB}
for libfile in ${LIB}/*.jar ; do
if [ -f $libfile ] ; then
CLASSPATH=$libfile:${CLASSPATH}
fi
done
for libfile in ${DRIVENPATH}/*.jar ; do
if [ -f $libfile ] ; then
CLASSPATH=$libfile:${CLASSPATH}
fi
done
CLASSPATH=${BASE_DIR}:${CLASSPATH}
echo .:${CLASSPATH} ${START_CLASS}
java -cp .:${CLASSPATH} ${START_CLASS} &