1 Star 0 Fork 0

DecentAnt/pf4j

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
run-demo.sh 693 Bytes
一键复制 编辑 原始数据 按行查看 历史
decebals 提交于 2019-02-19 02:28 . Improve run-demo scripts
#!/bin/sh
#
# This script creates and run the pf4j demo.
#
# create artifacts using maven
mvn clean package -DskipTests
# create demo-dist folder
rm -fr demo-dist
mkdir -p demo-dist/plugins
# copy artifacts to demo-dist folder
cp demo/app/target/pf4j-demo-*.zip demo-dist/
cp demo/plugins/plugin1/target/pf4j-demo-plugin1-*-all.jar demo-dist/plugins/
cp demo/plugins/plugin2/target/pf4j-demo-plugin2-*-all.jar demo-dist/plugins/
cp demo/plugins/enabled.txt demo-dist/plugins/
cp demo/plugins/disabled.txt demo-dist/plugins/
cd demo-dist
# unzip app
jar xf pf4j-demo-app-*.zip
rm pf4j-demo-app-*.zip
# run demo
mv pf4j-demo-app-*-SNAPSHOT.jar pf4j-demo.jar
java -jar pf4j-demo.jar
cd -
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/decentant/pf4j.git
git@gitee.com:decentant/pf4j.git
decentant
pf4j
pf4j
master

搜索帮助