summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorGilles Dubochet <gilles.dubochet@epfl.ch>2005-10-20 13:47:28 +0000
committerGilles Dubochet <gilles.dubochet@epfl.ch>2005-10-20 13:47:28 +0000
commit917a34ff6531ad58543aed4cb5b67f1745ee353b (patch)
tree6b6a47e7c0dce185d0400c45f89b91d4c889d5f0 /build.xml
parent7ebd3268f7483376919e796cc7b30954414c5215 (diff)
downloadscala-917a34ff6531ad58543aed4cb5b67f1745ee353b.tar.gz
scala-917a34ff6531ad58543aed4cb5b67f1745ee353b.tar.bz2
scala-917a34ff6531ad58543aed4cb5b67f1745ee353b.zip
Checks if the classpath is empty.
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index f5188ff774..25a9b05ad4 100644
--- a/build.xml
+++ b/build.xml
@@ -18,6 +18,13 @@
<contains string="${env.ANT_OPTS}" substring="-Xmx"/>
</condition>
<fail unless="memory.set">SABBUS requires additional memory. Please set the 'ANT_OPTS' environment property to '-Xmx256M' or more.</fail>
+ <condition property="classpath.set">
+ <and>
+ <isset property="env.CLASSPATH"/>
+ <not><equals arg1="${env.CLASSPATH}" arg2="" trim="true"/></not>
+ </and>
+ </condition>
+ <fail if="classpath.set">SABBUS is too unstable when used with a non-empty classpath. Unset your classpath environment variable.</fail>
<!-- The system classpath should not be used -->
<property name="build.sysclasspath" value="ignore"/>