diff options
author | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2005-11-03 18:14:53 +0000 |
---|---|---|
committer | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2005-11-03 18:14:53 +0000 |
commit | 871771f410cfc4ccaed58657c13e1deedc110420 (patch) | |
tree | 63d8324d3744c51d65b478007de59c17a783be7d /build.xml | |
parent | 0b24f5797ddf9f125bf558d4be58e7ee1a392543 (diff) | |
download | scala-871771f410cfc4ccaed58657c13e1deedc110420.tar.gz scala-871771f410cfc4ccaed58657c13e1deedc110420.tar.bz2 scala-871771f410cfc4ccaed58657c13e1deedc110420.zip |
Changed path to use config instead of build.sup...
Changed path to use config instead of build.support. test target now
simply runs the test script.
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 27 |
1 files changed, 12 insertions, 15 deletions
@@ -32,16 +32,18 @@ <!-- Properties in 'build.base.properties' are all defined relatively to ${basedir}. --> - <echo level="verbose">Loading properties from '${basedir}/build.support/build.base.properties'</echo> - <property file="${basedir}/build.support/build.base.properties"/> + <echo level="verbose">Loading properties from '${basedir}/config/build.base.properties'</echo> + <property file="${basedir}/config/build.base.properties"/> <!-- Properties in 'build.${user.name}.properties' take precedence over properties in 'build.default.properties'. --> + <echo level="verbose">Loading properties from '${config.dir}/build.${user.name}.properties'</echo> + <property file="${config.dir}/build.${user.name}.properties"/> <echo level="verbose">Loading properties from '${build.support.dir}/build.${user.name}.properties'</echo> <property file="${build.support.dir}/build.${user.name}.properties"/> - <echo level="verbose">Loading properties from '${build.support.dir}/build.default.properties'</echo> - <property file="${build.support.dir}/build.default.properties"/> + <echo level="verbose">Loading properties from '${config.dir}/build.default.properties'</echo> + <property file="${config.dir}/build.default.properties"/> <!-- A path containing pre-compiled Scala libraries found typically in a Scala distribution. --> @@ -66,6 +68,8 @@ <pathelement location="${fjbg.jar}"/> <pathelement location="${msil.jar}"/> </path> + + <target name="all" depends="clean.all, distrib.all"/> <!-- ##################################################################### @@ -580,17 +584,10 @@ ##################################################################### --> - <target name="init.test"> - <fail message="Missing library ${junit.jar} in ${ant.home}."> - <condition><not><and> - <available classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/> - </and></not></condition> - </fail> - </target> - - <target name="test" depends="init.test, init.nsc" - description="Runs the Scala test suite."> - <fail>'test' is not implemented yet.</fail> + <target name="test" description="Runs the Scala test suite."> + <exec executable="test-nsc/scalanstest" + dir="${basedir}" + os="Mac OS X, Linux, FreeBSD, Solaris"/> <!-- <junit printsummary="yes" fork="yes" haltonfailure="yes"> <formatter type="plain"/> |