1
0

xowa_maven_boot.txt 798 B

12345678910111213141516171819202122232425262728293031
  1. # PLAT_NAME must be one of the following: windows_64,linux_64,macosx_64
  2. export plat_name=windows_64
  3. # ROOT_DIR should be created beforehand, and should be in "/" format
  4. export root=c:/xowa_dev
  5. # java settings should match your machine
  6. export jdk=1.7
  7. export JAVA_HOME=C:/xowa_dev/bin/java/jdk_1_8_x64
  8. # directories should be set to whatever exists on your machine
  9. export ant=C:/xowa_dev/bin/apache_ant/bin/ant
  10. export mvn=C:/xowa_dev/bin/apache_maven/bin/mvn
  11. # set "verbose=y" or "verbose="
  12. export verbose=
  13. echo "* XOWA: downloading latest xowa"
  14. cd $root
  15. rm -rf ./src
  16. mkdir src
  17. cd src
  18. git clone https://github.com/gnosygnu/xowa.git
  19. cd ..
  20. echo "* XOWA: copying maven files to root"
  21. cp -rf ./src/xowa/res/dev/make/maven/* ./
  22. # run other shell scripts
  23. sh xowa_maven_files.sh
  24. sh xowa_maven_mvn.sh