aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDecebal Suiu <decebal.suiu@gmail.com>2018-12-13 22:04:32 +0200
committerDecebal Suiu <decebal.suiu@gmail.com>2018-12-13 22:04:32 +0200
commit4de0e754c89eaebeb225ff1c1dd7a423b9264605 (patch)
treeb07e854ff8d134901de7685df5e3adfed2215bb0
parent224e091115ce8a7b3758c493deb10e88adf4e46a (diff)
downloadpf4j-4de0e754c89eaebeb225ff1c1dd7a423b9264605.tar.gz
pf4j-4de0e754c89eaebeb225ff1c1dd7a423b9264605.zip
Improve run demo scripts
-rw-r--r--run-demo.bat2
-rwxr-xr-xrun-demo.sh2
2 files changed, 4 insertions, 0 deletions
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