diff options
author | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2005-10-20 13:47:28 +0000 |
---|---|---|
committer | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2005-10-20 13:47:28 +0000 |
commit | 917a34ff6531ad58543aed4cb5b67f1745ee353b (patch) | |
tree | 6b6a47e7c0dce185d0400c45f89b91d4c889d5f0 | |
parent | 7ebd3268f7483376919e796cc7b30954414c5215 (diff) | |
download | scala-917a34ff6531ad58543aed4cb5b67f1745ee353b.tar.gz scala-917a34ff6531ad58543aed4cb5b67f1745ee353b.tar.bz2 scala-917a34ff6531ad58543aed4cb5b67f1745ee353b.zip |
Checks if the classpath is empty.
-rw-r--r-- | build.xml | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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"/> |