Browse Source

Fixes only work when you don't forget to commit half of them

MeFisto94 7 years ago
parent
commit
e2e7e74dc4
2 changed files with 18 additions and 1 deletions
  1. 2 1
      fix_engine.sh
  2. 16 0
      patches/jbullet_dependencies_version_missing.diff

+ 2 - 1
fix_engine.sh

@@ -12,9 +12,10 @@ for d in *; do
     popd > /dev/null
   fi
 done
+popd > /dev/null
 
 echo "Installing our local jbullet.jar and stack-alloc.jar into the maven local repository"
-pushd lib/ > /dev/null
+pushd lib > /dev/null
 mvn install:install-file -Dfile=jbullet.jar -DgroupId=jbullet -DartifactId=jbullet -Dversion=0.0.1 -Dpackaging=jar
 mvn install:install-file -Dfile=stack-alloc.jar -DgroupId=stack-alloc -DartifactId=stack-alloc -Dversion=0.0.1 -Dpackaging=jar
 popd > /dev/null

+ 16 - 0
patches/jbullet_dependencies_version_missing.diff

@@ -0,0 +1,16 @@
+--- jbullet.pom.old 2017-12-25 11:09:55.814731762 +0000
++++ jbullet.pom     2017-12-25 11:09:27.535527327 +0000
+@@ -37,11 +37,13 @@
+     <dependency>
+       <groupId>jbullet</groupId>
+       <artifactId>jbullet</artifactId>
++      <version>0.0.1</version>
+       <scope>compile</scope>
+     </dependency>
+     <dependency>
+       <groupId>stack-alloc</groupId>
+       <artifactId>stack-alloc</artifactId>
++      <version>0.0.1</version>
+       <scope>compile</scope>
+     </dependency>
+     <dependency>