fix_engine.sh 776 B

123456789101112131415161718192021
  1. #!/bin/bash
  2. sdk=`pwd`
  3. #echo "Patching the jme3-jbullet POM file"
  4. #pushd ~/.m2/repository/org/jmonkeyengine/jme3-jbullet/ > /dev/null
  5. #for d in *; do
  6. # if [ -d "$d" ]; then
  7. # pushd $d > /dev/null
  8. # mv jme3-jbullet-$d.pom jbullet.pom
  9. # patch < "$sdk/patches/jbullet_dependencies_version_missing.diff"
  10. # mv jbullet.pom jme3-jbullet-$d.pom
  11. # popd > /dev/null
  12. # fi
  13. #done
  14. #popd > /dev/null
  15. echo "Installing our local jbullet.jar and stack-alloc.jar into the maven local repository"
  16. pushd lib > /dev/null
  17. mvn install:install-file -Dfile=jbullet.jar -DgroupId=jbullet -DartifactId=jbullet -Dversion=0.0.1 -Dpackaging=jar
  18. mvn install:install-file -Dfile=stack-alloc.jar -DgroupId=stack-alloc -DartifactId=stack-alloc -Dversion=0.0.1 -Dpackaging=jar
  19. popd > /dev/null