diff --git a/build.xml b/build.xml index b14be72e0..920fcf409 100644 --- a/build.xml +++ b/build.xml @@ -198,7 +198,7 @@ - + @@ -207,7 +207,7 @@ - + @@ -368,7 +368,7 @@ Check to see what optional dependencies are available =================================================================== --> - + @@ -386,66 +386,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}"/> @@ -474,8 +473,8 @@ - - + + @@ -502,27 +501,25 @@ + 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}"/> - - + + @@ -562,20 +559,20 @@ =================================================================== --> + includeantruntime="false" + destdir="${build.classes}" + debug="${debug}" + deprecation="${deprecation}" + target="${javac.target}" + source="${javac.source}" + optimize="${optimize}"> @@ -586,13 +583,11 @@ - + - + @@ -604,8 +599,7 @@ - + @@ -617,7 +611,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"> @@ -691,9 +685,9 @@ + basedir="${build.classes}" + manifest="${manifest}" + whenmanifestonly="fail"> @@ -704,19 +698,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"/>
@@ -726,9 +720,9 @@
+ basedir="${build.classes}" + manifest="${manifest}" + whenmanifestonly="fail"> @@ -736,7 +730,7 @@ + value="ant.jar xalan.jar"/> @@ -744,9 +738,9 @@ + basedir="${build.classes}" + manifest="${manifest.tmp}" + whenmanifestonly="${optional.jars.whenmanifestonly}"> @@ -780,15 +774,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}"> @@ -803,10 +797,10 @@ =================================================================== --> - + + basedir="${java.dir}" + whenmanifestonly="fail"> @@ -815,8 +809,8 @@ + basedir="${java.dir}" + whenmanifestonly="fail"> @@ -825,8 +819,8 @@ + basedir="${java.dir}" + whenmanifestonly="fail"> @@ -838,8 +832,8 @@ + basedir="${java.dir}" + whenmanifestonly="${optional.jars.whenmanifestonly}"> @@ -872,11 +866,11 @@ - + description="--> creates the Apache Ant Test Utilities source jar"> + - + basedir="${java.dir}"> + @@ -890,8 +884,8 @@ =================================================================== --> + depends="jars,test-jar" + description="--> creates a minimum distribution to run Apache Ant"> @@ -942,12 +936,12 @@ =================================================================== --> - + - + @@ -966,6 +960,7 @@ + @@ -978,7 +973,7 @@ - + @@ -986,31 +981,30 @@ - - - - - - - - - + + + + + + + + + - - - - - - - - - + + + + + + + + + - - + @@ -1088,7 +1082,7 @@ =================================================================== --> + description="--> creates a source distribution"> @@ -1171,7 +1165,7 @@ Create the binary distribution =================================================================== --> - + @@ -1180,13 +1174,13 @@ - + - + @@ -1211,7 +1205,7 @@
- + @@ -1219,13 +1213,13 @@ - + + destfile="${dist.base.binaries}/${dist.name}-bin.tar"> @@ -1242,14 +1236,14 @@ + src="${dist.base.binaries}/${dist.name}-bin.tar"/> + src="${dist.base.binaries}/${dist.name}-bin.tar"/> - + @@ -1331,9 +1325,9 @@ + destfile="${dist.base.source}/${dist.name}-src.tar"> @@ -1346,9 +1340,9 @@ + src="${dist.base.source}/${dist.name}-src.tar"/> + src="${dist.base.source}/${dist.name}-src.tar"/> @@ -1361,8 +1355,8 @@ - + + description="--> cleans up build and dist directories"> @@ -1386,8 +1380,8 @@ =================================================================== --> + depends="clean" + description="--> cleans up everything"> @@ -1401,7 +1395,7 @@ --> - + @@ -1418,7 +1412,7 @@ Creates the API documentation =================================================================== --> - + @@ -1431,19 +1425,19 @@ - + + destdir="${build.javadocs}" + failonerror="true" + author="true" + version="true" + locale="en" + windowtitle="${Name} API" + doctitle="${Name}" + maxmemory="1000M" + verbose="${javadoc.verbose}"> @@ -1464,18 +1458,18 @@ - + + destdir="${build.tests.javadocs}" + failonerror="true" + author="true" + version="true" + locale="en" + windowtitle="${Name} Test Utilities" + doctitle="${Name}"> @@ -1496,12 +1490,12 @@ + includeantruntime="false" + destdir="${build.tests}" + debug="${debug}" + target="${javac.target}" + source="${javac.source}" + deprecation="${deprecation}"> @@ -1511,19 +1505,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"/> @@ -1534,7 +1528,7 @@ + depends="xml-check"> @@ -1548,18 +1542,18 @@ - + - + + setting the property is a good shortcut--> @@ -1581,29 +1575,29 @@ - - + + + depends="junit-report,antunit-report,check-failed"> Unit tests failed; see: ${build.junit.reports} ${antunit.reports} - - + - + - + @@ -1618,11 +1612,11 @@ ${antunit.reports} - --> + --> - + @@ -1651,18 +1645,18 @@ ${antunit.reports} + + --> + + --> - + @@ -1670,17 +1664,17 @@ ${antunit.reports} "testcase" cannot be specified with "junit.testcase" or "antunit.testcase". - + - - + + - + @@ -1690,11 +1684,11 @@ ${antunit.reports} Cannot locate test ${testcase} - + - - + + @@ -1703,47 +1697,47 @@ ${antunit.reports} - - - + + + - - + + - - + + - - - + + + - + - + - + - + @@ -1752,13 +1746,13 @@ ${antunit.reports} - + + if="junit.batch"> - - + + @@ -1797,79 +1791,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"/> @@ -1880,17 +1874,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)"> @@ -1898,11 +1892,10 @@ ${antunit.reports} + depends="compile-tests"> + classname="org.apache.tools.ant.taskdefs.TestProcess" + fork="true"/> @@ -1913,25 +1906,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}"/> - + @@ -1939,32 +1934,29 @@ ${antunit.reports} - + - + - + - + - + - - - + + - + +------------------------------------------------------------------------------------- | FAILING TESTS: +------------------------------------------------------------------------------------- @@ -1989,8 +1981,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"> @@ -2015,7 +2007,7 @@ ${antunit.reports} + mode="both" wixHome="${wix.home}" wixobjDestDir="${wixobj.dir}">