You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

run-demo.bat 584B

1234567891011121314151617181920212223242526
  1. REM
  2. REM This script creates and run the pf4j demo.
  3. REM
  4. REM create artifacts using maven
  5. call mvn clean package -DskipTests
  6. REM create demo-dist folder
  7. rmdir demo-dist /s /q
  8. mkdir demo-dist
  9. mkdir demo-dist\plugins
  10. REM copy artifacts to demo-dist folder
  11. xcopy demo\app\target\pf4j-demo-app-*.zip demo-dist /s /i
  12. xcopy demo\plugins\plugin1\target\*plugin.jar demo-dist\plugins /s
  13. xcopy demo\plugins\plugin2\target\*plugin.jar demo-dist\plugins /s
  14. cd demo-dist
  15. REM unzip app
  16. unzip pf4j-demo-app-*.zip
  17. rm pf4j-demo-app-*.zip
  18. REM run demo
  19. java -jar pf4j-demo-app-*-SNAPSHOT.jar
  20. cd ..