From 9b7808379df055964ea7cc8c6f598cc57edf000c Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 4 Feb 2020 00:24:40 +0800 Subject: [PATCH] 1 --- boundle.sh | 1 + common.sh | 18 ++++++++++++++++++ lib | 1 + manage.py | 1 + reload.sh | 1 + restart.sh | 1 + start_instance.sh | 1 + 7 files changed, 24 insertions(+) create mode 120000 boundle.sh create mode 100644 common.sh create mode 120000 lib create mode 120000 manage.py create mode 120000 reload.sh create mode 120000 restart.sh create mode 120000 start_instance.sh diff --git a/boundle.sh b/boundle.sh new file mode 120000 index 0000000..46422df --- /dev/null +++ b/boundle.sh @@ -0,0 +1 @@ +third_party/tools/scripts/publish_java/boundle.sh \ No newline at end of file diff --git a/common.sh b/common.sh new file mode 100644 index 0000000..da8c6c3 --- /dev/null +++ b/common.sh @@ -0,0 +1,18 @@ +GAME_ID=1009 +LOG4J2_FILE="config/log4j2.xml" +JAR_NAME="lib/web-gate-1.0.jar" +if [ ! -f "bin/is_test_env" ]; then + JVM_OPTS="-server -Xms512m -Xmx512m -Xmn256m -XX:PermSize=64m -XX:MaxPermSize=128m -XX:MaxDirectMemorySize=1024m" +else + JVM_OPTS="-server -Xms256m -Xmx256m -Xmn256m -XX:PermSize=64m -XX:MaxPermSize=128m -XX:MaxDirectMemorySize=1024m" +fi +JAVA_OPTS="$JAVA_OPTS -XX:+UseParNewGC -XX:+UseConcMarkSweepGC" +JAVA_OPTS="$JAVA_OPTS -XX:+TieredCompilation" +JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCApplicationStoppedTime -XX:+HeapDumpOnOutOfMemoryError -Xloggc:log/flash_gc_$(date +"%Y%m%d%H%M").log" +JAVA_OPTS="$JAVA_OPTS -Dlog4j.configurationFile=${LOG4J2_FILE}" + +SOURCE_PATH="third_party/wjtx/legend-admin/guns/trunk" +PRE_COMPILE_CMD="" +COMPILE_CMD="mvn clean package install -Dmaven.test.skip=true" +POST_COMPILE_CMD="" +EXT_PKG_FILES="" diff --git a/lib b/lib new file mode 120000 index 0000000..03da512 --- /dev/null +++ b/lib @@ -0,0 +1 @@ +third_party/wjtx/legend-admin/guns/trunk/guns-admin/target/admin-tools/admin-tools/lib \ No newline at end of file diff --git a/manage.py b/manage.py new file mode 120000 index 0000000..6464ada --- /dev/null +++ b/manage.py @@ -0,0 +1 @@ +third_party/tools/scripts/publish_java/manage.py \ No newline at end of file diff --git a/reload.sh b/reload.sh new file mode 120000 index 0000000..5a47e17 --- /dev/null +++ b/reload.sh @@ -0,0 +1 @@ +third_party/tools/scripts/publish_java/reload.sh \ No newline at end of file diff --git a/restart.sh b/restart.sh new file mode 120000 index 0000000..e0a8ff9 --- /dev/null +++ b/restart.sh @@ -0,0 +1 @@ +third_party/tools/scripts/publish_java/restart.sh \ No newline at end of file diff --git a/start_instance.sh b/start_instance.sh new file mode 120000 index 0000000..89d85ef --- /dev/null +++ b/start_instance.sh @@ -0,0 +1 @@ +third_party/tools/scripts/publish_java/start_instance.sh \ No newline at end of file