From 35b8aa223750ca82e6bc7d3aee825ac6bcdefdf2 Mon Sep 17 00:00:00 2001 From: Burak Emir Date: Wed, 29 Jun 2005 10:13:02 +0000 Subject: separated the paths to properties file --- ant-build-nsc.sh | 28 +++++++++++++++------ build-nsc.xml | 74 ++++++++++++++++++++------------------------------------ 2 files changed, 46 insertions(+), 56 deletions(-) diff --git a/ant-build-nsc.sh b/ant-build-nsc.sh index 5ec1846dbe..b949b8f2ba 100755 --- a/ant-build-nsc.sh +++ b/ant-build-nsc.sh @@ -2,16 +2,28 @@ export ANT_OPTS=-Xmx256m -CLASSPATH=/home/linuxsoft/apps/fjbg/jars/fjbg.jar -CLASSPATH=$CLASSPATH:/home/linuxsoft/apps/jaco/lib/jaco.jar -CLASSPATH=$CLASSPATH:/home/linuxsoft/apps/fjbg/jars/fjbg.jar -CLASSPATH=$CLASSPATH:/localhome/buraq/scala/objects/main/lib/scala.jar -CLASSPATH=$CLASSPATH:/localhome/buraq/scala/objects/main/lib/tools.jar -CLASSPATH=$CLASSPATH:/home/linuxsoft/apps/jaco/lib/jaco.jar -CLASSPATH=$CLASSPATH:/tmp/hackedPico -CLASSPATH=$CLASSPATH:/tmp/jars/nsc4ant.jar:/tmp/jars/nsc.jar +awk '/^$/ {next;} /^#/ {next;} {print "export " $1 $2 $3}' build-nsc.properties > env.sh +. env.sh + +# ------- don't change these, change build-nsc.properties instead + +# jars for `scalac' task +CLASSPATH=${fjbg_jar} +CLASSPATH=$CLASSPATH:${scala_jar} +CLASSPATH=$CLASSPATH:${tools_jar} + +# jars for `pico' task including the `-scala-hacks' enableda +CLASSPATH=$CLASSPATH:${jaco_jar} +CLASSPATH=$CLASSPATH:${hacked_pico_dir} + +# jars for `nsc' task (once its compiled) +CLASSPATH=$CLASSPATH:${jars_dir}/nsc4ant.jar:${jars_dir}/nsc.jar export CLASSPATH +# for debugging your classpath + +#echo $CLASSPATH + ant -f build-nsc.xml $* diff --git a/build-nsc.xml b/build-nsc.xml index 3b0d8221ca..78c7a334c6 100644 --- a/build-nsc.xml +++ b/build-nsc.xml @@ -26,13 +26,7 @@ - - - - - - - + @@ -43,21 +37,21 @@ - - - - + + + + - + - + @@ -70,27 +64,27 @@ - - + + - - + + - - + + - - + + @@ -98,14 +92,14 @@ - - + + - + @@ -130,7 +124,7 @@ - + Compiling predef and runtime - @@ -158,8 +152,8 @@ Compiling rest - @@ -172,22 +166,6 @@ - - \ No newline at end of file + -- cgit v1.2.3