diff --git a/build.xml b/build.xml index 5e39cd7c0..c2e630eec 100644 --- a/build.xml +++ b/build.xml @@ -197,7 +197,7 @@ - + @@ -206,7 +206,7 @@ - + @@ -375,7 +375,7 @@ Check to see what optional dependencies are available =================================================================== --> - + @@ -390,66 +390,65 @@ + classname="org.apache.bsf.BSFManager" + classpathref="classpath" ignoresystemclasses="${ignoresystemclasses}"/> + classname="netrexx.lang.Rexx" + classpathref="classpath" ignoresystemclasses="${ignoresystemclasses}"/> + classname="org.apache.xml.resolver.tools.CatalogResolver" + classpathref="classpath" ignoresystemclasses="${ignoresystemclasses}"/> + classname="org.apache.xalan.trace.TraceListenerEx3" + classpathref="classpath" ignoresystemclasses="${ignoresystemclasses}"/> + classname="junit.framework.TestCase" + classpathref="classpath" ignoresystemclasses="${ignoresystemclasses}"/> + classname="org.junit.Test" + classpathref="classpath" ignoresystemclasses="${ignoresystemclasses}"/> + classname="org.apache.ant.antunit.AntUnit" + classpathref="classpath" ignoresystemclasses="${ignoresystemclasses}"/> - + classname="org.apache.commons.net.ftp.FTPClient" + classpathref="classpath" ignoresystemclasses="${ignoresystemclasses}"/> + + classname="org.apache.regexp.RE" + classpathref="classpath" ignoresystemclasses="${ignoresystemclasses}"/> + classname="org.apache.oro.text.regex.Perl5Matcher" + classpathref="classpath" ignoresystemclasses="${ignoresystemclasses}"/> + classname="javax.sound.sampled.Clip" + classpathref="classpath"/> + classname="javax.media.jai.JAI" + classpathref="classpath" ignoresystemclasses="${ignoresystemclasses}"/> + classname="jdepend.framework.JDepend" + classpathref="classpath" ignoresystemclasses="${ignoresystemclasses}"/> + classname="org.apache.log4j.Logger" + classpathref="classpath" ignoresystemclasses="${ignoresystemclasses}"/> + classname="org.apache.commons.logging.LogFactory" + classpathref="classpath" ignoresystemclasses="${ignoresystemclasses}"/> + classname="org.apache.xalan.xslt.EnvironmentCheck" + classpathref="classpath" ignoresystemclasses="${ignoresystemclasses}"/> - + classname="org.apache.env.Which" + classpathref="classpath" ignoresystemclasses="${ignoresystemclasses}"/> + classname="org.apache.xerces.parsers.SAXParser" + classpathref="classpath" ignoresystemclasses="${ignoresystemclasses}"/> + classname="org.apache.bcel.Constants" + classpathref="classpath" ignoresystemclasses="${ignoresystemclasses}"/> @@ -478,8 +477,8 @@ - - + + @@ -506,30 +505,28 @@ + classname="org.mozilla.javascript.Scriptable" + classpathref="classpath" ignoresystemclasses="${ignoresystemclasses}"/> + classname="bsh.StringUtil" + classpathref="classpath" ignoresystemclasses="${ignoresystemclasses}"/> + classname="org.apache.xerces.framework.XMLParser" + classpathref="classpath" ignoresystemclasses="${ignoresystemclasses}"/> + classname="com.jcraft.jsch.Session" + classpathref="classpath" ignoresystemclasses="${ignoresystemclasses}"/> + classname="org.tukaani.xz.XZOutputStream" + classpathref="classpath" ignoresystemclasses="${ignoresystemclasses}"/> - - + + @@ -555,20 +552,20 @@ =================================================================== --> + includeantruntime="false" + destdir="${build.classes}" + debug="${debug}" + deprecation="${deprecation}" + target="${javac.target}" + source="${javac.source}" + optimize="${optimize}"> @@ -579,13 +576,11 @@ - + - + @@ -598,8 +593,7 @@ - + @@ -611,7 +605,7 @@ - +
+ 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"> @@ -685,9 +679,9 @@ + basedir="${build.classes}" + manifest="${manifest}" + whenmanifestonly="fail"> @@ -698,19 +692,19 @@
+ 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"/>
@@ -720,9 +714,9 @@
+ basedir="${build.classes}" + manifest="${manifest}" + whenmanifestonly="fail"> @@ -730,7 +724,7 @@ + value="ant.jar xalan.jar"/> @@ -738,9 +732,9 @@ + basedir="${build.classes}" + manifest="${manifest.tmp}" + whenmanifestonly="${optional.jars.whenmanifestonly}"> @@ -775,15 +769,15 @@ + 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}"> @@ -798,10 +792,10 @@ =================================================================== --> - + + basedir="${java.dir}" + whenmanifestonly="fail"> @@ -810,8 +804,8 @@ + basedir="${java.dir}" + whenmanifestonly="fail"> @@ -820,8 +814,8 @@ + basedir="${java.dir}" + whenmanifestonly="fail"> @@ -833,8 +827,8 @@ + basedir="${java.dir}" + whenmanifestonly="${optional.jars.whenmanifestonly}"> @@ -868,11 +862,11 @@ - + description="--> creates the Apache Ant Test Utilities source jar"> + - + basedir="${java.dir}"> + @@ -886,8 +880,8 @@ =================================================================== --> + depends="jars,test-jar" + description="--> creates a minimum distribution to run Apache Ant"> @@ -943,12 +937,12 @@ =================================================================== --> - + - + @@ -967,6 +961,7 @@ + @@ -979,7 +974,7 @@ - + @@ -987,31 +982,30 @@ - - - - - - - - - + + + + + + + + + - - - - - - - - - + + + + + + + + + - - + @@ -1094,7 +1088,7 @@ =================================================================== --> + description="--> creates a source distribution"> @@ -1161,10 +1155,12 @@ nonPosixMode="${setpermissions.nonposixmode}"> + + @@ -1183,7 +1179,7 @@ Create the binary distribution =================================================================== --> - + @@ -1192,13 +1188,13 @@ - + - + @@ -1223,7 +1219,7 @@ - + @@ -1231,13 +1227,13 @@ - + + destfile="${dist.base.binaries}/${dist.name}-bin.tar"> @@ -1254,16 +1250,16 @@ + src="${dist.base.binaries}/${dist.name}-bin.tar"/> + src="${dist.base.binaries}/${dist.name}-bin.tar"/> + src="${dist.base.binaries}/${dist.name}-bin.tar"/> - + @@ -1347,9 +1343,9 @@ + destfile="${dist.base.source}/${dist.name}-src.tar"> @@ -1362,11 +1358,11 @@ + src="${dist.base.source}/${dist.name}-src.tar"/> + src="${dist.base.source}/${dist.name}-src.tar"/> + src="${dist.base.source}/${dist.name}-src.tar"/> @@ -1379,8 +1375,8 @@ - + + description="--> cleans up build and dist directories"> @@ -1404,8 +1400,8 @@ =================================================================== --> + depends="clean" + description="--> cleans up everything"> @@ -1421,7 +1417,7 @@ --> - + @@ -1438,7 +1434,7 @@ Creates the API documentation =================================================================== --> - + @@ -1451,19 +1447,19 @@ - + + destdir="${build.javadocs}" + failonerror="true" + author="true" + version="true" + locale="en" + windowtitle="${Name} API" + doctitle="${Name}" + maxmemory="1000M" + verbose="${javadoc.verbose}"> @@ -1484,18 +1480,18 @@ - + + destdir="${build.tests.javadocs}" + failonerror="true" + author="true" + version="true" + locale="en" + windowtitle="${Name} Test Utilities" + doctitle="${Name}"> @@ -1516,12 +1512,12 @@ + includeantruntime="false" + destdir="${build.tests}" + debug="${debug}" + target="${javac.target}" + source="${javac.source}" + deprecation="${deprecation}"> @@ -1531,19 +1527,19 @@ + 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"/> @@ -1554,7 +1550,7 @@ + depends="xml-check"> @@ -1568,18 +1564,18 @@ - + - + + setting the property is a good shortcut--> @@ -1601,26 +1597,26 @@ - - + + + depends="junit-report,antunit-report,check-failed"> Unit tests failed; see: ${build.junit.reports} ${antunit.reports} - - + - + @@ -1628,7 +1624,7 @@ ${antunit.reports} - + @@ -1643,11 +1639,11 @@ ${antunit.reports} - --> + --> - + @@ -1681,18 +1677,18 @@ ${antunit.reports} + + -->
+ + --> - + @@ -1700,17 +1696,17 @@ ${antunit.reports} "testcase" cannot be specified with "junit.testcase" or "antunit.testcase". - + - - + + - + @@ -1720,11 +1716,11 @@ ${antunit.reports} Cannot locate test ${testcase} - + - - + + @@ -1733,47 +1729,47 @@ ${antunit.reports} - - - + + + - - + + - - + + - - - + + + - + - +
- + - + @@ -1782,13 +1778,13 @@ ${antunit.reports} - + + if="junit.batch"> - - + + @@ -1827,79 +1823,79 @@ ${antunit.reports} + 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="run.junitreport"/> + unless="xerces1.present"/> + unless="xerces1.present"/> + unless="apache.resolver.present"/> + unless="jasper.present"/> + been loaded by the same classloader - will throw + IllegalAccessExceptions otherwise. --> + 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="tests.and.ant.share.classloader"/> + unless="have.cvs"/> @@ -1910,17 +1906,17 @@ ${antunit.reports} + 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)"> @@ -1928,11 +1924,10 @@ ${antunit.reports} + depends="compile-tests"> + classname="org.apache.tools.ant.taskdefs.TestProcess" + fork="true"/> @@ -1943,25 +1938,27 @@ ${antunit.reports} + AntUnit tests must be run with ${bootstrap.dir} (or ${dist.dir}), not ${ant.home}. Try './build.sh antunit-tests' for example. - - + - + - + + excludes="${antunit.excludes}"/> - + @@ -1969,32 +1966,29 @@ ${antunit.reports} - + - + - + - + - + - - - + + - + +------------------------------------------------------------------------------------- | FAILING TESTS: +------------------------------------------------------------------------------------- @@ -2019,8 +2013,8 @@ ${antunit.reports} =================================================================== --> + description="--> creates a minimum distribution in ./dist" + depends="dist-lite"/> + description="--> creates an MSI file for Ant, requires WiX and the dotnet Antlib" + depends="dist-internal" + xmlns:dn="antlib:org.apache.ant.dotnet"> @@ -2045,7 +2039,7 @@ ${antunit.reports} + mode="both" wixHome="${wix.home}" wixobjDestDir="${wixobj.dir}">