1
This commit is contained in:
parent
14106a44bd
commit
69fa7b1669
13
boundle.sh
13
boundle.sh
@ -1,13 +0,0 @@
|
|||||||
cd third_party/wjtx/trunk/
|
|
||||||
mvn clean package install -Dmaven.test.skip=true
|
|
||||||
cd game-standalone/target
|
|
||||||
unzip game-standlone.zip
|
|
||||||
|
|
||||||
cd ../../../../../
|
|
||||||
pwd
|
|
||||||
|
|
||||||
tag_name=`git status |grep '# On branch '|sed 's/# On branch //g'`
|
|
||||||
dir_name=`basename $PWD`
|
|
||||||
package_name=${dir_name}.tar.gz
|
|
||||||
|
|
||||||
tar --exclude=*.git -chzf target/${package_name} bin common.sh manage.py reload.sh restart.sh start_instance.sh config lib conf spring
|
|
1
boundle.sh
Symbolic link
1
boundle.sh
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
third_party/tools/scripts/publish_java/boundle.sh
|
13
common.sh
13
common.sh
@ -1,6 +1,15 @@
|
|||||||
GAME_ID=1009
|
GAME_ID=1009
|
||||||
JAR_NAME=lib/game-standalone-1.0.jar
|
JAR_NAME="lib/game-standalone-1.0.jar"
|
||||||
JAVA_OPTS="-server -Xms512m -Xmx512m -Xmn128m -XX:SurvivorRatio=4 -XX:InitiatingHeapOccupancyPercent=75"
|
if [ ! -f "bin/is_test_env" ]; then
|
||||||
|
JAVA_OPTS="-server -Xms512m -Xmx512m -Xmn128m -XX:SurvivorRatio=4 -XX:InitiatingHeapOccupancyPercent=75"
|
||||||
|
else
|
||||||
|
JAVA_OPTS="-server -Xms256m -Xmx256m -Xmn128m -XX:SurvivorRatio=4 -XX:InitiatingHeapOccupancyPercent=75"
|
||||||
|
fi
|
||||||
JAVA_OPTS="$JAVA_OPTS -XX:+UseParNewGC -XX:+UseConcMarkSweepGC"
|
JAVA_OPTS="$JAVA_OPTS -XX:+UseParNewGC -XX:+UseConcMarkSweepGC"
|
||||||
JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCApplicationStoppedTime -XX:+HeapDumpOnOutOfMemoryError -Xloggc:logs/flash_gc_$(date +"%Y%m%d%H%M").log"
|
JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCApplicationStoppedTime -XX:+HeapDumpOnOutOfMemoryError -Xloggc:logs/flash_gc_$(date +"%Y%m%d%H%M").log"
|
||||||
LOG4J2_FILE="conf/log4j2.xml"
|
LOG4J2_FILE="conf/log4j2.xml"
|
||||||
|
|
||||||
|
SOURCE_PATH="third_party/wjtx/trunk/"
|
||||||
|
PRE_COMPILE_CMD=""
|
||||||
|
COMPILE_CMD="mvn clean package install -Dmaven.test.skip=true"
|
||||||
|
POST_COMPILE_CMD="cd game-standalone/target && unzip game-standlone.zip"
|
||||||
|
2
third_party/tools
vendored
2
third_party/tools
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 3000749b53c3f4e0061f03ce8460cb56e956ad01
|
Subproject commit 1fc4776dec7a59c6fb150c9f83a10ba28d48a0e5
|
Loading…
x
Reference in New Issue
Block a user