setup.sh 400 B

12345678910111213141516171819
  1. #!/bin/bash
  2. fw_depends java8 maven
  3. FILE=beyondj-launcher/deploy/beyondj.jar
  4. if [ -f $FILE ];
  5. then
  6. echo "File $FILE exists"
  7. rm beyondj-launcher/deploy/beyondj.jar
  8. fi
  9. cd beyondj-launcher/deploy/
  10. jar -cvf0M beyondj.jar META-INF *
  11. cd ../../
  12. echo "Launching BeyondJ from location:$PWD"
  13. java -jar beyondj-launcher/deploy/beyondj.jar system.platform.dbserver=${DBHOST} numInstances=10