From 02779fb08eaac85b3340bb712ef7bed49d878d99 Mon Sep 17 00:00:00 2001 From: Conor MacNeill Date: Tue, 7 Aug 2001 12:02:03 +0000 Subject: [PATCH] Description of recent changes git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269491 13f79535-47bb-0310-9956-ffa450edef68 --- WHATSNEW | 112 ++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 98 insertions(+), 14 deletions(-) diff --git a/WHATSNEW b/WHATSNEW index 5a568d667..c22cc7683 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -37,6 +37,28 @@ Changes that could break older environments: * will not remove trailing whitespace at the end of lines anymore. +* The Classloader usage has been changed for the taskdef, property, available + and sql tasks so that it delegates to the parent classloader. This may cause + ClassNotFoundExceptions to be thrown if a system class attempts to load a + class in the taskdef's classpath (typically factory objects). + +* Ant now allows multithreading of tasks and the containment of tasks within + other tasks. This can break customer listeners which do not expect messages + from a task before the previous task has finished. + +* Ant now installs its own ouput stream into System.out to route output to the + task currently executing on the current thread. This also means that all + output is now routed as Ant message events. Customer listeners and loggers + should not call System.out at any time. This has always been true but such + usage now will cause problems due to possible recursion. + +* Invalid manifest files will now cause build failures in the task. + +* Ant Introspection now looks for methods with method names starting with + addConfigured. When called these methods are passed an argument after it has + been configured from the build file. Custom tasks supporting nested elements + starting with the name configured will no longer function. + Other changes: -------------- @@ -75,18 +97,25 @@ Other changes: * New formatter named "brief" -* Add support for Borland Application Server to the task using - a nested element. - -* Add support for iPlanet Application Server to the task. Also - includes some iPlanet utility tasks - -* Add support for JBoss Application Server to the task. - -* Add a naming attribute to to control the naming scheme that - ejbjar uses to name the generated EJB jars. +* changes + * Add support for Borland Application Server to the task using + a nested element. + * Add support for iPlanet Application Server to the task. Also + includes some iPlanet utility tasks + * Add support for JBoss Application Server to the task. + * Add a naming attribute to control the naming scheme that + ejbjar uses to name the generated EJB jars. + * Weblogic element now sets the compiler class for EJB 2.0 beans + * elements can be specified at the level for building generic + beans + * elements can now be URLs + * Allow the manifest to be specified for the generated jars + * The weblogic element now supprts an attribte noEJBC to skip the processing + of the jar by ejbc. The ejbc step will then occur at deployment + * weblogic will tell ejbc to use Jikes compiler if build.compiler is set to + jikes. It can be restored to the default, javac, operation if desired. -* Allow the SQL Delimiter to be set in the so that Oracle stored procs may be +* Allow the Delimiter to be set in the so that Oracle stored procs may be entered * and can now optionally skip empty filesets. @@ -149,6 +178,40 @@ Other changes: * will now try to rename() files before copying them byte by byte - only if filtering is of, of course. + +* and tasks now support a new attribute inheritAll. When set to + false, only user properties are passed through to the target Ant instance. + This includes properties set on the command line and properties explicitly + passed + +* now skips off line links if the package list cannot be found. + +* now allows the security policy file to exist outside the weblogic + directory. + +* task will set the Thread contextClassLoader under JDKs 1.2+ to the + classloader for the class being executed. + +* Introduce the concept of a TaskContainer - a task or element which can contain + Ant Tasks. + +* Add new tasks implementing the TaskContainer interface and + which allow parallel execution of tasks to be specified. + +* task will now take into account dependencies on jar files and class + files from a given classpath. + +* manifest entries may now be specified in the build file either + completely or to be merged with a manifest file. + +* task custom formats now support locales. + +* Added a listner which will forward events to Log4J. The log4j configuration + file should be in the directory from which Ant is run or passed as a system + property using a JVM argument. + +* Introduced the concept of to allow for more control in which + filters get applied in a or operation. Fixed bugs: ----------- @@ -193,11 +256,11 @@ Fixed bugs: * Create the weblogic command line as a set of arguments rather than as a single line. Avoids problems with paths which contain spaces. +* now fails when the weblogic ejbc compiler reports an error. + * Make the AntClassLoader load resources in the same order as it currently loads classes. -* Allow DTD locations to be specified when building generic ejb-jars - * Handle classpaths with spaces * Make sure XSLT processors close their output files in