blob: 445e41050b7093dc630d8bd6209967119a45910f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
REM
REM This script creates and run the pf4j demo.
REM
REM create artifacts using maven
call mvn clean package -DskipTests
REM create demo-dist folder
rmdir demo-dist /s /q
mkdir demo-dist
mkdir demo-dist\plugins
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
cd demo-dist
REM unzip app
unzip pf4j-demo-app-*.zip
rm pf4j-demo-app-*.zip
REM run demo
java -jar pf4j-demo-app-*-SNAPSHOT.jar
cd ..
|