From 4de0e754c89eaebeb225ff1c1dd7a423b9264605 Mon Sep 17 00:00:00 2001 From: Decebal Suiu Date: Thu, 13 Dec 2018 22:04:32 +0200 Subject: [PATCH] Improve run demo scripts --- run-demo.bat | 2 ++ run-demo.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/run-demo.bat b/run-demo.bat index 445e410..1ef086b 100644 --- a/run-demo.bat +++ b/run-demo.bat @@ -14,6 +14,8 @@ REM copy artifacts to demo-dist folder xcopy demo\app\target\pf4j-demo-app-*.zip demo-dist /s /i xcopy demo\plugins\plugin1\target\*plugin.jar demo-dist\plugins /s xcopy demo\plugins\plugin2\target\*plugin.jar demo-dist\plugins /s +xcopy demo\plugins\enabled.txt demo-dist\plugins /s +xcopy demo\plugins\disabled.txt demo-dist\plugins /s cd demo-dist diff --git a/run-demo.sh b/run-demo.sh index b8c5220..a328bec 100755 --- a/run-demo.sh +++ b/run-demo.sh @@ -14,6 +14,8 @@ mkdir -p demo-dist/plugins # copy artifacts to demo-dist folder cp -r demo/app/target/pf4j-demo-*/* demo-dist/ cp demo/plugins/*/target/*plugin.jar demo-dist/plugins/ +cp demo/plugins/enabled.txt demo-dist/plugins/ +cp demo/plugins/disabled.txt demo-dist/plugins/ # run demo cd demo-dist -- 2.39.5