summaryrefslogtreecommitdiff
path: root/build-nsc.xml
diff options
context:
space:
mode:
authorburaq <buraq@epfl.ch>2005-06-28 12:11:58 +0000
committerburaq <buraq@epfl.ch>2005-06-28 12:11:58 +0000
commitc09c5c4c7553c34ac7f66d5e89cfade008d20cc0 (patch)
treec70451a73a2fa49b94e78a8efde2fc034fa3106a /build-nsc.xml
parentfbe14f733047f017bc49f20bcd122e2f3a871065 (diff)
downloadscala-c09c5c4c7553c34ac7f66d5e89cfade008d20cc0.tar.gz
scala-c09c5c4c7553c34ac7f66d5e89cfade008d20cc0.tar.bz2
scala-c09c5c4c7553c34ac7f66d5e89cfade008d20cc0.zip
throw match error fixed
Diffstat (limited to 'build-nsc.xml')
-rw-r--r--build-nsc.xml39
1 files changed, 31 insertions, 8 deletions
diff --git a/build-nsc.xml b/build-nsc.xml
index 9b70a68eeb..3b0d8221ca 100644
--- a/build-nsc.xml
+++ b/build-nsc.xml
@@ -1,4 +1,4 @@
-<project name="scala.nsc" default="build">
+<project name="scala.nsc" default="build.nsc">
<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -12,11 +12,15 @@
%%% Preliminaries
%%%
+
+ make jar target=LIBRARY
+ make jar target=TOOLS
+
You need a working scalac, which is accessible for ant.
This means, you should have `fjbg.jar', `scala.jar' and
- `tools.jar' on your classpath [@todo maybe write a script ...]
+ `tools.jar' on your classpath
- !!! use the script ant-build-nsc.sh !!!
+ check the ant-build-nsc script! adjust to your paths if necessary.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
@@ -139,21 +143,39 @@
<arg value="sources/scala/runtime/ScalaRunTime.scala"/>
- </java-->
+ </java
- <nsc srcdir="sources" destdir="${nsc.output.dir}"
classpath=".:sources:newsources:../newsources:${tools.util.dir}"
+
+-->
+ <echo>Compiling predef and runtime</echo>
+ <nsc srcdir="sources" destdir="${nsc.output.dir}"
+ classpath="sources:newsources:${tools.util.dir}"
nscArgs="-nopredefs;-check:term;-check:transmatch;-debug">
<include name="scala/Predef.scala"/>
<include name="scala/runtime/ScalaRunTime.scala"/>
</nsc>
+ <echo>Compiling rest</echo>
+ <nsc srcdir="sources" destdir="${nsc.output.dir}"
+ classpath="sources:newsources:${tools.util.dir}:${nsc.output.dir}"
+ nscArgs="-check:term;-check:transmatch;-debug">
+
+ <include name="scala/**.scala"/>
+ <include name="../newsources/**.scala"/>
+
+ <exclude name="scala/Predef.scala"/>
+ <exclude name="scala/runtime/ScalaRunTime.scala"/>
+
+ <exclude name="scala/tools/**"/>
+ <exclude name="scala/io/UTF8String.scala"/>
+ </nsc>
+
+ <!--
+ <echo>Compiling rest</echo>
<nsc srcdir="sources" destdir="${nsc.output.dir}"
classpath="sources:newsources:${tools.util.dir}">
- <!-- arg value="-verbose"/>
- <arg value="-prompt"/>
- <arg value="-check:term"/ -->
<include name="../sources.nsc/**/*.scala"/>
@@ -165,6 +187,7 @@
<exclude name="scala/tools/**"/>
<exclude name="scala/io/UTF8String.scala"/>
</nsc>
+-->
</target>
<!--
(*3) for Java, and pico, files are only recompiled if the source file is