fixed dependency test in all build.xml files

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@9529 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
michelou 2006-12-17 07:54:53 +00:00
parent b69b8a1c91
commit 3b96d42d10
1 changed files with 1 additions and 6 deletions

View File

@ -82,14 +82,9 @@ INITIALISATION
<!-- Setting-up Ant contrib tasks -->
<taskdef resource="net/sf/antcontrib/antlib.xml"
classpath="${ant-contrib.jar}"/>
<echo level="verbose" message="ANT_HOME=${env.ANT_HOME}"/>
<fail
message="External library ${ant-contrib.jar} requires variable ANT_HOME to be set"
unless="env.ANT_HOME"
/>
<fail message="External library ${ant-contrib.jar} requires the optional Ant tasks to be installed">
<condition><not><and>
<available file="${env.ANT_HOME}/lib/ant-nodeps.jar"/>
<available file="${ant.home}/lib/ant-nodeps.jar"/>
</and></not></condition>
</fail>
<!-- Making sure enough memory is available -->