当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
1 Star 0 Fork 228

yuye/Voovan
暂停

forked from helyho/Voovan 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build_env.sh 954 Bytes
一键复制 编辑 原始数据 按行查看 历史
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/yuyenews/Voovan.git
git@gitee.com:yuyenews/Voovan.git
yuyenews
Voovan
Voovan
master

搜索帮助