value="**/version.txt,**/defaultManifest.mf"/>
refid="tests-classpath"/>
classname="org.apache.bsf.BSFManager"
classpathref="classpath"/>
classname="netrexx.lang.Rexx"
classpathref="classpath"/>
classname="javax.xml.transform.Transformer"
classpathref="classpath"/>
classpathref="classpath"/>
classname="org.apache.xml.resolver.tools.CatalogResolver"
classpathref="classpath"/>
classname="org.apache.xalan.transformer.TransformerImpl"
classpathref="classpath"/>
classname="org.apache.xalan.trace.TraceListenerEx3"
classpathref="classpath"/>
classname="junit.framework.TestCase"
classpathref="classpath"/>
classname="org.apache.ant.antunit.AntUnit"
classpathref="classpath"/>
classname="org.apache.commons.net.ftp.FTPClient"
classpathref="classpath"/>
classname="antlr.Tool"
classpathref="classpath"/>
classname="org.apache.stylebook.Engine"
classpathref="classpath"/>
classname="org.apache.regexp.RE"
classpathref="classpath"/>
classname="org.apache.oro.text.regex.Perl5Matcher"
classpathref="classpath"/>
classname="javax.sound.sampled.Clip"
classpathref="classpath"/>
classname="javax.media.jai.JAI"
classpathref="classpath"/>
classname="jdepend.framework.JDepend"
classpathref="classpath"/>
classname="org.apache.log4j.Logger"
classpathref="classpath"/>
classname="org.apache.commons.logging.LogFactory"
classpathref="classpath"/>
classname="org.apache.xalan.xslt.EnvironmentCheck"
classpathref="classpath"/>
classname="org.apache.env.Which"
classpathref="classpath"/>
classname="org.apache.xerces.parsers.SAXParser"
classpathref="classpath"/>
classname="org.apache.bcel.Constants"
classpathref="classpath"/>
classpathref="classpath"/>
classpathref="classpath"/>
tests.are.on.system.classpath=${tests.are.on.system.classpath}
classpathref="classpath"/>
classname="org.apache.commons.httpclient.HttpClient"
classpathref="classpath"/>
classname="org.mozilla.javascript.Scriptable"
classpathref="classpath"/>
classname="bsh.StringUtil"
classpathref="classpath"/>
classname="org.apache.xerces.framework.XMLParser"
classpathref="classpath"/>
classname="com.jcraft.jsch.Session"
classpathref="classpath"/>
feature="http://apache.org/xml/features/validation/schema"/>
feature="http://java.sun.com/xml/jaxp/properties/schemaSource"/>
depends="prepare, check_for_optional_packages"
description="--> compiles the source code">
includeantruntime="false"
destdir="${build.classes}"
debug="${debug}"
deprecation="${deprecation}"
target="${javac.target}"
source="${javac.source}"
optimize="${optimize}">
unless="apache.regexp.present"/>
unless="commons.logging.present"/>
unless="recent.xalan2.present"/>
overwrite="true" encoding="UTF-8">
depends="build"
description="--> creates the Apache Ant jars">
value="org.apache.tools.ant"/>
value="Apache Ant"/>
value="${manifest-version}"/>
value="Apache Software Foundation"/>
value="org.apache.tools.ant"/>
value="${manifest-version}"/>
value="Apache Software Foundation"/>
basedir="${build.classes}"
whenmanifestonly="fail">
basedir="${build.classes}"
manifest="${manifest}"
whenmanifestonly="fail">
value="org.apache.tools.ant"/>
value="Apache Ant"/>
value="${manifest-version}"/>
value="Apache Software Foundation"/>
value="org.apache.tools.ant"/>
value="${manifest-version}"/>
value="Apache Software Foundation"/>
basedir="${build.classes}"
manifest="${manifest}"
whenmanifestonly="fail">
value="ant.jar xml-apis.jar xercesImpl.jar xalan.jar"/>
basedir="${build.classes}"
manifest="${manifest.tmp}"
whenmanifestonly="${optional.jars.whenmanifestonly}">
basedir="${build.classes}"
manifest="${manifest.tmp}"
whenmanifestonly="${optional.jars.whenmanifestonly}">
depends="compile-tests"
description="--> creates the Apache Ant Test Utilities jar">
We cannot build the test jar unless JUnit is present,
as JUnit is needed to compile the test classes.
basedir="${build.tests}">
depends="jars,test-jar"
description="--> creates a minimum distribution to run Apache Ant">
failonerror="${chmod.fail}"/>
failonerror="${chmod.fail}" maxparallel="${chmod.maxparallel}"/>
creates a complete distribution">
failonerror="${chmod.fail}"/>
failonerror="${chmod.fail}" maxparallel="${chmod.maxparallel}"/>
creates a bootstrap build">
description="--> creates a source distribution">
failonerror="${chmod.fail}"/>
description="--> creates the zip and tar distributions">
destfile="${dist.base.binaries}/${dist.name}-bin.tar">
src="${dist.base.binaries}/${dist.name}-bin.tar"/>
src="${dist.base.binaries}/${dist.name}-bin.tar"/>
destfile="${dist.base.source}/${dist.name}-src.tar">
src="${dist.base.source}/${dist.name}-src.tar"/>
src="${dist.base.source}/${dist.name}-src.tar"/>
description="--> creates the full Apache Ant distribution">
Uploading Ant version ${project.version}
to host ${ssh.host} as ${apache.user}
distribution to ${ssh.dist.directory}
JAR files to ${ssh.java-repository.directory}/jars
POM files to ${ssh.java-repository.directory}/poms
Known hosts = ${ssh.knownhosts}
depends="init-upload">
keyfile="${ssh.keyfile}" passphrase="${ssh.passphrase}"
knownhosts="${ssh.knownhosts}"
command="mkdir -p ${ssh.dist.directory}" />
keyfile="${ssh.keyfile}" passphrase="${ssh.passphrase}"
knownhosts="${ssh.knownhosts}"
command="mkdir -p ${ssh.java-repository.directory}/jars"/>
keyfile="${ssh.keyfile}" passphrase="${ssh.passphrase}"
knownhosts="${ssh.knownhosts}"
command="mkdir -p ${ssh.java-repository.directory}/poms"/>
uploads the distribution"
depends="init-upload,ssh-mkdirs">
keyfile="${ssh.keyfile}" passphrase="${ssh.passphrase}"
knownhosts="${ssh.knownhosts}"
verbose="${ssh.verbose}" >
keyfile="${ssh.keyfile}" passphrase="${ssh.passphrase}"
knownhosts="${ssh.knownhosts}"
verbose="${ssh.verbose}">
description="--> cleans up build and dist directories">
depends="clean"
description="--> cleans up everything">
targetfile="${build.javadocs}/packages.html">
targetfile="${build.tests.javadocs}/packages.html">
unless="javadoc.notrequired"
description="--> creates the API documentation">
destdir="${build.javadocs}"
author="true"
version="true"
locale="en"
windowtitle="${Name} API"
doctitle="${Name}"
failonerror="true"
verbose="${javadoc.verbose}">
unless="tests.javadoc.notrequired"
description="--> creates the API documentation for test utilities">
destdir="${build.tests.javadocs}"
failonerror="true"
author="true"
version="true"
locale="en"
windowtitle="${Name} Test Utilities"
doctitle="${Name}">
includeantruntime="false"
destdir="${build.tests}"
debug="${debug}"
target="${javac.target}"
source="${javac.source}"
deprecation="${deprecation}">
value="org.apache.tools.ant"/>
value="Apache Ant"/>
value="${manifest-version}"/>
value="Apache Software Foundation"/>
value="org.apache.tools.ant"/>
value="${manifest-version}"/>
value="Apache Software Foundation"/>
depends="xml-check">
if="xalan.envcheck" unless="which.present">
if="which.present">
offline=${offline}
run unit tests and reports"
depends="dump-info,junit-report,antunit-report,check-failed">
Unit tests failed;
see ${build.junit.reports} / ${antunit.reports}
description="--> run unit tests without reports">
property="hasFailingTests"/>
value="${junit.collector.dir}/${junit.collector.class}"/>
haltonfailure="${test.haltonfailure}"
fork="${junit.fork}"
forkmode="${junit.forkmode}"
failureproperty="junit.failed"
errorproperty="junit.failed"
filtertrace="${junit.filtertrace}">
value="${tests-classpath.value}"/>
value="${tests.and.ant.share.classloader}"/>
"testcase" cannot be specified with "junit.testcase" or "antunit.testcase".
Cannot locate test ${testcase}
if="junit.batch">
includes="${junit.includes}" excludes="${junit.excludes}">
unless="bsf.present"/>
unless="rhino.present"/>
unless="bsf.present"/>
unless="rhino.present"/>
unless="bsf.present"/>
unless="beanshell.present"/>
unless="bsf.present"/>
unless="rhino.present"/>
if="tests.are.on.system.classpath"/>
if="tests.are.on.system.classpath"/>
unless="trax.impl.present"/>
unless="trax.impl.present"/>
unless="trax.impl.present"/>
unless="run.junitreport"/>
unless="trax.impl.present"/>
unless="xerces1.present"/>
unless="xerces1.present"/>
unless="apache.resolver.present"/>
unless="jasper.present"/>
unless="tests.and.ant.share.classloader"/>
unless="tests.and.ant.share.classloader"/>
unless="tests.and.ant.share.classloader"/>
unless="tests.and.ant.share.classloader"/>
unless="tests.and.ant.share.classloader"/>
unless="tests.and.ant.share.classloader"/>
unless="tests.and.ant.share.classloader"/>
unless="tests.and.ant.share.classloader"/>
unless="tests.and.ant.share.classloader"/>
unless="tests.and.ant.share.classloader"/>
unless="have.cvs"/>
if="tests.and.ant.share.classloader"/>
description="--> runs the single unit test at $${junit.testcase}" />
description="--> runs the single unit test at $${junit.testcase} (no compile)">
runs interactive tests"
depends="compile-tests"
>
classname="org.apache.tools.ant.taskdefs.TestProcess"
fork="true"/>
if="run.antunit" description="--> run the antunit tests">
else="**/test.xml,**/*-test.xml">
failonerror="false" errorproperty="antunit.failed">
excludes="${antunit.excludes}" />
todir="${antunit.reports}"/>
style="${etc.dir}/printFailingTests.xsl"
destdir="${failingtests.dir}" extension=".txt"
basedir="${build.dir}" includes="testcases/**/TEST-*.xml,antunit/xml/TEST-*.xml"
/>
+-------------------------------------------------------------------------------------
| FAILING TESTS:
+-------------------------------------------------------------------------------------
+-------------------------------------------------------------------------------------
description="--> creates a minimum distribution in ./dist"
depends="dist-lite"/>
description="--> creates an MSI file for Ant, requires WiX and the dotnet Antlib"
depends="internal_dist"
xmlns:dn="antlib:org.apache.ant.dotnet">
mode="both" wixHome="${wix.home}" wixobjDestDir="${wixobj.dir}">