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/07/25 14:25:34 UTC

[5/6] incubator-joshua git commit: fixed java path for apache

fixed java path for apache


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

Branch: refs/heads/master
Commit: b2b648066d271ff21e177f61c92987cde811e89f
Parents: e957a12
Author: Matt Post <po...@cs.jhu.edu>
Authored: Sun Jul 17 13:45:36 2016 -0400
Committer: Matt Post <po...@cs.jhu.edu>
Committed: Sun Jul 17 13:45:36 2016 -0400

----------------------------------------------------------------------
 scripts/support/filter_grammar.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/b2b64806/scripts/support/filter_grammar.sh
----------------------------------------------------------------------
diff --git a/scripts/support/filter_grammar.sh b/scripts/support/filter_grammar.sh
index 8b037cf..6b05e32 100755
--- a/scripts/support/filter_grammar.sh
+++ b/scripts/support/filter_grammar.sh
@@ -17,4 +17,6 @@
 #
 # Wrapper around the grammar filter
 
-java -Xmx4g -Dfile.encoding=utf8 -cp $JOSHUA/class joshua.tools.TestSetFilter "$@"
+JOSHUA=$(readlink -f $(dirname $0)/../..)
+JAR_PATH=$JOSHUA/target/joshua-*-jar-with-dependencies.jar
+java -Xmx4g -Dfile.encoding=utf8 -cp $JAR_PATH org.apache.joshua.tools.TestSetFilter "$@"