82e0a693e7
Fixes PR pkg/43752 Changes from Ant 1.8.0 TO Ant 1.8.1: - Changes that could break older environments: * ant-trax.jar is no longer produced since TrAX is included in JDK 1.4+. * Ant no longer ships with Apache Xerces-J or the XML APIs but relies on the Java runtime to provide a parser and matching API versions. * The stylebook ant task and the ant-stylebook.jar are removed. - Fixed bugs: * Tasks that iterate over task or type definitions, references or targets now iterate over copies instead of the live maps to avoid ConcurrentModificationExceptions if another thread changes the maps. * The filesmatch condition threw a NullPointerException when comparing text files and the second file contained fewer lines than the first one. * Regression: The <ear> task would allow multiple META-INF/application.xml files to be added. * VectorSet#remove(Object) would fail if the size of the vector equaled its capacity. * Regression : ant -diagnostics was returning with exit code 1 * Fix for exec task sometimes inserts extraneous newlines * SymlinkTest#testSymbolicLinkUtilsMethods failing on MacOS * If <concat>'s first resourcecollection child is a <resources>, any subsequently added child resourcecollection joins the first. * <get> with an invalid URL could trigger an NPE in some JVMs. * Broken Pipe issue under Ubuntu Linux * Properties wrongly read from file or not update during read * AntClassLoader in Ant 1.8.0 has been considerably slower than in 1.7.1 * ANT_CMD_LINE_ARGS are rippling through lower level Ant usage * email : IO error sending mail with plain mimetype * the complete-ant-cmd.pl script failed to create a proper cache of target if "ant -p" failed. * <rmic>'s sourcebase attribute was broken. * <copy>'s failonerror didn't work as expected when copying a single element resource collection to a file. * <get> no longer followed redirects if the redirect URL was relative and not an absolute URL. * fixed a performance degradation in the code that expands property references. * <jar filesetmanifest="merge"> was broken on Windows. * <symlink> delete failed if the link attribute was a relative path to a link inside the current directory without a leading ".". * <telnet> and <rexec> failed to find the expected strings when waiting for responses and thus always failed. - Other changes: * Project provides new get methods that return copies instead of the live maps of task and type definitions, references and targets. * Ant is now more lenient with ZIP extra fields and will be able to read archives that it failed to read in earlier versions. * The <zip> family of tasks has been sped up for bigger archives. * Add removeKeepExtension option to NetRexxC task. * Add prefix attribute to loadproperties task. * Add resource attribute to length task. * PropertyResource will effectively proxy another Resource if ${name} evaluates to a Resource object. * Added forcestring attribute to equals condition to force evaluation of Object args as strings; previously only API-level usage of the equals condition allowed Object args, but Ant 1.8.x+ property evaluation may yield values of any type. * BuildFileTest.assertPropertyUnset() fails with a slightly more meaningful error message * <junit> will now throw an exception if a test name is empty. This used to manifest itself in unrelated errors like * A change that made <exec> more reliable on Windows (Bugzilla Report 5003) strongly impacts the performance for commands that execute quickly, like attrib. Basically no single execution of a command could take less than a second on Windows. A few timeouts have been tweaked to allow these commands to finish more quickly but still they will take longer than they did with Ant 1.7.1. * Added SimpleBigProjectLogger, intermediate between NoBannerLogger and BigProjectLogger. * <mappedresources> supports new attributes enablemultiplemappings and cache. * Added the augment task to manipulate existing references via Ant's basic introspection mechanisms. |
||
---|---|---|
.. | ||
patches | ||
DESCR | ||
distinfo | ||
Makefile | ||
PLIST |