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/01 02:51:57 UTC

[62/94] [abbrv] incubator-joshua git commit: fixed decoder invocation

fixed decoder invocation


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

Branch: refs/heads/master
Commit: 348c7cbf99ef3f472a93453e88d35e0fd22d57cc
Parents: ee2e593
Author: Matt Post <po...@cs.jhu.edu>
Authored: Thu May 26 18:26:52 2016 -0400
Committer: Matt Post <po...@cs.jhu.edu>
Committed: Thu May 26 18:26:52 2016 -0400

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


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/348c7cbf/bin/joshua-decoder
----------------------------------------------------------------------
diff --git a/bin/joshua-decoder b/bin/joshua-decoder
index c752d03..1907638 100755
--- a/bin/joshua-decoder
+++ b/bin/joshua-decoder
@@ -43,8 +43,8 @@ set -u
 JOSHUA=$(dirname $0)/..
 
 exec java -Xmx${mem} \
- 	-cp $JOSHUA/class:$JOSHUA/ext/berkeleylm/jar/berkeleylm.jar:$JOSHUA/lib/gson-2.5.jar:$JOSHUA/lib/guava-19.0.jar \
 	-Dfile.encoding=utf8 \
 	-Djava.util.logging.config.file=${JOSHUA}/logging.properties \
 	-Djava.library.path=$JOSHUA/lib \
-	joshua.decoder.JoshuaDecoder "$@"
+	-cp $JOSHUA/target/joshua-*-jar-with-dependencies.jar \
+	org.apache.joshua.decoder.JoshuaDecoder "$@"