Score
0
Watch 265 Star 804 Fork 203

helyho / VoovanJavaApache-2.0

Join us
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Voovan是高性能异步通信、HTTP服务器和客户端通信、动态编译支持、数据库操作帮助类等工具的框架。 spread retract

http://www.voovan.org

Clone or download
build_env.sh 948 Bytes
Copy Edit Web IDE Raw Blame History
helyho authored 2020-05-29 18:18 . version 4.2.5
#!/bin/sh
VOOVAN_VERSION=4.2.5
jlink --no-header-files --no-man-pages --compress=2 --strip-debug --module-path $JAVA_HOME/jmods \
--add-modules java.base,java.compiler,java.instrument,java.management,java.sql,jdk.attach,jdk.unsupported \
--output launcher/jvm
mvn package -Dmaven.test.skip=true -Dmaven.javadoc.skip=true
mkdir launcher/lib
cp All/target/voovan-framework-$VOOVAN_VERSION.jar launcher/lib/
mkdir launcher/conf
cp -r Web/conf/error-page Web/conf/error.json launcher/conf/
cp Web/conf/web_simple.json launcher/conf/web.json
mkdir launcher/logs
mkdir launcher/WEBAPP
echo "#\!/bin/sh\n./jvm/bin/java -Djdk.attach.allowAttachSelf=true -jar lib/voovan-framework-$VOOVAN_VERSION.jar" > launcher/start.sh
chmod +x launcher/start.sh
echo "#\!/bin/sh\ncat logs/.pid | xargs kill" > launcher/stop.sh
chmod +x launcher/stop.sh
echo "#\!/bin/sh\ncat logs/.pid | xargs kill -9" > launcher/shutdown.sh
chmod +x launcher/shutdown.sh

Comment ( 0 )

Sign in for post a comment

Java
1
https://gitee.com/helyho/Voovan.git
git@gitee.com:helyho/Voovan.git
helyho
Voovan
Voovan
master

Help Search

182353 aa51c838 1899542 205747 347fc4a1 1899542