2001-09-30 13:21:54 +00:00
|
|
|
Changes from Ant 1.4.1 to current CVS version
|
|
|
|
==============================================
|
2001-08-09 11:57:04 +00:00
|
|
|
|
|
|
|
Changes that could break older environments:
|
|
|
|
--------------------------------------------
|
|
|
|
|
2001-10-26 09:36:40 +00:00
|
|
|
* the RegexpMatcher interface has been extended to support case
|
|
|
|
insensitive matches and other options - custom implementations of
|
|
|
|
this interface won't work any longer. We recommend to use the new
|
|
|
|
Regexp interface that also supports substitution instead of the
|
|
|
|
RegexpMatcher interface in the future.
|
|
|
|
|
2001-11-16 12:45:14 +00:00
|
|
|
* <gzip> will throw an exception if your src attribute points to a directory.
|
|
|
|
|
2001-10-25 12:37:31 +00:00
|
|
|
Fixed bugs:
|
|
|
|
-----------
|
|
|
|
|
|
|
|
* Fixed bug where ant would not copy system properties into new Project
|
|
|
|
in ant/antcall tasks when inheritall="false" is set.
|
|
|
|
|
|
|
|
* <propertyfile> would not close the original property file.
|
|
|
|
|
|
|
|
* <ant> will no longer override a subbuilds basedir with inheritall="true".
|
|
|
|
|
2001-10-29 14:25:07 +00:00
|
|
|
* Fixed problem with the built-in <junit> formatters which assumed
|
|
|
|
that only one test could be running at the same time - this is not
|
|
|
|
necessarily true, see junit.extensions.ActiveTestSuite.
|
|
|
|
|
2001-11-08 16:16:08 +00:00
|
|
|
* <jar>'s whenEmpty attribute is useless as JARs are never empty, they
|
|
|
|
contain at least a manifest file, therefore it will now print a
|
|
|
|
warning and do nothing.
|
|
|
|
|
2001-11-09 15:48:11 +00:00
|
|
|
* <typedef> hasn't been all that useful as it couldn't be used outside
|
|
|
|
of targets (it can now) and nested "unknown" elements have always
|
|
|
|
been considered to be tasks (changed as well).
|
|
|
|
|
2001-11-13 14:49:48 +00:00
|
|
|
* <fixcrlf> would fail for files that contained lines longer than 8kB.
|
|
|
|
|
2001-11-15 08:47:49 +00:00
|
|
|
* Some junit formatters incorrectly assumed that all testcases would
|
|
|
|
inherit from junit.framework.TestCase.
|
|
|
|
|
2001-08-09 11:57:04 +00:00
|
|
|
Other changes:
|
|
|
|
--------------
|
|
|
|
|
2001-11-19 10:54:50 +00:00
|
|
|
* Added support for specifying CVS_RSH in the <cvs/> task
|
|
|
|
|
2001-11-15 09:38:49 +00:00
|
|
|
* New tasks bzip2 and bunzip2 to pack and unpack files using the
|
2001-11-20 02:34:32 +00:00
|
|
|
BZip2 alogrithm, replaceregexp, checksum, translate
|
2001-10-25 15:03:39 +00:00
|
|
|
|
2001-09-12 16:43:26 +00:00
|
|
|
* The attributes zipfile, jarfile, warfile and earfile (from the Zip,
|
2001-09-13 02:53:22 +00:00
|
|
|
Jar, War and Ear tasks) have been deprecated and superseded by a
|
2001-09-12 16:43:26 +00:00
|
|
|
new attribute "file".
|
|
|
|
|
2001-10-18 08:25:16 +00:00
|
|
|
* Added a new condition <isset> that test for the existence of a
|
|
|
|
property to the condition task.
|
|
|
|
|
2001-11-16 12:45:14 +00:00
|
|
|
* Added a new condition <checksum>.
|
|
|
|
|
2001-10-23 10:35:14 +00:00
|
|
|
* Ant's testcases require JUnit 3.7 or above as they now use the new
|
|
|
|
assertTrue method instead of assert.
|
|
|
|
|
2001-10-23 12:15:46 +00:00
|
|
|
* <taskdef> and <typedef> will now emit a warning if a task/type of
|
|
|
|
the given name already exists.
|
|
|
|
|
2001-10-25 12:37:31 +00:00
|
|
|
* A new revision of VAJ tasks: The most important new feature
|
|
|
|
is the ability to execute VAJ tasks from the command line by
|
|
|
|
exploiting the Remote Tool Access feature of VAJ.
|
2001-10-23 12:15:46 +00:00
|
|
|
|
2001-11-05 08:14:17 +00:00
|
|
|
* Improved support for Novell NetWare.
|
|
|
|
|
2001-11-13 14:02:15 +00:00
|
|
|
* Added an optional encoding attribute to <fixcrlf>
|
|
|
|
|
2001-09-30 13:21:54 +00:00
|
|
|
Changes from Ant 1.4 to Ant 1.4.1
|
|
|
|
===========================================
|
|
|
|
|
|
|
|
Fixed bugs:
|
|
|
|
-----------
|
|
|
|
|
|
|
|
* <ant>'s antfile attribute will now also be considered an absolute path on
|
|
|
|
Windows systems, if it starts with a \ and no drive specifier.
|
|
|
|
|
|
|
|
* The fullpath attribute of <zipfileset> has been ignored if you used
|
|
|
|
the src attribute at the same time.
|
|
|
|
|
|
|
|
* The manifest file is now always placed as the second entry (after /META-INF)
|
|
|
|
in generated jars. This allows the manifest to be read by JarInputStreams
|
|
|
|
|
|
|
|
* Fixed bug in depend task which would fail with a NullPointerException if no
|
|
|
|
dependency cache was specified.
|
|
|
|
|
|
|
|
* sql task now handles REM statements correctly so that lines starying with rem
|
|
|
|
but which are not comments are actually processed.
|
|
|
|
|
|
|
|
* XMLLogger now uses the task's name rather than the classname
|
|
|
|
|
|
|
|
* <mapper>s will now work as expected if the to pattern expands to an
|
|
|
|
absolute pathname.
|
|
|
|
|
|
|
|
* <javac> didn't ignore memory settings in non-fork mode
|
|
|
|
|
|
|
|
* <cab> didn't split the options attribute into several command line
|
|
|
|
arguments correctly.
|
|
|
|
|
|
|
|
Other changes:
|
|
|
|
--------------
|
|
|
|
|
|
|
|
* New source attribute for <javac> to enable assertion in JDK 1.4
|
|
|
|
|
|
|
|
* XmlLogger and <antstructure> now add an encoding declaration to the
|
|
|
|
XML files they generate.
|
|
|
|
|
|
|
|
* <fileset> has a new attribute "casesensitive" to make it match
|
|
|
|
filenames in a case insensitive way (if you set it to false) - by
|
|
|
|
default filesets remain case sensitive.
|
|
|
|
|
2001-08-09 11:57:04 +00:00
|
|
|
Changes from Ant 1.3 to Ant 1.4
|
2001-03-04 13:35:51 +00:00
|
|
|
===========================================
|
|
|
|
|
2001-03-09 09:07:35 +00:00
|
|
|
Changes that could break older environments:
|
|
|
|
--------------------------------------------
|
2001-08-18 15:02:35 +00:00
|
|
|
* JUnitReport now uses the xalan redirect extension for multi-output.
|
|
|
|
With Xalan 1.2.2 it forces the use of bsf.jar in the classpath.
|
|
|
|
(Available in the xalan distribution). It is recommended to switch
|
|
|
|
to Xalan 2.x that do not need it.
|
2001-03-09 09:07:35 +00:00
|
|
|
|
|
|
|
* Zip.setWhenempty() has changed its signature.
|
|
|
|
|
2001-03-16 12:57:16 +00:00
|
|
|
* <rmic> is now implemented using a factory. This makes extending
|
|
|
|
rmic to use a new compiler a lot easier but may break custom
|
|
|
|
versions of this task that rely on the old implementation.
|
|
|
|
|
2001-04-23 16:12:25 +00:00
|
|
|
* several Zip methods have changed their signature as we now use a Zip
|
|
|
|
package of our own that handles Unix permissions for directories.
|
2001-07-05 13:10:26 +00:00
|
|
|
Furthermore <zip> will now use the platform's default character
|
|
|
|
encoding for filenames - this is consistent with the command line
|
|
|
|
ZIP tools, but causes problems if you try to open them from within
|
|
|
|
Java and your filenames contain non US-ASCII characters. Use the new
|
|
|
|
encoding attribute of the task and set it to UTF8 to get the old
|
|
|
|
behavior.
|
2001-04-23 16:12:25 +00:00
|
|
|
|
2001-08-30 13:26:38 +00:00
|
|
|
* The <pvcs> task has been moved to a package of its own.
|
2001-04-27 12:36:12 +00:00
|
|
|
|
2001-05-04 08:03:53 +00:00
|
|
|
* JUnitResultFormater has two additional methods that must be
|
|
|
|
implemented by custom formatters.
|
|
|
|
|
2001-07-10 15:40:09 +00:00
|
|
|
* Ant will no longer use the canonical version of a path internally -
|
|
|
|
this may yield different results on filesystems that support
|
|
|
|
symbolic links.
|
|
|
|
|
2001-07-13 08:07:59 +00:00
|
|
|
* The output generated by the xml formatter for <junit> has changed
|
|
|
|
again, it doesn't format the numeric value in the time attribute anymore.
|
|
|
|
|
2001-07-18 08:06:35 +00:00
|
|
|
* Pattern matching rules have changes slightly, the pattern foo*
|
|
|
|
doesn't match files contained in a directory named foo - use foo/*
|
|
|
|
instead.
|
|
|
|
|
2001-08-07 06:59:35 +00:00
|
|
|
* <fixcrlf> will not remove trailing whitespace at the end of lines anymore.
|
|
|
|
|
2001-08-07 12:02:03 +00:00
|
|
|
* 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 <jar> 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.
|
|
|
|
|
2001-08-18 15:02:35 +00:00
|
|
|
* The environment variable JAVACMD that can be used to specify the
|
|
|
|
java executable to Ant's wrapper scripts must not contain additional
|
|
|
|
command line parameters any longer - please use the environment
|
|
|
|
variable ANT_OPTS for such parameters now.
|
|
|
|
|
|
|
|
* Ant's wrapper scripts now quote the CLASSPATH environment variable, thus
|
|
|
|
supporting classpaths which refer to directories containing spaces. This means
|
|
|
|
that the CLASSPATH environment variable cannot have quotes. Any quotes should
|
|
|
|
be removed. This will not affect the operation of the CLASSPATH environment
|
|
|
|
variable in other contexts.
|
|
|
|
|
|
|
|
* A delete task like
|
|
|
|
<delete includeEmptyFilesets="true">
|
|
|
|
<fileset dir="somedir" />
|
|
|
|
</delete>
|
|
|
|
will now remove "somedir" as well, unless there are still files left
|
|
|
|
in it (matched by the default excludes).
|
2001-08-30 13:26:38 +00:00
|
|
|
|
|
|
|
* The copy task will now fail if the file to be copied is not found.
|
|
|
|
|
|
|
|
* Ant properties defined in properties files now behave the same way as
|
|
|
|
properties defined in the build file. In particular the $ character needs
|
|
|
|
to be escaped in property values by doubling it to $$. So, to define a
|
|
|
|
property with the value $hello, you need to define it in a properties file
|
|
|
|
as
|
|
|
|
test.prop=$$hello
|
|
|
|
This was not the case in Ant 1.3
|
2001-08-18 15:02:35 +00:00
|
|
|
|
2001-03-16 09:12:47 +00:00
|
|
|
Other changes:
|
|
|
|
--------------
|
|
|
|
|
2001-06-07 11:42:09 +00:00
|
|
|
* New tasks: ear, p4counter, record, cvspass, vsscheckin, vsscheckout,
|
2001-08-09 05:48:49 +00:00
|
|
|
typedef, sleep, mimemail, set of tasks for Continuus/Synergy, dependset,
|
2001-08-18 15:02:35 +00:00
|
|
|
condition, maudit, mmetrics, jpcoverage, jpcovreport, jpcovmerge
|
2001-04-04 09:12:48 +00:00
|
|
|
|
2001-03-16 09:12:47 +00:00
|
|
|
* Ant now uses JAXP 1.1
|
|
|
|
|
2001-03-19 11:22:52 +00:00
|
|
|
* rmic now supports Kaffe's and Weblogic's version of rmic.
|
2001-03-16 12:57:16 +00:00
|
|
|
|
|
|
|
* new magic property build.rmic to chose the rmic implementation
|
|
|
|
|
2001-03-19 12:44:33 +00:00
|
|
|
* <tar> will now add empty directories as well
|
|
|
|
|
2001-03-19 13:18:31 +00:00
|
|
|
* you can now specify a description for <p4change>
|
|
|
|
|
2001-03-29 10:21:12 +00:00
|
|
|
* <touch> can now work on <fileset>s
|
|
|
|
|
|
|
|
* <uptodate> now supports a value attribute
|
|
|
|
|
|
|
|
* <fail> supports nested text
|
|
|
|
|
2001-04-03 11:32:31 +00:00
|
|
|
* <fixcrlf> won't override files that are already in the correct
|
|
|
|
format.
|
|
|
|
|
|
|
|
* <sql> now supports REM comments as well as // and --
|
|
|
|
|
2001-04-04 13:35:05 +00:00
|
|
|
* <jar> now has a nested <metainf> element following the same idea as
|
|
|
|
<war>'s <webinf>.
|
|
|
|
|
2001-04-27 12:36:12 +00:00
|
|
|
* <pvcs> can now handle multiple projects.
|
|
|
|
|
2001-05-03 07:46:33 +00:00
|
|
|
* <available> now has a "type" attribute you can use in conjunction
|
|
|
|
with the "file" attribute to specify whether the "file" you're
|
|
|
|
looking for is a file or a directory.
|
|
|
|
|
2001-05-04 08:03:53 +00:00
|
|
|
* New <junit> formatter named "brief"
|
|
|
|
|
2001-08-07 12:02:03 +00:00
|
|
|
* <ejbjar> changes
|
|
|
|
* Add support for Borland Application Server to the <ejbjar> task using
|
|
|
|
a <borland> nested element.
|
|
|
|
* Add support for iPlanet Application Server to the <ejbjar> task. Also
|
|
|
|
includes some iPlanet utility tasks
|
|
|
|
* Add support for JBoss Application Server to the <ejbjar> 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
|
|
|
|
* <dtd> elements can be specified at the <ejbjar> level for building generic
|
|
|
|
beans
|
|
|
|
* <dtd> 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.
|
2001-05-17 11:05:55 +00:00
|
|
|
|
2001-08-07 12:02:03 +00:00
|
|
|
* Allow the <sql> Delimiter to be set in the so that Oracle stored procs may be
|
2001-05-17 10:43:34 +00:00
|
|
|
entered
|
|
|
|
|
2001-05-22 09:58:34 +00:00
|
|
|
* <execon> and <apply> can now optionally skip empty filesets.
|
|
|
|
|
2001-05-23 16:44:11 +00:00
|
|
|
* <javadoc> has a new useexternalfile attribute that makes it use a
|
|
|
|
temporary file for sourcefile and package names - helps to defeat
|
|
|
|
command line length limitations.
|
|
|
|
|
2001-06-08 10:11:28 +00:00
|
|
|
* Data types like <path> can now be defined inside of <target>s
|
|
|
|
|
2001-06-22 07:45:16 +00:00
|
|
|
* you can now specify a classpath for <style> - the XSLZ processor
|
|
|
|
will be loaded from this path
|
|
|
|
|
|
|
|
* added a force attribute to <style> to support dependencies that the
|
|
|
|
task cannot determine itself (dependency on parameters, not file
|
|
|
|
modification times for example)
|
|
|
|
|
2001-07-06 11:23:18 +00:00
|
|
|
* added vmlauncher attribute to exec tasks. This defaults to true. If
|
|
|
|
it is set to false, the VM's ability to launch commands in bypassed
|
|
|
|
and the OS shell, either directly or through the auxillary antRun
|
|
|
|
scripts is used.
|
|
|
|
|
2001-07-11 08:03:11 +00:00
|
|
|
* regexp mapper now supports the java.util.regex package of JDK 1.4.
|
|
|
|
|
2001-07-12 07:36:50 +00:00
|
|
|
* New filesonly attribute for <zip> and friends to suppress directory
|
|
|
|
entries.
|
|
|
|
|
2001-07-12 08:07:22 +00:00
|
|
|
* New update attribute for <zip> and friends - update an existing
|
|
|
|
archive instead of creating a new one.
|
|
|
|
|
2001-07-12 12:06:45 +00:00
|
|
|
* <apply> and <execon> have been merged into a single task.
|
|
|
|
|
2001-07-12 13:02:47 +00:00
|
|
|
* added vssver.scc to the default excludes
|
|
|
|
|
2001-07-12 13:26:42 +00:00
|
|
|
* <available> has a new filepath attribute/nested element that allows
|
|
|
|
you top search for a file in a given path.
|
|
|
|
|
2001-07-13 08:07:59 +00:00
|
|
|
* <junit> can now optionally set a property on test failure.
|
|
|
|
|
2001-07-18 08:06:35 +00:00
|
|
|
* <taskdef> can now define several tasks at once, reading the
|
|
|
|
name/classname pairs from a property file or resource.
|
|
|
|
|
2001-07-27 06:52:51 +00:00
|
|
|
* <unzip/unjar/unwar> and <untar> now have an overwrite attribute that
|
|
|
|
defaults to true. If set to false, files that are newer than the
|
|
|
|
files in the archive will not be replaced.
|
|
|
|
|
2001-08-01 09:08:56 +00:00
|
|
|
* <patternset> and <fileset> now support nested <in/excludesfile>
|
|
|
|
elements - using these you can have more than one in/excludes file
|
|
|
|
per <patternset>.
|
|
|
|
|
2001-08-06 09:04:26 +00:00
|
|
|
* Three new supported compilers for javac: kjc for kopi, gcj for the
|
|
|
|
gcc frontend and sj for Symantec's compiler.
|
|
|
|
In addition extJavac or the new fork attribute can be
|
2001-08-03 14:36:48 +00:00
|
|
|
used to run the JDK's javac in a JVM separate from Ant.
|
2001-08-01 15:54:24 +00:00
|
|
|
|
2001-08-03 11:22:22 +00:00
|
|
|
* <fixrlf> can now with CR only line-ends and can use an arbitraty
|
|
|
|
between 2 and 80.
|
|
|
|
|
2001-08-07 06:19:25 +00:00
|
|
|
* The .NET tasks have been adapted to the beta2 release of the framework.
|
|
|
|
|
2001-08-07 06:59:35 +00:00
|
|
|
* <move> will now try to rename() files before copying them byte by
|
|
|
|
byte - only if filtering is of, of course.
|
2001-08-07 12:02:03 +00:00
|
|
|
|
|
|
|
* <ant> and <antcall> 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
|
|
|
|
|
|
|
|
* <javadoc> now skips off line links if the package list cannot be found.
|
|
|
|
|
|
|
|
* <wlrun> now allows the security policy file to exist outside the weblogic
|
|
|
|
directory.
|
|
|
|
|
|
|
|
* <java> 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 <parallel> and
|
|
|
|
<sequential> which allow parallel execution of tasks to be specified.
|
|
|
|
|
|
|
|
* <depend> task will now take into account dependencies on jar files and class
|
|
|
|
files from a given classpath.
|
|
|
|
|
|
|
|
* <jar> manifest entries may now be specified in the build file either
|
|
|
|
completely or to be merged with a manifest file.
|
|
|
|
|
|
|
|
* <tstamp> 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 <filtersets> to allow for more control in which
|
|
|
|
filters get applied in a <copy> or <move> operation.
|
2001-08-07 06:59:35 +00:00
|
|
|
|
2001-08-18 15:02:35 +00:00
|
|
|
* Added nowarn attribute to javac and deprecated the Jikes-magic property
|
|
|
|
build.compiler.warnings.
|
|
|
|
|
|
|
|
* The <depend> task cache format has changed and all dependency information is
|
|
|
|
now stored in a single file.
|
|
|
|
|
2001-03-09 09:07:35 +00:00
|
|
|
Fixed bugs:
|
|
|
|
-----------
|
|
|
|
|
2001-03-09 09:32:28 +00:00
|
|
|
* Testcases have been made independent of current working directory.
|
2001-03-09 09:07:35 +00:00
|
|
|
|
|
|
|
* Input ZIP-Files will be closed when using a <zipfileset>.
|
|
|
|
|
2001-03-09 09:32:28 +00:00
|
|
|
* p4 tasks now don't fail if user, port or client have been omitted
|
2001-03-09 09:07:35 +00:00
|
|
|
(and this is acceptable for the context of the command).
|
|
|
|
|
|
|
|
* <javah>'s outputfile attribute will be resolved as relative to the
|
|
|
|
projects basedir.
|
2001-03-04 13:35:51 +00:00
|
|
|
|
2001-03-09 09:32:28 +00:00
|
|
|
* <antstructure> should create a valid DTD for propertyfile.operation.entry
|
|
|
|
and omit tasks it fails to load.
|
2001-03-09 09:23:51 +00:00
|
|
|
|
2001-03-09 16:04:24 +00:00
|
|
|
* won't try to pass a -bootclasspath flag to javac 1.1 anymore
|
|
|
|
|
2001-03-13 14:15:22 +00:00
|
|
|
* <style>'s style attribute no handles absolute paths correctly.
|
|
|
|
|
2001-03-14 12:35:37 +00:00
|
|
|
* <delete includeemptydirs="true"> now deletes more than just the leaf
|
|
|
|
directories.
|
|
|
|
|
2001-03-14 12:48:32 +00:00
|
|
|
* You can now specify a <fileset> for a directory that doesn't exist at
|
|
|
|
declaration time but will created before the fileset gets used for the
|
|
|
|
first time.
|
|
|
|
|
2001-03-14 13:02:52 +00:00
|
|
|
* If the quiet attribute has been set, <delete> will handle <fileset>s
|
|
|
|
with non-existing directories gracefully.
|
|
|
|
|
2001-05-04 08:03:53 +00:00
|
|
|
* Output written by testcases will now be captured by the <junit> task
|
|
|
|
and passed to the formatters.
|
2001-05-17 10:43:34 +00:00
|
|
|
|
|
|
|
* Quote the -group parameter to Javadoc as per the specification
|
|
|
|
|
|
|
|
* Initialise classes when loaded through the AntClassLoader - that is, run
|
|
|
|
static initializers
|
|
|
|
|
2001-07-06 11:23:18 +00:00
|
|
|
* Implement getResource() and getResources() in AntClassLoader
|
2001-05-17 10:43:34 +00:00
|
|
|
|
|
|
|
* Create the <ejbjar> weblogic command line as a set of arguments rather than
|
|
|
|
as a single line. Avoids problems with paths which contain spaces.
|
|
|
|
|
2001-08-07 12:02:03 +00:00
|
|
|
* <ejbjar> now fails when the weblogic ejbc compiler reports an error.
|
|
|
|
|
2001-05-17 10:43:34 +00:00
|
|
|
* Make the AntClassLoader load resources in the same order as it currently
|
2001-07-06 11:23:18 +00:00
|
|
|
loads classes.
|
2001-05-17 10:43:34 +00:00
|
|
|
|
|
|
|
* Handle classpaths with spaces
|
2001-06-22 07:45:16 +00:00
|
|
|
|
|
|
|
* Make sure XSLT processors close their output files in <style>.
|
2001-05-04 08:03:53 +00:00
|
|
|
|
2001-07-04 10:07:54 +00:00
|
|
|
* perform proper uptodate check in <rmic> when compiling for IIOP.
|
|
|
|
|
2001-07-04 10:33:33 +00:00
|
|
|
* <jjtree>'s uptodate test works even if outputdirectory is not the
|
|
|
|
parent dir of target
|
|
|
|
|
2001-07-04 14:40:28 +00:00
|
|
|
* <copy> will remove target file (if it exists) before writing to it -
|
|
|
|
this avoids problems with links on filesystems that support them.
|
|
|
|
|
2001-07-04 15:05:19 +00:00
|
|
|
* <ftp> now properly recurses remote directories.
|
|
|
|
|
|
|
|
* <ftp> closes remote connection when it's done.
|
|
|
|
|
2001-07-12 07:09:19 +00:00
|
|
|
* <junit> tries to include all necessary classes for the task itself
|
|
|
|
to the classpath when running in fork mode - doesn't work for JDK 1.1
|
|
|
|
|
2001-07-12 12:06:45 +00:00
|
|
|
* <apply> and <execon> do now execute the command only once, if you
|
|
|
|
specify the parallel attribute - instead of once per fileset.
|
|
|
|
|
2001-07-12 13:02:47 +00:00
|
|
|
* directory based tasks and fileset could miss some included files in
|
|
|
|
directories that have been excluded
|
|
|
|
|
2001-08-07 12:02:03 +00:00
|
|
|
* <fixcrlf> failed for large files.
|
2001-08-03 11:22:22 +00:00
|
|
|
|
2001-08-07 06:59:35 +00:00
|
|
|
* <move> removed files you tried to move to themselves.
|
|
|
|
|
2001-08-07 12:02:03 +00:00
|
|
|
* <sql> task will not trty to print the result set unless the query succeeded.
|
|
|
|
|
|
|
|
* Ant classloader will now ignore paths which are invalid relative to the
|
|
|
|
project base
|
|
|
|
|
|
|
|
* <ejbjar> weblogic elements check for jar file changes has been fixed.
|
|
|
|
Previously some changes would not be included.
|
|
|
|
|
|
|
|
* properties loaded from properties files are now resolved internally. This
|
|
|
|
removes the spurious warnings about usage of properties which have not been
|
|
|
|
set.
|
|
|
|
|
|
|
|
* <jar> task and friends now process the JAR manifest to ensure it is valid.
|
|
|
|
|
|
|
|
* The task finished event now includes any exception thrown by the task.
|
|
|
|
|
|
|
|
* <java> task now supports a jvmVersion attribute so that if another JVM is
|
|
|
|
being used, Ant can determine which options to use for features such as the
|
|
|
|
VM memory limits
|
|
|
|
|
|
|
|
|
2001-03-04 13:35:51 +00:00
|
|
|
Changes from Ant 1.2 to Ant 1.3
|
2000-10-27 14:59:32 +00:00
|
|
|
===========================================
|
|
|
|
|
2000-11-10 17:07:20 +00:00
|
|
|
Changes that could break older environments:
|
|
|
|
--------------------------------------------
|
|
|
|
|
|
|
|
* Ant doesn't search for the buildfile anymore, unless you use the new
|
|
|
|
-find argument.
|
|
|
|
|
2000-11-28 17:06:21 +00:00
|
|
|
* <perforce> has been replaced by a number of new tasks.
|
|
|
|
|
2001-01-12 14:08:51 +00:00
|
|
|
* <javac> is now implemented using a factory. This makes extending
|
|
|
|
javac to use a new compiler a lot easier but may break custom
|
|
|
|
versions of this task that rely on the old implementation.
|
|
|
|
|
2001-02-01 15:28:21 +00:00
|
|
|
* The output generated by the xml formatter for <junit> has changed a
|
|
|
|
little, it doesn't append " sec" in the time attribute anymore.
|
|
|
|
|
2000-10-27 14:59:32 +00:00
|
|
|
Other changes:
|
|
|
|
--------------
|
|
|
|
|
2001-02-13 12:32:01 +00:00
|
|
|
* A GUI Frontend: Antidote. This is currently in development. At this
|
|
|
|
time, this is not part of the Ant release, although the source is
|
|
|
|
included if you are interested.
|
2000-11-06 12:52:51 +00:00
|
|
|
|
2000-11-28 17:06:21 +00:00
|
|
|
* New tasks: stylebook, propertyfile, depend, antlr, telnet, csc,
|
2001-02-13 12:32:01 +00:00
|
|
|
ilasm, apply, javah, several clearcase tasks, junitreport, sound
|
2000-10-31 12:13:14 +00:00
|
|
|
|
|
|
|
* Added output attribute to <java>.
|
2000-10-27 14:59:32 +00:00
|
|
|
|
2001-01-31 13:10:46 +00:00
|
|
|
* Added nested zipfileset element to <zip>
|
2000-10-31 13:53:07 +00:00
|
|
|
|
2000-11-02 14:53:43 +00:00
|
|
|
* Changed <sql> so that printing is at the task level rather than
|
|
|
|
the statement level.
|
|
|
|
|
|
|
|
* javadoc task will pass -d flag to any doclet if the destDir attribute is
|
|
|
|
given. If the doclet does not accept the -d flag then omit the destdir
|
|
|
|
attribute.
|
|
|
|
|
2000-11-06 14:32:25 +00:00
|
|
|
* <cab> can work on non-Windows platforms with the help of libcabinet.
|
|
|
|
See http://trill.cis.fordham.edu/~barbacha/cabinet_library/.
|
|
|
|
|
2000-11-28 14:15:21 +00:00
|
|
|
* <ftp> now supports passive mode.
|
2000-11-16 08:59:26 +00:00
|
|
|
|
2000-12-01 14:06:57 +00:00
|
|
|
* New <mapper> data type that can be used to get influence on the
|
|
|
|
target files for some tasks like <copy> or enable new types of tasks
|
2001-02-01 15:04:41 +00:00
|
|
|
like <apply>.
|
2000-12-01 14:06:57 +00:00
|
|
|
|
2000-12-01 15:41:20 +00:00
|
|
|
* <execon> provides more control over the command line now, the names
|
|
|
|
of the source files are no longer required to be at the end of the
|
|
|
|
command.
|
|
|
|
|
2001-01-04 12:49:29 +00:00
|
|
|
* Style tasks will now support TraX compliant XSL processors if one is present
|
|
|
|
in your classpath.
|
|
|
|
|
|
|
|
* Added a failonerror to the javac task. If set to false, the build will
|
|
|
|
continue even if there are compilation errors.
|
2001-01-04 11:13:17 +00:00
|
|
|
|
2001-01-04 12:49:29 +00:00
|
|
|
* Added nested format elements to the tstamp task allowing additional time
|
|
|
|
formats to be defined for arbitrary properties.
|
2001-01-04 11:13:17 +00:00
|
|
|
|
2001-01-08 12:42:47 +00:00
|
|
|
* Added classpath attribute and nested classpath element to <property>
|
|
|
|
to make the resource attribute more powerful.
|
|
|
|
|
2001-02-01 17:14:06 +00:00
|
|
|
* ${} property expansion will now be performed on the patterns read
|
|
|
|
from files specified as includesfile or excludesfile attributes.
|
2001-02-13 12:32:01 +00:00
|
|
|
|
|
|
|
* The <tar> and <untar> tasks now support GNU format for handling paths
|
|
|
|
which are greater than 100 characters in length. In addition the <tar>
|
|
|
|
task now supports nested filesets through which the file permissions
|
|
|
|
may be controlled.
|
|
|
|
|
|
|
|
* wlrun, wlstop and ejbjar now support Weblogic 6.0
|
|
|
|
|
2001-02-18 13:44:44 +00:00
|
|
|
* The MPasre task has been updated to work with MParse 2.0
|
|
|
|
|
|
|
|
* The documentation has been significantly updated.
|
|
|
|
|
2001-02-01 17:14:06 +00:00
|
|
|
|
2000-10-27 14:59:32 +00:00
|
|
|
Fixed bugs:
|
|
|
|
-----------
|
|
|
|
|
|
|
|
* <signjar> doesn't use deprectated methods anymore.
|
|
|
|
|
2000-10-31 12:13:14 +00:00
|
|
|
* javadoc's failonerror attribute works again
|
2000-10-27 15:23:35 +00:00
|
|
|
|
2001-03-02 23:08:28 +00:00
|
|
|
* javadoc's additionalparam attribute will now be split into separate
|
|
|
|
parameters (on spaces) to allow for more than one parameter.
|
|
|
|
|
2000-11-02 14:53:43 +00:00
|
|
|
* Changed <sql> task so that printing result sets works on Oracle
|
|
|
|
|
2000-11-19 14:14:12 +00:00
|
|
|
* Changes to ddcreator and ejbc helper to respect the descriptor hierarchy
|
|
|
|
keppgenerated in ejbc can now be turned off
|
|
|
|
|
|
|
|
* ejbjar now correctly ignores <ejb-ref> elements in the deployment descriptor.
|
2001-01-04 12:49:29 +00:00
|
|
|
CMP files are included by parsing the weblogic deployment descriptor rather
|
|
|
|
than relying on the naming convention used in ant 1.2
|
2001-02-13 12:32:01 +00:00
|
|
|
|
|
|
|
* ejbjar includes super classes and super interfaces into the generated ejb
|
|
|
|
jar files. The <support> nested element allows support classes to be
|
|
|
|
included in the EJB jar. The toplink element should now correctly locate
|
|
|
|
the toplink descriptor.
|
|
|
|
|
2000-11-28 14:15:21 +00:00
|
|
|
* <vssget> now correctly deals with spaces in arguments
|
|
|
|
|
|
|
|
* <jar> fails early if a given manifest file doesn't exist
|
|
|
|
|
2000-11-29 16:01:53 +00:00
|
|
|
* <rmic> doesn't search for the _Skel file anymore when stubversion is
|
|
|
|
set to 1.2.
|
|
|
|
|
|
|
|
* <rmic> uses the the same classpath to verify a class can be rmic'd
|
|
|
|
as it passes to the compiler.
|
|
|
|
|
2000-11-30 16:27:14 +00:00
|
|
|
* org.apache.tools.mail.MailMessage (and therefore <mail>) can now
|
|
|
|
handle SMTP servers sending multi line responses.
|
|
|
|
|
2000-11-30 17:27:54 +00:00
|
|
|
* nested <classpath> elements of <taskdef> now work for <taskdef>s not
|
|
|
|
nested into <target> as well.
|
|
|
|
|
2001-01-08 16:40:44 +00:00
|
|
|
* <property> and <available> will search for the resource "foo" instead
|
|
|
|
of "/org/apache/tools/ant/taskdefs/foo" when given a relative resource
|
2001-01-08 12:52:06 +00:00
|
|
|
name foo.
|
2001-01-24 12:53:38 +00:00
|
|
|
|
|
|
|
* Handle build files in directories whose name contained a "#" character
|
2001-01-08 12:52:06 +00:00
|
|
|
|
2001-01-31 13:10:46 +00:00
|
|
|
* <junit> can now log to files whose name contains a comma as well.
|
|
|
|
|
2001-02-13 12:32:01 +00:00
|
|
|
* The AntClassLoader now refers to the loader which loaded it, any
|
|
|
|
requests it does not handle itself. Previously these went to the
|
|
|
|
primordial loader.
|
|
|
|
|
2000-10-24 08:45:24 +00:00
|
|
|
Changes from Ant 1.1 to Ant 1.2
|
2000-10-27 14:59:32 +00:00
|
|
|
===============================
|
2000-07-25 10:13:01 +00:00
|
|
|
|
2000-07-26 13:28:26 +00:00
|
|
|
Changes that could break older environments:
|
|
|
|
--------------------------------------------
|
2000-07-25 10:13:01 +00:00
|
|
|
|
2000-09-14 07:19:52 +00:00
|
|
|
* Semantics of <property> has changed again in the hope to be more
|
|
|
|
intuitive. ${} expansion now happens at runtime and <property> tags
|
|
|
|
living inside of targets only take effect if they are visited at
|
|
|
|
runtime.
|
|
|
|
|
|
|
|
As a side effect of this change, task's attributes get set at runtime
|
|
|
|
not at parser time as well, which might change the results of
|
|
|
|
<script>s or other custom tasks that reference other tasks by their id
|
|
|
|
attribute.
|
|
|
|
|
2000-08-07 11:13:38 +00:00
|
|
|
* copying of support files in <javac> has been removed - as well as
|
|
|
|
the filtering attribute.
|
2000-07-25 10:13:01 +00:00
|
|
|
|
2000-08-10 09:33:04 +00:00
|
|
|
* the <expand> and <keysubst> tasks have been removed.
|
|
|
|
|
2000-08-10 10:33:23 +00:00
|
|
|
* the ignore and items attributes of directory based tasks have been removed.
|
|
|
|
|
2000-07-25 12:08:03 +00:00
|
|
|
* the command line switches _not_ starting with - have been removed.
|
|
|
|
|
2000-07-26 13:28:26 +00:00
|
|
|
* Path and EnumeratedAttribute have been moved from
|
|
|
|
org.apache.tools.ant to org.apache.tools.ant.types.
|
|
|
|
|
2000-08-10 12:58:55 +00:00
|
|
|
* the class attributes of <available>, <java>, <rmic> and <taskdef>
|
2000-08-11 12:45:18 +00:00
|
|
|
have been removed.
|
2000-07-31 12:09:32 +00:00
|
|
|
|
2000-08-10 12:51:38 +00:00
|
|
|
* the src attribute of <chmod> has been removed.
|
|
|
|
|
2000-08-09 14:59:06 +00:00
|
|
|
* <patch> and <javadoc> have lost some of their attributes.
|
2000-07-31 16:21:56 +00:00
|
|
|
|
|
|
|
* <java> and <cvs> have lost some undocumented attributes.
|
|
|
|
|
2000-08-10 07:57:50 +00:00
|
|
|
* the Unix antRun script would search for command.sh in the directory
|
|
|
|
it changed to and invoke this instead of command if present. This
|
2000-08-10 12:51:38 +00:00
|
|
|
behavior has been dropped.
|
2000-08-10 07:57:50 +00:00
|
|
|
|
2000-08-25 11:56:15 +00:00
|
|
|
* <ejbjar> task syntax has been changed significantly
|
|
|
|
|
2000-09-27 15:58:49 +00:00
|
|
|
* <exec> is no longer implemented by org.apache.tool.ant.taskdefs.Exec.
|
|
|
|
Custom tasks that rely on Project.createTask("exec") to return an
|
|
|
|
instance of this class are going to fail.
|
2000-09-04 14:06:34 +00:00
|
|
|
|
2000-10-16 07:23:52 +00:00
|
|
|
* nested <include> and <exclude> elements expect the value of their
|
|
|
|
name attribute to be a single pattern, they don't accept multiple
|
|
|
|
patterns anymore. Split them into multiple elements of the same type.
|
|
|
|
|
2000-10-17 11:00:38 +00:00
|
|
|
* <delete dir="somedir" /> will now delete the directory itself as
|
|
|
|
well as all included files. If you just want to clean out the
|
|
|
|
directory and keep the empty one, use a nested fileset.
|
|
|
|
|
2000-07-25 10:13:01 +00:00
|
|
|
Other changes:
|
|
|
|
--------------
|
|
|
|
|
2000-09-15 11:41:58 +00:00
|
|
|
* New tasks: antstructure, cab, execon, fail, ftp, genkey, jlink,
|
2000-10-16 07:23:52 +00:00
|
|
|
junit, sql, javacc, jjtree, starteam, war, unwar, uptodate,
|
|
|
|
native2ascii, copy, move, mparse.
|
2000-08-03 10:29:20 +00:00
|
|
|
|
2000-10-16 07:23:52 +00:00
|
|
|
* copydir, copyfile, deltree and rename are now deprecated. They
|
|
|
|
should be replaced with the new copy, delete and move tasks.
|
2000-07-25 10:13:01 +00:00
|
|
|
|
2000-10-18 08:44:35 +00:00
|
|
|
* <java> uses a ClassLoader of its own in no-fork mode if a classpath is
|
2000-07-25 10:13:01 +00:00
|
|
|
specified.
|
|
|
|
|
|
|
|
* <style> will create the necessary target directories and reprocess
|
|
|
|
all files if the stylesheet changes.
|
|
|
|
|
2000-08-10 10:33:23 +00:00
|
|
|
* New data types fileset and patternset - expected to get a broader use.
|
2000-10-18 08:44:35 +00:00
|
|
|
They, as well as PATH like structures, can now be defined on a global
|
2000-09-05 08:53:33 +00:00
|
|
|
level and later be referenced by their id attribute.
|
2000-07-25 10:13:01 +00:00
|
|
|
|
2000-08-09 14:59:06 +00:00
|
|
|
* You can specify environment variables to <exec>.
|
2000-07-25 10:13:01 +00:00
|
|
|
|
2000-08-09 14:59:06 +00:00
|
|
|
* <get> can check whether a remote file is actually newer than a local
|
2000-07-25 12:08:03 +00:00
|
|
|
copy before it starts a download (HTTP only).
|
|
|
|
|
2000-07-25 13:49:32 +00:00
|
|
|
* Added a -logger option to allow the class which performs logging to be
|
|
|
|
specified on the command line.
|
|
|
|
|
|
|
|
* Added a -emacs option to tell the logger to leave out taskname adornments
|
|
|
|
on log output.
|
|
|
|
|
2000-08-01 09:18:40 +00:00
|
|
|
* <chmod> works on all files in parallel and supports multiple filesets.
|
|
|
|
|
2000-08-09 14:31:09 +00:00
|
|
|
* <replace> can now use tokens and/or values that cross line boundaries.
|
|
|
|
|
2000-09-27 15:58:49 +00:00
|
|
|
* build.compiler supports now jvc as well.
|
|
|
|
|
2000-08-25 11:56:15 +00:00
|
|
|
* project specific help can now be obtained with the -projecthelp option.
|
|
|
|
|
2000-09-19 09:09:23 +00:00
|
|
|
* Added a -debug option to make -verbose less verbose (and more useful)
|
|
|
|
|
|
|
|
* Ant will now search for a file named build.xml in the parent directory
|
|
|
|
and above (towards the root of the filesystem) if you didn't specify
|
|
|
|
-buildfile and there is no build.xml in the current directory.
|
|
|
|
|
2000-09-27 15:58:49 +00:00
|
|
|
* <echo> can now write to a file and accepts nested text.
|
|
|
|
|
2000-07-25 10:13:01 +00:00
|
|
|
Fixed bugs:
|
|
|
|
-----------
|
|
|
|
|
|
|
|
* <chmod> didn't work when used as a directory based task.
|
|
|
|
|
2000-07-28 11:49:25 +00:00
|
|
|
* Path, Available, Property didn't resolve relative filenames with
|
|
|
|
respect to the Project's basedir.
|
2000-07-25 10:13:01 +00:00
|
|
|
|
|
|
|
* Project didn't interpret the basedir attribute correctly in all
|
2000-07-31 16:21:56 +00:00
|
|
|
cases.
|
2000-08-03 10:29:20 +00:00
|
|
|
|
|
|
|
* Nested <src> in <javac> caused NullPointerException.
|
|
|
|
|
2000-10-18 08:44:35 +00:00
|
|
|
* Corrupt Zip- and Jar-files ar now deleted if the task fails.
|
|
|
|
|
|
|
|
* many more fixes we've forgotten to document here ...
|
2001-06-21 11:49:26 +00:00
|
|
|
|
|
|
|
* The packagelistloc attribute of <javadoc>'s <link> child will be
|
|
|
|
resolved as a file (i.e. it is either absolute or relative to
|
|
|
|
basedir).
|