summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2007-01-31 14:31:04 +0000
committermichelou <michelou@epfl.ch>2007-01-31 14:31:04 +0000
commit32e3f2cafbd146528a03a60dac26575114226db1 (patch)
tree48ede2f8d4bffde90b32951dcdc2bd8a1c34cd4e /build.xml
parentf6f011d167194dbc5704b97b113fc646855f6031 (diff)
downloadscala-32e3f2cafbd146528a03a60dac26575114226db1.tar.gz
scala-32e3f2cafbd146528a03a60dac26575114226db1.tar.bz2
scala-32e3f2cafbd146528a03a60dac26575114226db1.zip
excludes JDK5Scheduler.scala on Java 1.4
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 5f171f5181..35e2f53f87 100644
--- a/build.xml
+++ b/build.xml
@@ -133,6 +133,10 @@ INITIALISATION
</elseif>
<else><fail>System environment could not be determined</fail></else>
</if>
+ <!-- Setting flag for Java versions 1.4.x -->
+ <condition property="java14" else="false">
+ <contains string="${java.version}" substring="1.4"/>
+ </condition>
<!-- Finding out SVN revision -->
<exec executable="svnversion" outputproperty="svn.number"/>
<property name="init.avail" value="yes"/>
@@ -437,6 +441,7 @@ BUILD QUICK-TEST LAYER
<pathelement location="${quick.dir}/lib/actors"/>
</classpath>
<include name="scala/actors/**/*.scala"/>
+ <exclude name="scala/actors/**/JDK5Scheduler.scala" if="java14"/>
<excludesfile name="${nsc.excludes.file}" if="excludes.avail"/>
</locker>
<!-- Build compiler -->