diff --git a/src/main/Resources/start_service.sh b/src/main/Resources/start_service.sh deleted file mode 100644 index 315e30b..0000000 --- a/src/main/Resources/start_service.sh +++ /dev/null @@ -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} & diff --git a/src/main/Resources/task.sh b/src/main/Resources/task.sh deleted file mode 100644 index c5ca477..0000000 --- a/src/main/Resources/task.sh +++ /dev/null @@ -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} & diff --git a/src/main/Resources/task_batch.sh b/src/main/Resources/task_batch.sh deleted file mode 100644 index fa1b474..0000000 --- a/src/main/Resources/task_batch.sh +++ /dev/null @@ -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} & diff --git a/src/main/Resources/task_onecase.sh b/src/main/Resources/task_onecase.sh deleted file mode 100644 index 225a2e0..0000000 --- a/src/main/Resources/task_onecase.sh +++ /dev/null @@ -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} & diff --git a/src/main/Resources/web_debugcase.sh b/src/main/Resources/web_debugcase.sh deleted file mode 100644 index 612507e..0000000 --- a/src/main/Resources/web_debugcase.sh +++ /dev/null @@ -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} &