summaryrefslogblamecommitdiff
path: root/ant-test-nsc.sh
blob: 556d75bf00fa1e6efb72c51a68f3067de44d163d (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                                         

                                                                                                                                  






                              
#!/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 "jars_dir containing nsc4ant";   then echo "try 'sh ant-build-nsc.sh build.nsc4'" && exit -1; fi
if ! addJar $jars_dir/nsc.jar "jars_dir containing nsc.jar";       then echo "try 'sh ant-build-nsc.sh'" && exit -1; fi

export CLASSPATH

# for debugging your classpath
#echo $CLASSPATH

ant -f test-nsc.xml $*