diff options
-rwxr-xr-x | ant-test-nsc.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ant-test-nsc.sh b/ant-test-nsc.sh new file mode 100755 index 0000000000..d9e5f39ea5 --- /dev/null +++ b/ant-test-nsc.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +. ant-common.sh + +# jar with fjbg, scala runtime +if ! addJar $fjbg_jar fjbg_jar; then exit -1; fi +if ! addJar $tools_jar tools_jar; then exit -1; fi +if ! addJar $scala_jar scala_jar; then echo "try: make jar target=LIBRARY" && exit -1; fi + +# jars for `nsc' task (once its compiled) +if ! addJar $jars_dir/nsc4ant.jar; then exit -1; fi +if ! addJar $jars_dir/nsc.jar; then exit -1; fi + +export CLASSPATH + +# for debugging your classpath +#echo $CLASSPATH + +ant -f test-nsc.xml $* |