288 Star 917 Fork 216

helyho / Voovan

加入 Gitee
与超过 600 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build_env.sh 954 Bytes
一键复制 编辑 Web IDE 原始数据 按行查看 历史
helyho 提交于 2020-09-22 22:00 . imp: version 4.3.8
#!/bin/sh
VOOVAN_VERSION=4.3.8
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 clean 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

评论 ( 0 )

你可以在登录后,发表评论

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

搜索帮助

161121 f78d6d6f 1850385 154831 86f8c370 1850385