You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@joshua.apache.org by mj...@apache.org on 2016/06/02 02:45:08 UTC

[4/7] incubator-joshua git commit: Removed RES_OVERRIDE_PATH

Removed RES_OVERRIDE_PATH

This is causing errors on my Mac \u2014�"cannot find org.apache.joshua.decoder.JoshuaDecoder". Could be reverted if someone knows what's up.


Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/036add66
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/036add66
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/036add66

Branch: refs/heads/master
Commit: 036add66fdf3c52d775186b500e332c6e521385c
Parents: 447e09d
Author: Matt Post <po...@cs.jhu.edu>
Authored: Wed Jun 1 22:27:05 2016 -0400
Committer: Matt Post <po...@cs.jhu.edu>
Committed: Wed Jun 1 22:27:05 2016 -0400

----------------------------------------------------------------------
 bin/joshua-decoder | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/036add66/bin/joshua-decoder
----------------------------------------------------------------------
diff --git a/bin/joshua-decoder b/bin/joshua-decoder
index ed2bdb9..9bcfc74 100755
--- a/bin/joshua-decoder
+++ b/bin/joshua-decoder
@@ -40,11 +40,10 @@ fi
 set -u
 
 JOSHUA=$(dirname $0)/..
-JAR_PATH=$(find "$JOSHUA"/target/joshua-*-jar-with-dependencies.jar)
-RES_OVERRIDE_PATH="$JOSHUA"/src/main/resources/
-
+JAR_PATH=$JOSHUA/target/joshua-*-jar-with-dependencies.jar
+RES_OVERRIDE_PATH=$JOSHUA/src/main/resources
 exec java -Xmx${mem} \
 	-Dfile.encoding=utf8 \
 	-Djava.library.path=$JOSHUA/lib \
-	-cp "$RES_OVERRIDE_PATH:$JAR_PATH" \
+	-cp $JAR_PATH \
 	org.apache.joshua.decoder.JoshuaDecoder "$@"