summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml16
1 files changed, 12 insertions, 4 deletions
diff --git a/build.xml b/build.xml
index 493e4c246b..d377662b7b 100644
--- a/build.xml
+++ b/build.xml
@@ -93,11 +93,19 @@
<include name="scala/runtime/**/*.java"/>
<include name="scala/tools/util/*.java"/>
<include name="scala/*.java"/>
- <exclude name="scala/ScalaObject.java"/>
- <exclude name="scala/Array.java"/>
+ <not>
+ <present targetdir="${newsources.dir}" present="both">
+ <mapper type="glob" from="*.scala" to="*.java"/>
+ </present>
+ </not>
</pico>
- <delete file="${build.nslib.dir}/scala/ScalaObject.class"/>
- <delete file="${build.nslib.dir}/scala/Array.class"/>
+ <delete>
+ <fileset dir="${build.nslib.dir}">
+ <present targetdir="${newsources.dir}" present="both">
+ <mapper type="glob" from="*.class" to="*.scala"/>
+ </present>
+ </fileset>
+ </delete>
</target>
<target name="build.osc.nstools" depends="init.osc" description="Builds the new Scala compiler.">