2002-05-29 15:28:26 +00:00
|
|
|
Changes from Ant 1.5 to current CVS version
|
2002-07-12 10:50:01 +00:00
|
|
|
===========================================
|
|
|
|
|
2002-07-16 13:06:46 +00:00
|
|
|
Changes that could break older environments:
|
|
|
|
--------------------------------------------
|
|
|
|
|
|
|
|
* Targets cannot have the empty string as their name any longer.
|
|
|
|
|
2002-07-12 10:50:01 +00:00
|
|
|
Fixed bugs:
|
|
|
|
-----------
|
|
|
|
|
|
|
|
* The sh wrapper script didn't work under Cygwin if ANT_HOME wasn't
|
|
|
|
set with a Unix style filename.
|
2002-05-29 15:28:26 +00:00
|
|
|
|
2002-07-12 15:15:46 +00:00
|
|
|
* The sh wrapper script could fail if you started Ant from a directory
|
|
|
|
with whitespace in its name.
|
|
|
|
|
2002-07-17 07:36:51 +00:00
|
|
|
* ant -diagnostics was not working properly when the task dependency
|
|
|
|
was missing and was just printing the missing dependency.
|
|
|
|
|
|
|
|
* The ExpandProperties filter threw NPEs when defined using
|
|
|
|
the <filterreader> format.
|
|
|
|
|
2002-05-29 15:28:26 +00:00
|
|
|
Other changes:
|
|
|
|
--------------
|
|
|
|
|
2002-07-19 17:48:36 +00:00
|
|
|
* <loadproperties> has a new encoding attribute.
|
|
|
|
|
2002-05-29 15:28:26 +00:00
|
|
|
* <echoproperties> can now create XML output.
|
|
|
|
|
|
|
|
* <echoproperties> has a new srcfile attribute that can make it read
|
2002-07-17 07:36:51 +00:00
|
|
|
properties files and output them instead of Ant's properties.
|
2002-05-29 15:28:26 +00:00
|
|
|
|
2002-06-12 14:54:41 +00:00
|
|
|
* <filterset> will now resolve filters recursively.
|
|
|
|
|
2002-06-28 12:47:18 +00:00
|
|
|
* <input> has a new attribute that allows you to specify a default value.
|
|
|
|
|
2002-07-12 10:50:01 +00:00
|
|
|
* All tasks can be used outside of <target>s
|
|
|
|
|
2002-07-17 07:36:51 +00:00
|
|
|
* Appendix E of Java Development with Ant (Loughran/Hatcher)
|
|
|
|
contributed to the docs
|
2002-07-16 23:32:48 +00:00
|
|
|
|
2002-07-09 21:06:15 +00:00
|
|
|
Changes from Ant 1.5beta3 to Ant 1.5
|
|
|
|
====================================
|
|
|
|
|
|
|
|
Changes that could break older environments:
|
|
|
|
--------------------------------------------
|
|
|
|
|
|
|
|
* The filesetmanifest attribute added to <jar> after the 1.4.1
|
|
|
|
release has been removed for now. This change may affect only
|
|
|
|
the 1.5Beta/1.6Alpha users. An attempt will be made to add this
|
|
|
|
feature back into Ant 1.6.
|
|
|
|
|
|
|
|
Fixed bugs:
|
|
|
|
-----------
|
|
|
|
|
|
|
|
* <zip> and friends would always update existing archive if you set
|
|
|
|
the update attribute to true.
|
|
|
|
|
|
|
|
* To support backward compatibility with older versions, <pathconvert>
|
|
|
|
will once again set the property, even if the result is the empty
|
|
|
|
string, unless the new 'setonempty' attribute is set to false|no|off
|
|
|
|
(default is "true").
|
|
|
|
|
|
|
|
* The manifest task would crash XmlLogger
|
|
|
|
|
|
|
|
Other changes:
|
|
|
|
--------------
|
|
|
|
|
|
|
|
* added **/.svn and **/.svn/** to the default excludes
|
|
|
|
|
|
|
|
Changes from Ant 1.5beta2 to Ant 1.5beta3
|
|
|
|
=========================================
|
|
|
|
|
|
|
|
Changes that could break older environments:
|
|
|
|
--------------------------------------------
|
|
|
|
|
|
|
|
* Project.getBuildListeners now returns a clone of the listener
|
|
|
|
list. Changes to the returned list will not affect the listeners
|
|
|
|
currently attached to the Project. It also means that it is safe to
|
|
|
|
iterate over the returned list if listeners are added or removed
|
|
|
|
during the traversal.
|
|
|
|
|
|
|
|
* <pvcs> default filenameformat has been different from Ant 1.4.1.
|
|
|
|
Now it is different from 1.5beta1 and 1.5beta2.
|
|
|
|
|
|
|
|
* Some messages that are printed during startup will not be
|
|
|
|
written to the logfile specified via -logfile as they might destroy
|
|
|
|
the format of the file for special BuildLoggers (like XmlLogger).
|
|
|
|
|
|
|
|
* <pathconvert> won't set the property if the result is the empty string.
|
|
|
|
|
|
|
|
Fixed bugs:
|
|
|
|
-----------
|
|
|
|
|
|
|
|
* <available> could fail to find files or directories that happen to
|
|
|
|
start with the name of the project's basedir but are not children of
|
|
|
|
the basedir.
|
|
|
|
|
|
|
|
* Nested <property>'s inside <ant> can now be overriden by subsequent
|
|
|
|
<ant> and <antcall> tasks.
|
|
|
|
|
|
|
|
* <xslt>'s outputtype attribute wouldn't do anything.
|
|
|
|
|
|
|
|
* <linecontains> filterreader could swallow lines.
|
|
|
|
|
|
|
|
* <sequential> used to configure the tasks (set their attributes)
|
|
|
|
before the first task has been executed. This means that properties
|
|
|
|
that have been set by nested task seemed to be unset for the other
|
|
|
|
tasks in the same <sequential> element.
|
|
|
|
|
|
|
|
* <javac>'s sourcepath setting has been ignored by some compiler
|
|
|
|
implementations.
|
|
|
|
|
|
|
|
* <javadoc>'s packagelist attribute didn't work.
|
|
|
|
|
|
|
|
* the plain mailer would always use port 25 in <mail>.
|
|
|
|
|
|
|
|
* Ant's default logger could swallow empty lines.
|
|
|
|
|
|
|
|
* ejbjar's iPlanet nested element now can process multiple descriptors.
|
|
|
|
|
|
|
|
* IPlanetEjbc was looking in the wrong place for four iiop files.
|
|
|
|
|
|
|
|
* <javac> would pass the -source switch to JDK 1.3's javac, even
|
|
|
|
though it doesn't support it.
|
|
|
|
|
|
|
|
Other changes:
|
|
|
|
--------------
|
|
|
|
|
|
|
|
* <checksum> now uses a buffer (of configurable size).
|
|
|
|
|
|
|
|
* The "Trying to override task definition" warning has been degraded
|
|
|
|
to verbose level if the two task definitions only differ in the class
|
|
|
|
loader instance that has loaded the definition.
|
|
|
|
|
|
|
|
* Add a jvmargs to the ejbjar's weblogic element to allow additional
|
|
|
|
arguments to be provided to the VM runnign ejbc. Document the
|
|
|
|
jvmdebuglevel attribute which can be used to avoid warnings about
|
|
|
|
interface classess being found on the classpath. Document the new
|
|
|
|
<sysproperty> element which allows JVM properties to be defined.
|
|
|
|
Added an outputdir attribute to allow the destination to be a
|
|
|
|
directory into which the exploded jar is written.
|
|
|
|
|
|
|
|
* ejbjar now supports Borland Enterprise Server 5 and Jonas 2.5
|
|
|
|
|
|
|
|
Changes from Ant 1.5beta1 to Ant 1.5beta2
|
|
|
|
=========================================
|
|
|
|
|
|
|
|
Changes that could break older environments:
|
|
|
|
--------------------------------------------
|
|
|
|
|
|
|
|
* Properties will now be expanded in mail message bodies. This means
|
|
|
|
that one $ sign will be stripped if your mail message contains the text
|
|
|
|
$$.
|
|
|
|
|
|
|
|
* org.apache.tools.ant.taskdefs.Expand no longer extends MatchingTask.
|
|
|
|
|
|
|
|
* Available#setFile now again uses a File argument as it did in 1.4,
|
|
|
|
this may break environments that have been adapted to the String
|
|
|
|
argument version present in 1.5beta1.
|
|
|
|
|
|
|
|
Fixed bugs:
|
|
|
|
-----------
|
|
|
|
* When <move> attempts a rename, it deletes the destination file, if it
|
|
|
|
exists, before renaming the source file. However, <move> was not
|
|
|
|
checking if the destination file was actually a directory before
|
|
|
|
trying to delete it.
|
|
|
|
|
|
|
|
* Make CVS Tasks to work under Cygwin.
|
|
|
|
|
|
|
|
* Fix LineContains to handle huge files elegantly without causing
|
|
|
|
Stack Overflows.
|
|
|
|
|
|
|
|
* if you ask for the "classic" compiler on Java1.4, you get upgraded to
|
|
|
|
"modern" because there is no classic compiler any more.
|
|
|
|
|
|
|
|
* the <http> condition was viewing 404 'not found' exceptions as success. Now
|
|
|
|
it defaults to viewing any response >=400 as an error, and has an errorsBeginAt
|
|
|
|
attribute you can use if you want a higher or lower value.
|
|
|
|
|
|
|
|
* <get> throws a build exception on an http authorization error, unless you
|
|
|
|
have set ignoreerrors to true.
|
|
|
|
|
|
|
|
* <wsdltodotnet> was spelt in Wintel case: <WsdlToDotnet>. It is now lower
|
|
|
|
case, though the old spelling is retained for anyone who used it.
|
|
|
|
|
|
|
|
* Merging of Manifests in jar now works as documented.
|
|
|
|
|
|
|
|
* paths that have been separated by colons would be incorrectly parsed
|
|
|
|
on NetWare.
|
|
|
|
|
|
|
|
* runant.pl now supports NetWare.
|
|
|
|
|
|
|
|
* <tempfile> and <setproxy> tasks were in beta1, but not defined by
|
|
|
|
default; They now are. <tempfile> fills a property with the name of a
|
|
|
|
temporary file; <setproxy> lets you set the JVM's http, ftp and socks proxy
|
|
|
|
settings.
|
|
|
|
|
|
|
|
* <available classname="foo" ignoresystemclasses="true"> failed for
|
|
|
|
JDK 1.1 and 1.2, even if the class could be found on the
|
|
|
|
user-specified classpath.
|
|
|
|
|
|
|
|
* <property environment=... /> now works on z/OS.
|
|
|
|
|
|
|
|
* forked <javac> failed for the wrong reason on JDK 1.1 - Ant would
|
|
|
|
use a temporary file to hold the names of the files to compile under
|
|
|
|
some conditons, but 1.1 doesn't support this feature. Ant will no
|
|
|
|
longer try this, but you may run into problems with the length of the
|
|
|
|
command line now.
|
|
|
|
|
|
|
|
* the refid attribute for <property>s nested into <ant> or <param>s
|
|
|
|
nested into <antcall> didn't work.
|
|
|
|
|
|
|
|
* <replaceregexp> didn't work for nested <fileset>s.
|
|
|
|
|
|
|
|
* <javadoc> dropped sourcepath entries if no "interesting" .java
|
|
|
|
source files could be found below them. This has been backwards
|
|
|
|
incompatible and caused problems with custom doclets like xdoclet.
|
|
|
|
|
|
|
|
* Using the doclet, docletpath or docletpathref attributes of
|
|
|
|
<javadoc> may have caused NullPointerExceptions.
|
|
|
|
|
|
|
|
* nested <filesets> of <javadoc> would include too much.
|
|
|
|
|
|
|
|
* <dependset> will no longer choke on <targetfileset>s that point to
|
|
|
|
non-existing directories.
|
|
|
|
|
|
|
|
* <patch> didn't work at all.
|
|
|
|
|
|
|
|
* <replace> and <replaceregexp> now fail if the file they are working
|
|
|
|
on is locked.
|
|
|
|
|
|
|
|
* <javadoc> would pick up the wrong executable in the combination JDK
|
|
|
|
1.2 and AIX.
|
|
|
|
|
|
|
|
Other changes:
|
|
|
|
--------------
|
|
|
|
|
|
|
|
* z/OS now gets detected by the os condition.
|
|
|
|
|
|
|
|
* <fileset> and <dirset> now have an optional followsymlink attribute
|
|
|
|
that can prevent Ant from following symbolic links on some platforms.
|
|
|
|
|
|
|
|
* BeanShell is now supported in the <script> task.
|
|
|
|
|
|
|
|
* <ejbjar> under Weblogic attempts to use the ejbc20 compiler for 2.0 beans
|
|
|
|
based on the deployment descriptor's DTD reference. Under weblogic 7.00 Beta
|
|
|
|
this ejbc class has been deprecated. To avoid the deprecation warning use
|
|
|
|
ejbcclass="weblogic.ejbc".
|
|
|
|
|
|
|
|
* <ejbjar> will add a manifest to the generated jar based on the naming
|
|
|
|
convention in use. This overrides the manifest specified in the
|
|
|
|
<ejbjar> attribute
|
|
|
|
|
|
|
|
|
|
|
|
Changes from Ant 1.4.1 to 1.5beta1
|
|
|
|
==================================
|
|
|
|
|
|
|
|
Changes that could break older environments:
|
|
|
|
--------------------------------------------
|
|
|
|
|
|
|
|
* Important: Single $ signs are no longer silently stripped!
|
|
|
|
=======
|
|
|
|
* Project.getBuildListeners now returns a clone of the listener
|
|
|
|
list. Changes to the returned list will not affect the listeners
|
|
|
|
currently attached to the Project. It also means that it is safe to
|
|
|
|
iterate over the returned list if listeners are added or removed
|
|
|
|
during the traversal.
|
|
|
|
|
|
|
|
* <pvcs> default filenameformat has been different from Ant 1.4.1.
|
|
|
|
Now it is different from 1.5beta1 and 1.5beta2.
|
|
|
|
|
|
|
|
* Some messages that are printed during startup will not be
|
|
|
|
written to the logfile specified via -logfile as they might destroy
|
|
|
|
the format of the file for special BuildLoggers (like XmlLogger).
|
|
|
|
|
|
|
|
Fixed bugs:
|
|
|
|
-----------
|
|
|
|
|
|
|
|
* <available> could fail to find files or directories that happen to
|
|
|
|
start with the name of the project's basedir but are not children of
|
|
|
|
the basedir.
|
|
|
|
|
|
|
|
* Nested <property>'s inside <ant> can now be overriden by subsequent
|
|
|
|
<ant> and <antcall> tasks.
|
|
|
|
|
|
|
|
* <xslt>'s outputtype attribute wouldn't do anything.
|
|
|
|
|
|
|
|
* <linecontains> filterreader could swallow lines.
|
|
|
|
|
|
|
|
* <sequential> used to configure the tasks (set their attributes)
|
|
|
|
before the first task has been executed. This means that properties
|
|
|
|
that have been set by nested task seemed to be unset for the other
|
|
|
|
tasks in the same <sequential> element.
|
|
|
|
|
|
|
|
* <javac>'s sourcepath setting has been ignored by some compiler
|
|
|
|
implementations.
|
|
|
|
|
|
|
|
* <javadoc>'s packagelist attribute didn't work.
|
|
|
|
|
|
|
|
* the plain mailer would always use port 25 in <mail>.
|
|
|
|
|
|
|
|
* Ant's default logger could swallow empty lines.
|
|
|
|
|
|
|
|
* ejbjar's iPlanet nested element now can process multiple descriptors.
|
|
|
|
|
|
|
|
* IPlanetEjbc was looking in the wrong place for four iiop files.
|
|
|
|
|
|
|
|
* <javac> would pass the -source switch to JDK 1.3's javac, even
|
|
|
|
though it doesn't support it.
|
|
|
|
|
|
|
|
Other changes:
|
|
|
|
--------------
|
|
|
|
|
|
|
|
* <checksum> now uses a buffer (of configurable size).
|
|
|
|
|
|
|
|
* The "Trying to override task definition" warning has been degraded
|
|
|
|
to verbose level if the two task definitions only differ in the class
|
|
|
|
loader instance that has loaded the definition.
|
|
|
|
|
|
|
|
* Add a jvmargs to the ejbjar's weblogic element to allow additional
|
|
|
|
arguments to be provided to the VM runnign ejbc. Document the
|
|
|
|
jvmdebuglevel attribute which can be used to avoid warnings about
|
|
|
|
interface classess being found on the classpath. Document the new
|
|
|
|
<sysproperty> element which allows JVM properties to be defined.
|
|
|
|
Added an outputdir attribute to allow the destination to be a
|
|
|
|
directory into which the exploded jar is written.
|
|
|
|
|
|
|
|
* ejbjar now supports Borland Enterprise Server 5 and Jonas 2.5
|
|
|
|
|
|
|
|
Changes from Ant 1.5beta1 to Ant 1.5beta2
|
|
|
|
=========================================
|
2001-08-09 11:57:04 +00:00
|
|
|
|
|
|
|
Changes that could break older environments:
|
|
|
|
--------------------------------------------
|
|
|
|
|
2002-06-01 12:26:43 +00:00
|
|
|
* Properties will now be expanded in mail message bodies. This means
|
|
|
|
that one $ sign will be stripped if your mail message contains the text
|
|
|
|
$$.
|
|
|
|
|
|
|
|
* org.apache.tools.ant.taskdefs.Expand no longer extends MatchingTask.
|
|
|
|
|
|
|
|
* Available#setFile now again uses a File argument as it did in 1.4,
|
|
|
|
this may break environments that have been adapted to the String
|
|
|
|
argument version present in 1.5beta1.
|
|
|
|
|
|
|
|
Fixed bugs:
|
|
|
|
-----------
|
|
|
|
* When <move> attempts a rename, it deletes the destination file, if it
|
|
|
|
exists, before renaming the source file. However, <move> was not
|
|
|
|
checking if the destination file was actually a directory before
|
|
|
|
trying to delete it.
|
|
|
|
|
|
|
|
* Make CVS Tasks to work under Cygwin.
|
|
|
|
|
|
|
|
* Fix LineContains to handle huge files elegantly without causing
|
|
|
|
Stack Overflows.
|
|
|
|
|
|
|
|
* if you ask for the "classic" compiler on Java1.4, you get upgraded to
|
|
|
|
"modern" because there is no classic compiler any more.
|
|
|
|
|
|
|
|
* the <http> condition was viewing 404 'not found' exceptions as success. Now
|
|
|
|
it defaults to viewing any response >=400 as an error, and has an errorsBeginAt
|
|
|
|
attribute you can use if you want a higher or lower value.
|
|
|
|
|
|
|
|
* <get> throws a build exception on an http authorization error, unless you
|
|
|
|
have set ignoreerrors to true.
|
|
|
|
|
|
|
|
* <wsdltodotnet> was spelt in Wintel case: <WsdlToDotnet>. It is now lower
|
|
|
|
case, though the old spelling is retained for anyone who used it.
|
|
|
|
|
|
|
|
* Merging of Manifests in jar now works as documented.
|
|
|
|
|
|
|
|
* paths that have been separated by colons would be incorrectly parsed
|
|
|
|
on NetWare.
|
|
|
|
|
|
|
|
* runant.pl now supports NetWare.
|
|
|
|
|
|
|
|
* <tempfile> and <setproxy> tasks were in beta1, but not defined by
|
|
|
|
default; They now are. <tempfile> fills a property with the name of a
|
|
|
|
temporary file; <setproxy> lets you set the JVM's http, ftp and socks proxy
|
|
|
|
settings.
|
|
|
|
|
|
|
|
* <available classname="foo" ignoresystemclasses="true"> failed for
|
|
|
|
JDK 1.1 and 1.2, even if the class could be found on the
|
|
|
|
user-specified classpath.
|
|
|
|
|
|
|
|
* <property environment=... /> now works on z/OS.
|
|
|
|
|
|
|
|
* forked <javac> failed for the wrong reason on JDK 1.1 - Ant would
|
|
|
|
use a temporary file to hold the names of the files to compile under
|
|
|
|
some conditons, but 1.1 doesn't support this feature. Ant will no
|
|
|
|
longer try this, but you may run into problems with the length of the
|
|
|
|
command line now.
|
|
|
|
|
|
|
|
* the refid attribute for <property>s nested into <ant> or <param>s
|
|
|
|
nested into <antcall> didn't work.
|
|
|
|
|
|
|
|
* <replaceregexp> didn't work for nested <fileset>s.
|
|
|
|
|
|
|
|
* <javadoc> dropped sourcepath entries if no "interesting" .java
|
|
|
|
source files could be found below them. This has been backwards
|
|
|
|
incompatible and caused problems with custom doclets like xdoclet.
|
|
|
|
|
|
|
|
* Using the doclet, docletpath or docletpathref attributes of
|
|
|
|
<javadoc> may have caused NullPointerExceptions.
|
|
|
|
|
|
|
|
* nested <filesets> of <javadoc> would include too much.
|
|
|
|
|
|
|
|
* <dependset> will no longer choke on <targetfileset>s that point to
|
|
|
|
non-existing directories.
|
|
|
|
|
|
|
|
* <patch> didn't work at all.
|
|
|
|
|
|
|
|
* <replace> and <replaceregexp> now fail if the file they are working
|
|
|
|
on is locked.
|
|
|
|
|
|
|
|
* <javadoc> would pick up the wrong executable in the combination JDK
|
|
|
|
1.2 and AIX.
|
|
|
|
|
|
|
|
Other changes:
|
|
|
|
--------------
|
|
|
|
|
|
|
|
* z/OS now gets detected by the os condition.
|
|
|
|
|
|
|
|
* <fileset> and <dirset> now have an optional followsymlink attribute
|
|
|
|
that can prevent Ant from following symbolic links on some platforms.
|
|
|
|
|
|
|
|
* BeanShell is now supported in the <script> task.
|
|
|
|
|
|
|
|
* <ejbjar> under Weblogic attempts to use the ejbc20 compiler for 2.0 beans
|
|
|
|
based on the deployment descriptor's DTD reference. Under weblogic 7.00 Beta
|
|
|
|
this ejbc class has been deprecated. To avoid the deprecation warning use
|
|
|
|
ejbcclass="weblogic.ejbc".
|
|
|
|
|
|
|
|
* <ejbjar> will add a manifest to the generated jar based on the naming
|
|
|
|
convention in use. This overrides the manifest specified in the
|
|
|
|
<ejbjar> attribute
|
|
|
|
|
|
|
|
|
|
|
|
Changes from Ant 1.4.1 to 1.5beta1
|
|
|
|
==================================
|
|
|
|
|
|
|
|
Changes that could break older environments:
|
|
|
|
--------------------------------------------
|
|
|
|
|
|
|
|
* Important: Single $ signs are no longer silently stripped!
|
2002-07-09 21:08:30 +00:00
|
|
|
|
2002-07-09 21:06:15 +00:00
|
|
|
* The filesetmanifest attribute added to <jar> after the 1.4.1
|
|
|
|
release has been removed for now. This change may affect only
|
|
|
|
the 1.5Beta/1.6Alpha users. An attempt will be made to add this
|
|
|
|
feature back into Ant 1.6.
|
|
|
|
|
|
|
|
Fixed bugs:
|
|
|
|
-----------
|
|
|
|
|
|
|
|
* <zip> and friends would always update existing archive if you set
|
|
|
|
the update attribute to true.
|
|
|
|
|
|
|
|
* To support backward compatibility with older versions, <pathconvert>
|
|
|
|
will once again set the property, even if the result is the empty
|
|
|
|
string, unless the new 'setonempty' attribute is set to false|no|off
|
|
|
|
(default is "true").
|
|
|
|
|
|
|
|
* The manifest task would crash XmlLogger
|
|
|
|
|
|
|
|
Other changes:
|
|
|
|
--------------
|
|
|
|
|
|
|
|
* added **/.svn and **/.svn/** to the default excludes
|
|
|
|
|
|
|
|
Changes from Ant 1.5beta2 to Ant 1.5beta3
|
|
|
|
=========================================
|
|
|
|
|
|
|
|
Changes that could break older environments:
|
|
|
|
--------------------------------------------
|
|
|
|
|
2002-06-22 23:38:38 +00:00
|
|
|
* Project.getBuildListeners now returns a clone of the listener
|
|
|
|
list. Changes to the returned list will not affect the listeners
|
|
|
|
currently attached to the Project. It also means that it is safe to
|
|
|
|
iterate over the returned list if listeners are added or removed
|
|
|
|
during the traversal.
|
|
|
|
|
|
|
|
* <pvcs> default filenameformat has been different from Ant 1.4.1.
|
|
|
|
Now it is different from 1.5beta1 and 1.5beta2.
|
|
|
|
|
|
|
|
* Some messages that are printed during startup will not be
|
|
|
|
written to the logfile specified via -logfile as they might destroy
|
|
|
|
the format of the file for special BuildLoggers (like XmlLogger).
|
|
|
|
|
2002-07-09 21:06:15 +00:00
|
|
|
* <pathconvert> won't set the property if the result is the empty string.
|
|
|
|
|
2002-06-22 23:38:38 +00:00
|
|
|
Fixed bugs:
|
|
|
|
-----------
|
|
|
|
|
|
|
|
* <available> could fail to find files or directories that happen to
|
|
|
|
start with the name of the project's basedir but are not children of
|
|
|
|
the basedir.
|
|
|
|
|
|
|
|
* Nested <property>'s inside <ant> can now be overriden by subsequent
|
|
|
|
<ant> and <antcall> tasks.
|
|
|
|
|
|
|
|
* <xslt>'s outputtype attribute wouldn't do anything.
|
|
|
|
|
|
|
|
* <linecontains> filterreader could swallow lines.
|
|
|
|
|
|
|
|
* <sequential> used to configure the tasks (set their attributes)
|
|
|
|
before the first task has been executed. This means that properties
|
|
|
|
that have been set by nested task seemed to be unset for the other
|
|
|
|
tasks in the same <sequential> element.
|
|
|
|
|
|
|
|
* <javac>'s sourcepath setting has been ignored by some compiler
|
|
|
|
implementations.
|
|
|
|
|
|
|
|
* <javadoc>'s packagelist attribute didn't work.
|
|
|
|
|
|
|
|
* the plain mailer would always use port 25 in <mail>.
|
|
|
|
|
|
|
|
* Ant's default logger could swallow empty lines.
|
|
|
|
|
|
|
|
* ejbjar's iPlanet nested element now can process multiple descriptors.
|
|
|
|
|
|
|
|
* IPlanetEjbc was looking in the wrong place for four iiop files.
|
|
|
|
|
|
|
|
* <javac> would pass the -source switch to JDK 1.3's javac, even
|
|
|
|
though it doesn't support it.
|
|
|
|
|
|
|
|
Other changes:
|
|
|
|
--------------
|
|
|
|
|
|
|
|
* <checksum> now uses a buffer (of configurable size).
|
|
|
|
|
|
|
|
* The "Trying to override task definition" warning has been degraded
|
|
|
|
to verbose level if the two task definitions only differ in the class
|
|
|
|
loader instance that has loaded the definition.
|
|
|
|
|
|
|
|
* Add a jvmargs to the ejbjar's weblogic element to allow additional
|
|
|
|
arguments to be provided to the VM runnign ejbc. Document the
|
|
|
|
jvmdebuglevel attribute which can be used to avoid warnings about
|
|
|
|
interface classess being found on the classpath. Document the new
|
|
|
|
<sysproperty> element which allows JVM properties to be defined.
|
|
|
|
Added an outputdir attribute to allow the destination to be a
|
|
|
|
directory into which the exploded jar is written.
|
|
|
|
|
|
|
|
* ejbjar now supports Borland Enterprise Server 5 and Jonas 2.5
|
|
|
|
|
|
|
|
Changes from Ant 1.5beta1 to Ant 1.5beta2
|
|
|
|
=========================================
|
|
|
|
|
|
|
|
Changes that could break older environments:
|
|
|
|
--------------------------------------------
|
|
|
|
|
|
|
|
* Properties will now be expanded in mail message bodies. This means
|
|
|
|
that one $ sign will be stripped if your mail message contains the text
|
|
|
|
$$.
|
|
|
|
|
|
|
|
* org.apache.tools.ant.taskdefs.Expand no longer extends MatchingTask.
|
|
|
|
|
|
|
|
* Available#setFile now again uses a File argument as it did in 1.4,
|
|
|
|
this may break environments that have been adapted to the String
|
|
|
|
argument version present in 1.5beta1.
|
|
|
|
|
|
|
|
Fixed bugs:
|
|
|
|
-----------
|
|
|
|
* When <move> attempts a rename, it deletes the destination file, if it
|
|
|
|
exists, before renaming the source file. However, <move> was not
|
|
|
|
checking if the destination file was actually a directory before
|
|
|
|
trying to delete it.
|
|
|
|
|
|
|
|
* Make CVS Tasks to work under Cygwin.
|
|
|
|
|
|
|
|
* Fix LineContains to handle huge files elegantly without causing
|
|
|
|
Stack Overflows.
|
|
|
|
|
|
|
|
* if you ask for the "classic" compiler on Java1.4, you get upgraded to
|
|
|
|
"modern" because there is no classic compiler any more.
|
|
|
|
|
|
|
|
* the <http> condition was viewing 404 'not found' exceptions as success. Now
|
|
|
|
it defaults to viewing any response >=400 as an error, and has an errorsBeginAt
|
|
|
|
attribute you can use if you want a higher or lower value.
|
|
|
|
|
|
|
|
* <get> throws a build exception on an http authorization error, unless you
|
|
|
|
have set ignoreerrors to true.
|
|
|
|
|
|
|
|
* <wsdltodotnet> was spelt in Wintel case: <WsdlToDotnet>. It is now lower
|
|
|
|
case, though the old spelling is retained for anyone who used it.
|
|
|
|
|
|
|
|
* Merging of Manifests in jar now works as documented.
|
|
|
|
|
|
|
|
* paths that have been separated by colons would be incorrectly parsed
|
|
|
|
on NetWare.
|
|
|
|
|
|
|
|
* runant.pl now supports NetWare.
|
|
|
|
|
|
|
|
* <tempfile> and <setproxy> tasks were in beta1, but not defined by
|
|
|
|
default; They now are. <tempfile> fills a property with the name of a
|
|
|
|
temporary file; <setproxy> lets you set the JVM's http, ftp and socks proxy
|
|
|
|
settings.
|
|
|
|
|
|
|
|
* <available classname="foo" ignoresystemclasses="true"> failed for
|
|
|
|
JDK 1.1 and 1.2, even if the class could be found on the
|
|
|
|
user-specified classpath.
|
|
|
|
|
|
|
|
* <property environment=... /> now works on z/OS.
|
|
|
|
|
|
|
|
* forked <javac> failed for the wrong reason on JDK 1.1 - Ant would
|
|
|
|
use a temporary file to hold the names of the files to compile under
|
|
|
|
some conditons, but 1.1 doesn't support this feature. Ant will no
|
|
|
|
longer try this, but you may run into problems with the length of the
|
|
|
|
command line now.
|
|
|
|
|
|
|
|
* the refid attribute for <property>s nested into <ant> or <param>s
|
|
|
|
nested into <antcall> didn't work.
|
|
|
|
|
|
|
|
* <replaceregexp> didn't work for nested <fileset>s.
|
|
|
|
|
|
|
|
* <javadoc> dropped sourcepath entries if no "interesting" .java
|
|
|
|
source files could be found below them. This has been backwards
|
|
|
|
incompatible and caused problems with custom doclets like xdoclet.
|
|
|
|
|
|
|
|
* Using the doclet, docletpath or docletpathref attributes of
|
|
|
|
<javadoc> may have caused NullPointerExceptions.
|
|
|
|
|
|
|
|
* nested <filesets> of <javadoc> would include too much.
|
|
|
|
|
|
|
|
* <dependset> will no longer choke on <targetfileset>s that point to
|
|
|
|
non-existing directories.
|
|
|
|
|
|
|
|
* <patch> didn't work at all.
|
|
|
|
|
|
|
|
* <replace> and <replaceregexp> now fail if the file they are working
|
|
|
|
on is locked.
|
|
|
|
|
|
|
|
* <javadoc> would pick up the wrong executable in the combination JDK
|
|
|
|
1.2 and AIX.
|
|
|
|
|
|
|
|
Other changes:
|
|
|
|
--------------
|
|
|
|
|
|
|
|
* z/OS now gets detected by the os condition.
|
|
|
|
|
|
|
|
* <fileset> and <dirset> now have an optional followsymlink attribute
|
|
|
|
that can prevent Ant from following symbolic links on some platforms.
|
|
|
|
|
|
|
|
* BeanShell is now supported in the <script> task.
|
|
|
|
|
|
|
|
* <ejbjar> under Weblogic attempts to use the ejbc20 compiler for 2.0 beans
|
|
|
|
based on the deployment descriptor's DTD reference. Under weblogic 7.00 Beta
|
|
|
|
this ejbc class has been deprecated. To avoid the deprecation warning use
|
|
|
|
ejbcclass="weblogic.ejbc".
|
|
|
|
|
|
|
|
* <ejbjar> will add a manifest to the generated jar based on the naming
|
|
|
|
convention in use. This overrides the manifest specified in the
|
|
|
|
<ejbjar> attribute
|
|
|
|
|
|
|
|
|
|
|
|
Changes from Ant 1.4.1 to 1.5beta1
|
|
|
|
==================================
|
|
|
|
|
|
|
|
Changes that could break older environments:
|
|
|
|
--------------------------------------------
|
|
|
|
|
|
|
|
* Important: Single $ signs are no longer silently stripped!
|
2002-04-16 05:48:37 +00:00
|
|
|
Before you panic that we have broken all your build files, we have kept
|
|
|
|
the old "$$" -> "$" behaviour. So only build files which accidentally had
|
|
|
|
a $ sign in a string that was being silently stripped may break.
|
2002-06-01 12:26:43 +00:00
|
|
|
We added this fix to stop newbie confusion; if you want to write a
|
|
|
|
build file which works on ant versions 1.4.1 or earlier, stay with
|
|
|
|
the double $$ sign rule.
|
|
|
|
|
2002-04-18 09:49:55 +00:00
|
|
|
* Shipped XML parser is now Xerces 2.0.1 along with the XML Parser APIs.
|
|
|
|
XML Parser APIs is a separate jar that contains the necessary
|
|
|
|
JAXP/DOM/SAX classes.
|
|
|
|
|
2002-03-19 06:19:59 +00:00
|
|
|
* <telnet> was fixed to expand properties inside nested <read> and
|
|
|
|
<write> elements; before this only happened when you assigned the text
|
|
|
|
to the string attribute. If you had $ signs in the string, they may
|
2002-06-01 12:26:43 +00:00
|
|
|
need escaping.
|
2002-03-19 06:19:59 +00:00
|
|
|
|
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-11-21 22:36:12 +00:00
|
|
|
* Unjar, Unzip and Unwar will throw an exception if the Src attribute
|
|
|
|
represents a directory. Support for nested filesets is provided
|
|
|
|
instead.
|
|
|
|
|
2001-12-07 07:16:56 +00:00
|
|
|
* It is no longer possible to overwrite a property using tasks like
|
|
|
|
<condition>, <exec>, <pathconvert>, or <tstamp>. In some exceptional
|
|
|
|
cases it will generate a warning if you attempt to overwrite an
|
|
|
|
existing property.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2001-12-04 20:34:29 +00:00
|
|
|
* Taskwriters please note: Whenever tasks had any overloaded set* methods,
|
|
|
|
Ant's introspection mechanism would select the last overloaded method
|
2002-06-01 12:26:43 +00:00
|
|
|
provided to it by the Java Runtime. A modification has now been made such
|
|
|
|
that when the Java Runtime provides a method with a String as its argument,
|
2001-12-04 20:34:29 +00:00
|
|
|
a check is made to see if there is another overloaded method that takes in
|
2002-06-01 12:26:43 +00:00
|
|
|
some other type of argument. If there is one such method, then the method
|
2001-12-04 20:34:29 +00:00
|
|
|
that takes in String as an argument is not selected by the Introspector.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
|
|
|
* The pattern definition **/._* has been included into the Default
|
2002-02-03 01:53:34 +00:00
|
|
|
Excludes list.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2002-02-22 01:56:27 +00:00
|
|
|
* <propertyfile>'s <entry> element was modified to remove "never" as a value
|
|
|
|
as its behavior was undocumented and flakey.
|
2002-02-03 01:53:34 +00:00
|
|
|
|
2002-03-19 21:17:26 +00:00
|
|
|
* The -projecthelp flag now only prints out targets that include the
|
|
|
|
'description' attribute, unless the -verbose or -debug flag is included
|
|
|
|
on the Ant command line.
|
2001-11-30 21:09:03 +00:00
|
|
|
|
2002-03-22 18:35:49 +00:00
|
|
|
* Ant's testcases now require JUnit 3.7 or above, as they now use the new
|
|
|
|
assertTrue method instead of assert.
|
|
|
|
|
2002-04-01 08:31:14 +00:00
|
|
|
* If the 'output' attribute of <ant> is set to a simple filename or a
|
|
|
|
relative path, the file is created relative to ${basedir}, not ${user.dir}.
|
|
|
|
|
2002-04-18 14:19:00 +00:00
|
|
|
* The default value for build.compiler is now javac1.x with x
|
|
|
|
depending on the JDK that is running Ant instead of classic/modern.
|
|
|
|
|
2001-10-25 12:37:31 +00:00
|
|
|
Fixed bugs:
|
|
|
|
-----------
|
2002-06-01 12:26:43 +00:00
|
|
|
* A bug existed that prevented generated log files from being deleted as
|
2002-04-08 17:45:41 +00:00
|
|
|
part of the build process itself. This has now been fixed.
|
|
|
|
|
2002-03-03 01:30:04 +00:00
|
|
|
* Fixed bug where <move> ignored <filterset>s.
|
|
|
|
|
2002-03-22 18:35:49 +00:00
|
|
|
* Ant works properly with the combination of Java1.4/WindowsXP.
|
2002-02-22 18:00:21 +00:00
|
|
|
|
2002-01-18 15:26:50 +00:00
|
|
|
* Fixed bug where <java> used to sometimes invoke class constructors twice.
|
|
|
|
|
2002-03-22 18:35:49 +00:00
|
|
|
* Fixed bug with 4NT shell support.
|
2001-11-30 21:09:03 +00:00
|
|
|
|
2001-11-23 19:17:45 +00:00
|
|
|
* Fixed bug where ant would not perform ftp without remotedir being
|
|
|
|
specified even though this was not mandatory.
|
2001-10-25 12:37:31 +00:00
|
|
|
|
|
|
|
* 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.
|
|
|
|
|
2002-06-01 12:26:43 +00:00
|
|
|
* <ant> will no longer override a subbuild's basedir with inheritall="true".
|
2001-10-25 12:37:31 +00:00
|
|
|
|
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.
|
|
|
|
|
2002-01-10 16:17:12 +00:00
|
|
|
* <fixcrlf> dropped the first characters from Mac files.
|
|
|
|
|
2001-08-09 11:57:04 +00:00
|
|
|
Other changes:
|
|
|
|
--------------
|
2002-06-01 12:26:43 +00:00
|
|
|
* Selector Elements now provide a way to create filesets based on
|
2002-04-30 22:38:36 +00:00
|
|
|
sophisticated selection criteria.
|
|
|
|
|
2002-04-24 03:09:06 +00:00
|
|
|
* Gzip and Bzip2 files can now be constructed in the fly when using
|
|
|
|
the tar task without having to create the intermediate tar file on
|
|
|
|
disk. The Untar task can also untar GZip and BZip2 files on the fly
|
|
|
|
without creating the intermediate tar file.
|
|
|
|
|
2002-04-04 14:16:26 +00:00
|
|
|
* New optional type, <classfileset> added.
|
|
|
|
|
2002-04-08 14:20:23 +00:00
|
|
|
* <ejbjar> now allows control over which additional classes and interfaces
|
2002-06-01 12:26:43 +00:00
|
|
|
are added to the generated EJB jars. A new attribute "dependency" can be
|
2002-07-09 21:06:15 +00:00
|
|
|
defined which controls what classes are added. The addition of classes now uses
|
2002-04-08 14:20:23 +00:00
|
|
|
the Jakarta-BCEL library rather than reflection, meaning bean classes are
|
2002-06-22 23:38:38 +00:00
|
|
|
no longer loaded into Ant's JVM. The default dependency analyzer is known as
|
|
|
|
the ancestor analyzer. It provides the same behaviour as the 1.4.1 version of
|
|
|
|
<ejbjar>. If the BCEL library is not present, a warning will be issued stating
|
|
|
|
the ancestor analyzer is not available. In this case <ejbjar> will continue
|
|
|
|
to function but will not add super classes to the jar.
|
2002-04-08 14:20:23 +00:00
|
|
|
|
2002-03-19 22:45:06 +00:00
|
|
|
* <available> has a new attribute named ignoreSystemClasses.
|
|
|
|
|
2002-04-03 09:11:09 +00:00
|
|
|
* New task <cvschangelog/> generates an XML report of changes that occur
|
2002-03-28 22:56:48 +00:00
|
|
|
on CVS repository.
|
|
|
|
|
2002-06-01 12:26:43 +00:00
|
|
|
* New filter readers: ClassConstants, ExpandProperties, HeadFilter,
|
|
|
|
LineContains, LineContainsRegExp, PrefixLines, ReplaceTokens,
|
|
|
|
StripJavaComments, StripLineBreaks, StripLineComments, TabsToSpaces,
|
2002-03-06 03:25:51 +00:00
|
|
|
TailFilter.
|
|
|
|
|
2002-06-01 12:26:43 +00:00
|
|
|
* <copy>, <loadfile>, <loadproperties>, <move> support FilterChains
|
2002-03-06 03:25:51 +00:00
|
|
|
of FilterReaders.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2002-03-22 18:35:49 +00:00
|
|
|
* New task <loadproperties> to load contents of file as Ant properties,
|
|
|
|
with nested <filterchain> elements.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2002-03-22 18:35:49 +00:00
|
|
|
* New task <loadfile> to load a whole file into a property.
|
|
|
|
|
|
|
|
* New task <echoproperties> to list your current properties to the screen
|
2002-06-01 12:26:43 +00:00
|
|
|
or a file.
|
2002-03-22 18:35:49 +00:00
|
|
|
|
2002-06-01 12:26:43 +00:00
|
|
|
* New tasks <bzip2> and <bunzip2> to pack and unpack files using the
|
2002-03-22 18:35:49 +00:00
|
|
|
BZip2 alogrithm.
|
|
|
|
|
2002-06-01 12:26:43 +00:00
|
|
|
* New tasks <replaceregexp>, <checksum>, <translate>, <waitfor>,
|
2002-04-02 14:03:05 +00:00
|
|
|
<manifest>, <vsscp>, <vssadd>, <vsscreate>, <splash>, <basename>, <dirname>,
|
2002-07-09 21:06:15 +00:00
|
|
|
<concat>, <sourceoffsite>, <jarlib-available>, <jarlib-display>,
|
|
|
|
<jarlib-manifest>, <jarlib-resolve>.
|
2002-03-22 18:35:49 +00:00
|
|
|
|
|
|
|
* A new combined <mail> task, which replaces the old <mail> and
|
2002-06-01 12:26:43 +00:00
|
|
|
<mimemail> tasks, has been added. The <mimemail> task, and
|
2002-03-22 18:35:49 +00:00
|
|
|
old SendEmail and MimeMail classes have been deprecated.
|
|
|
|
|
|
|
|
* Mail task allows specification of port number.
|
|
|
|
|
2002-06-01 12:26:43 +00:00
|
|
|
* Users can control what <zip> and <jar> must do when duplicate files
|
|
|
|
are found. A new element <zipgroupfileset> allows for multiple zip
|
|
|
|
files to be merged into the archive. In addition, <jar> also has
|
2002-03-03 06:52:07 +00:00
|
|
|
another new attribute: filesetmanifest. The existing manifest
|
2002-06-01 12:26:43 +00:00
|
|
|
attribute of <jar> now also accepts the name of a jar added through
|
2002-03-03 06:52:07 +00:00
|
|
|
a fileset.
|
|
|
|
|
2002-02-27 09:02:40 +00:00
|
|
|
* gzip now checks that the zipfile is older than the source file
|
2002-06-01 12:26:43 +00:00
|
|
|
before rebuilding the zipfile.
|
2002-02-27 09:02:40 +00:00
|
|
|
|
2002-02-04 20:44:16 +00:00
|
|
|
* TarFileset takes in three new attributes - fullpath, prefix
|
|
|
|
and preserveLeadingSlashes.
|
|
|
|
|
2001-12-06 18:31:39 +00:00
|
|
|
* <move> attempts to rename the directory, if everything inside it is
|
|
|
|
included, before performing file-by-file moves. This attempt will
|
|
|
|
be done only if filtering is off and if mappers are not used. This
|
|
|
|
is a performance improvement and there is no change otherwise in
|
|
|
|
the funtionality of this task.
|
|
|
|
|
2001-11-30 21:09:03 +00:00
|
|
|
* Exec task has extra attribute "resultproperty" to get the return code
|
|
|
|
into a property.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
|
|
|
* Exec task prints a message when a timed-out process is killed.
|
|
|
|
|
2002-03-22 18:35:49 +00:00
|
|
|
* Added optional attributes - name, arch and version to the <os> task.
|
2001-11-25 08:08:03 +00:00
|
|
|
|
2002-06-01 12:26:43 +00:00
|
|
|
* Unjar, Untar, Unwar and Unzip now support patternsets to
|
|
|
|
select files from an archive for extraction. Filesets may be
|
2001-11-21 22:36:12 +00:00
|
|
|
used to select archived files for unarchival.
|
2001-11-21 08:23:46 +00:00
|
|
|
|
2001-11-21 23:09:39 +00:00
|
|
|
* Javac task allows debug levels to be specified. Debug levels
|
2002-06-01 12:26:43 +00:00
|
|
|
will have an effect only when the modern compiler or the
|
2001-11-21 23:09:39 +00:00
|
|
|
classic compiler (version 1.2 and higher) is used and debugging
|
|
|
|
is enabled.
|
2001-11-20 22:24:14 +00:00
|
|
|
|
2001-11-19 10:54:50 +00:00
|
|
|
* Added support for specifying CVS_RSH in the <cvs/> task
|
|
|
|
|
2002-06-01 12:26:43 +00:00
|
|
|
* The attributes zipfile, jarfile, warfile and earfile (from the Zip,
|
|
|
|
Jar, War and Ear tasks) have been deprecated and superseded by a
|
2002-01-07 06:32:02 +00:00
|
|
|
new attribute "destfile".
|
2001-09-12 16:43:26 +00:00
|
|
|
|
2002-03-22 18:35:49 +00:00
|
|
|
* Added new conditions <isset>, <checksum>, <http>, <socket>, <contains>,
|
|
|
|
<filesmatch>.
|
2001-10-23 10:35:14 +00:00
|
|
|
|
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.
|
|
|
|
|
2002-03-22 18:35:49 +00:00
|
|
|
* Added an optional encoding attribute to <fixcrlf>.
|
2001-11-13 14:02:15 +00:00
|
|
|
|
2001-11-21 17:20:29 +00:00
|
|
|
* <apply> has a new attribute relative that allows users to pass the
|
|
|
|
filenames as relative instead of absolute paths on the command line.
|
|
|
|
|
2001-12-13 11:56:25 +00:00
|
|
|
* References can now be copied into the child build by <ant> and
|
|
|
|
<antcall> using nested <reference> elements or the new inheritRefs
|
|
|
|
attribute.
|
2001-12-10 10:10:35 +00:00
|
|
|
|
2002-02-09 22:34:38 +00:00
|
|
|
* <fail> now supports builds to fail based on conditions via if and
|
2001-12-12 08:48:42 +00:00
|
|
|
unless attributes.
|
|
|
|
|
2002-06-01 12:26:43 +00:00
|
|
|
* Ant now comes with two new BuildLogger implementations - one that
|
2002-03-22 18:35:49 +00:00
|
|
|
can send emails containing a log of the build process (MailLogger),
|
|
|
|
and one that colorizes the output based on message levels, using
|
2002-01-31 19:56:33 +00:00
|
|
|
ANSI color code escape sequences (AnsiColorLogger).
|
2001-12-13 12:23:17 +00:00
|
|
|
|
2002-01-07 12:38:08 +00:00
|
|
|
* A "package" mapper type has been added to allow package directory
|
|
|
|
names replaced with the dotted form.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
|
|
|
* You can now specify environment variables in the <java> and <junit> tasks
|
2002-01-29 16:20:20 +00:00
|
|
|
if the fork attribute has been set to true.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2002-02-01 22:29:21 +00:00
|
|
|
* -propertyfile command-line option has been added to load an entire
|
|
|
|
property file just as -D properties are declared (as user properties).
|
|
|
|
-D properties take precedence over -propertyfile specified ones.
|
2002-01-29 16:20:20 +00:00
|
|
|
|
2002-02-05 18:16:07 +00:00
|
|
|
* You can now set an ANT_ARGS environment variable to hold arguments you
|
|
|
|
always want passed to the 'ant' command -- for example, if you always
|
|
|
|
want to use a different logger or the -find flag.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2002-02-09 22:49:42 +00:00
|
|
|
* <tstamp> now supports a new "prefix" attribute to prefix properties set.
|
2002-02-05 18:16:07 +00:00
|
|
|
|
2002-03-22 18:35:49 +00:00
|
|
|
* You can now specify the -sourcepath for <javac> explicitly.
|
2002-02-14 17:34:19 +00:00
|
|
|
|
2002-02-27 23:45:33 +00:00
|
|
|
* <javac> now supports a new "listfiles" attribute to list the source
|
|
|
|
files it's handing off to the compiler.
|
|
|
|
|
2002-03-26 21:01:07 +00:00
|
|
|
* The compiler implementation for <javac> can now be chosen on a task by
|
|
|
|
task basis. The new "compiler" attribute of <javac> can be used to override
|
2002-03-22 18:35:49 +00:00
|
|
|
the value of the build.compiler property, if set.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2002-03-26 21:01:07 +00:00
|
|
|
* <javac> has a new nested element, <compilerarg>, which allows you
|
|
|
|
to specify additional args for the specific compiler you're using.
|
|
|
|
|
|
|
|
* <javac>'s "source" attribute is now enabled for jikes as well.
|
|
|
|
|
2002-02-22 01:56:27 +00:00
|
|
|
* <propertyfile>'s <entry> now has a 'unit' attribute to specify the
|
|
|
|
increment/decrement unit on date operations.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2002-02-23 20:42:39 +00:00
|
|
|
* <property> now supports a 'prefix' attribute when loading from a file
|
|
|
|
or resource.
|
2002-02-15 13:42:53 +00:00
|
|
|
|
2002-03-22 18:35:49 +00:00
|
|
|
* In Ant 1.4, a feature has been added to the <junit> task that would
|
2002-02-26 10:11:19 +00:00
|
|
|
add ant.jar, optional.jar and junit.jar implicitly to the classpath -
|
|
|
|
this feature can now be disabled by setting the new includeantruntime
|
|
|
|
attribute to false.
|
|
|
|
|
2002-03-22 18:35:49 +00:00
|
|
|
* <style> behaves differently from any other directory-based task, as it
|
2002-02-26 16:39:37 +00:00
|
|
|
processes all files that it finds in included directories in
|
2002-03-22 18:35:49 +00:00
|
|
|
addition to the files matched by your patterns. There is now a new
|
|
|
|
attribute, 'scanincludeddirectories', to suppress this behavior.
|
2002-02-26 16:39:37 +00:00
|
|
|
|
2002-02-28 10:30:04 +00:00
|
|
|
* <javadoc> now supports a <tag> nested element to provide the -tag option
|
|
|
|
to the standard Java 1.4 doclet. The element is ignored when not running
|
|
|
|
on Java 1.4.
|
|
|
|
|
2002-03-21 09:47:35 +00:00
|
|
|
* <ftp> can now chmod files on a remote server that supports
|
2002-03-22 18:35:49 +00:00
|
|
|
"site chmod", as well as set the umask before transferring files, if
|
2002-03-21 09:47:35 +00:00
|
|
|
the server supports "site umask".
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2002-03-27 14:32:19 +00:00
|
|
|
* New <serverdeploy> "optional" task.
|
2002-03-21 09:17:01 +00:00
|
|
|
|
2002-03-26 22:52:42 +00:00
|
|
|
* <patternset> now supports nested patternsets.
|
|
|
|
|
2002-03-28 23:11:08 +00:00
|
|
|
* Perforce tasks now support a "failonerror" attribute (defaults to "true").
|
|
|
|
|
2002-03-30 21:37:41 +00:00
|
|
|
* Open Source application server JOnAS support:
|
|
|
|
EJB hot deploy and deploy with <serverdeploy> and <ejbjar>
|
|
|
|
|
|
|
|
* Added new DirSet (<dirset>) datatype.
|
|
|
|
|
|
|
|
* <path> now supports nested <dirset> and <filelist> elements.
|
|
|
|
|
|
|
|
* <pathconvert> now supports nested <dirset> and <filelist> elements.
|
2002-03-30 13:16:01 +00:00
|
|
|
|
2002-04-01 08:31:14 +00:00
|
|
|
* <pathconvert>'s "dirsep" and "pathsep" attributes now accept
|
|
|
|
multi-character values.
|
|
|
|
|
|
|
|
* <copy> task now has a 'failonerror' attribute to allow keep-going
|
|
|
|
behaviour when the file to be copied is not found (defaults to "true").
|
|
|
|
|
2002-06-01 12:26:43 +00:00
|
|
|
* <uptodate> now has a 'srcfile' attribute to allow specifying a
|
2002-04-01 08:31:14 +00:00
|
|
|
full-path filename.
|
|
|
|
|
2002-04-05 09:28:54 +00:00
|
|
|
* <exec>, <sql> and <java> now support append attributes to allow
|
|
|
|
appending the output to an existing file.
|
|
|
|
|
2002-06-01 12:26:43 +00:00
|
|
|
* <java> now supports a timeout attribute analog to <exec> - it is
|
2002-04-08 12:04:07 +00:00
|
|
|
highly recommended to only use it together with fork="true".
|
|
|
|
|
2002-04-08 16:11:27 +00:00
|
|
|
* <javadoc> now supports a source attribute to enable javadoc to
|
|
|
|
handle assertions present in JDK 1.4 source code.
|
|
|
|
|
2002-04-12 10:17:53 +00:00
|
|
|
* <replace> supports a new replacefilterfile attribute that
|
|
|
|
automatically turns all properties of a given file into
|
|
|
|
replacefilters.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2002-04-13 11:18:28 +00:00
|
|
|
* An alias of <xslt> has been added to refer to the <style> task.
|
|
|
|
|
2002-04-15 13:20:26 +00:00
|
|
|
* The compiler implementation for <rmic> can now be chosen on a task by
|
|
|
|
task basis. The new "compiler" attribute of <rmic> can be used to override
|
|
|
|
the value of the build.rmic property, if set.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2002-04-15 13:20:26 +00:00
|
|
|
* <rmic> has a new nested element, <compilerarg>, which allows you
|
|
|
|
to specify additional args for the specific compiler you're using.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2002-04-17 01:36:50 +00:00
|
|
|
* org.apache.tools.ant.XmlLogger now is a BuildLogger, rather than just
|
|
|
|
a BuildListener. It can operate in either mode successfully.
|
2002-04-12 10:17:53 +00:00
|
|
|
|
2002-04-18 09:49:55 +00:00
|
|
|
* <junit> has a new attribute "showoutput". If set to true, output
|
|
|
|
generated by tests will be sent to Ant's logging system as well as
|
|
|
|
to the formatters (instead of sending it to the formatters
|
|
|
|
exclusively).
|
|
|
|
|
2002-04-22 13:22:57 +00:00
|
|
|
* Ant has now a pluggable way to prompt users for input, which is used
|
|
|
|
by the new <input> task. IDE integrators can provide an
|
|
|
|
implementation of the InputHandler interface to decouple Ant's input
|
|
|
|
from the console. An implementation that gets its input from a file
|
|
|
|
for unattended builds is part of Ant's distribution.
|
|
|
|
|
|
|
|
For more details see docs/manual/inputhandler.html.
|
|
|
|
|
2002-04-26 11:39:34 +00:00
|
|
|
* <patch> has a new attribute that selects the directory in which to
|
|
|
|
run the command.
|
|
|
|
|
2002-04-26 16:06:52 +00:00
|
|
|
* <javadoc> now supports two new nested elements, <fileset> and <packageset>.
|
|
|
|
|
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.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2001-09-30 13:21:54 +00:00
|
|
|
* 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
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2001-09-30 13:21:54 +00:00
|
|
|
* Fixed bug in depend task which would fail with a NullPointerException if no
|
|
|
|
dependency cache was specified.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2001-09-30 13:21:54 +00:00
|
|
|
* sql task now handles REM statements correctly so that lines starying with rem
|
|
|
|
but which are not comments are actually processed.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2001-09-30 13:21:54 +00:00
|
|
|
* XMLLogger now uses the task's name rather than the classname
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2001-09-30 13:21:54 +00:00
|
|
|
* <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.
|
|
|
|
|
2002-06-01 12:26:43 +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
|
2001-08-07 12:02:03 +00:00
|
|
|
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
|
2002-06-01 12:26:43 +00:00
|
|
|
from a task before the previous task has finished.
|
|
|
|
|
2001-08-07 12:02:03 +00:00
|
|
|
* Ant now installs its own ouput stream into System.out to route output to the
|
2002-06-01 12:26:43 +00:00
|
|
|
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
|
2001-08-07 12:02:03 +00:00
|
|
|
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
|
2002-06-01 12:26:43 +00:00
|
|
|
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-07 12:02:03 +00:00
|
|
|
|
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.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2001-08-18 15:02:35 +00:00
|
|
|
* 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
|
|
|
|
2002-06-01 12:26:43 +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
|
2001-08-30 13:26:38 +00:00
|
|
|
properties defined in the build file. In particular the $ character needs
|
2002-06-01 12:26:43 +00:00
|
|
|
to be escaped in property values by doubling it to $$. So, to define a
|
2001-08-30 13:26:38 +00:00
|
|
|
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.
|
2002-06-01 12:26:43 +00:00
|
|
|
* Add support for iPlanet Application Server to the <ejbjar> task. Also
|
2001-08-07 12:02:03 +00:00
|
|
|
includes some iPlanet utility tasks
|
2002-06-01 12:26:43 +00:00
|
|
|
* Add support for JBoss Application Server to the <ejbjar> task.
|
2001-08-07 12:02:03 +00:00
|
|
|
* 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
|
2002-06-01 12:26:43 +00:00
|
|
|
* 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-08-07 12:02:03 +00:00
|
|
|
* Allow the <sql> Delimiter to be set in the so that Oracle stored procs may be
|
2002-06-01 12:26:43 +00:00
|
|
|
entered
|
2001-05-17 10:43:34 +00:00
|
|
|
|
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
|
2002-06-01 12:26:43 +00:00
|
|
|
and the OS shell, either directly or through the auxillary antRun
|
|
|
|
scripts is used.
|
2001-07-06 11:23:18 +00:00
|
|
|
|
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.
|
|
|
|
|
2002-06-01 12:26:43 +00:00
|
|
|
* <taskdef> can now define several tasks at once, reading the
|
2001-07-18 08:06:35 +00:00
|
|
|
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
|
2002-06-01 12:26:43 +00:00
|
|
|
per <patternset>.
|
2001-08-01 09:08:56 +00:00
|
|
|
|
2001-08-06 09:04:26 +00:00
|
|
|
* Three new supported compilers for javac: kjc for kopi, gcj for the
|
2002-06-01 12:26:43 +00:00
|
|
|
gcc frontend and sj for Symantec's compiler.
|
2001-08-06 09:04:26 +00:00
|
|
|
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.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
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
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2001-08-07 12:02:03 +00:00
|
|
|
* <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.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2001-08-07 12:02:03 +00:00
|
|
|
* <java> task will set the Thread contextClassLoader under JDKs 1.2+ to the
|
|
|
|
classloader for the class being executed.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2001-08-07 12:02:03 +00:00
|
|
|
* Introduce the concept of a TaskContainer - a task or element which can contain
|
2002-06-01 12:26:43 +00:00
|
|
|
Ant Tasks.
|
|
|
|
|
2001-08-07 12:02:03 +00:00
|
|
|
* 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.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
|
|
|
* <jar> manifest entries may now be specified in the build file either
|
2001-08-07 12:02:03 +00:00
|
|
|
completely or to be merged with a manifest file.
|
|
|
|
|
2002-06-01 12:26:43 +00:00
|
|
|
* <tstamp> task custom formats now support locales.
|
2001-08-07 12:02:03 +00:00
|
|
|
|
2002-06-01 12:26:43 +00:00
|
|
|
* Added a listner which will forward events to Log4J. The log4j configuration
|
2001-08-07 12:02:03 +00:00
|
|
|
file should be in the directory from which Ant is run or passed as a system
|
|
|
|
property using a JVM argument.
|
|
|
|
|
2002-06-01 12:26:43 +00:00
|
|
|
* 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.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2001-08-18 15:02:35 +00:00
|
|
|
* 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
|
|
|
|
2002-06-01 12:26:43 +00:00
|
|
|
* <antstructure> should create a valid DTD for propertyfile.operation.entry
|
2001-03-09 09:32:28 +00:00
|
|
|
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.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
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
|
2002-06-01 12:26:43 +00:00
|
|
|
|
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.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2001-08-07 12:02:03 +00:00
|
|
|
* <ejbjar> now fails when the weblogic ejbc compiler reports an error.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2001-05-17 10:43:34 +00:00
|
|
|
* Make the AntClassLoader load resources in the same order as it currently
|
2002-06-01 12:26:43 +00:00
|
|
|
loads classes.
|
|
|
|
|
2001-05-17 10:43:34 +00:00
|
|
|
* Handle classpaths with spaces
|
2001-06-22 07:45:16 +00:00
|
|
|
|
2002-06-01 12:26:43 +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
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2001-08-07 12:02:03 +00:00
|
|
|
* <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.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2001-08-07 12:02:03 +00:00
|
|
|
* <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
|
2002-06-01 12:26:43 +00:00
|
|
|
being used, Ant can determine which options to use for features such as the
|
|
|
|
VM memory limits
|
|
|
|
|
2001-08-07 12:02:03 +00:00
|
|
|
|
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
|
|
|
|
2002-06-01 12:26:43 +00:00
|
|
|
* Changed <sql> so that printing is at the task level rather than
|
2000-11-02 14:53:43 +00:00
|
|
|
the statement level.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2000-11-02 14:53:43 +00:00
|
|
|
* 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.
|
|
|
|
|
2002-06-01 12:26:43 +00:00
|
|
|
* <cab> can work on non-Windows platforms with the help of libcabinet.
|
2000-11-06 14:32:25 +00:00
|
|
|
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
|
2002-06-01 12:26:43 +00:00
|
|
|
in your classpath.
|
2001-01-04 12:49:29 +00:00
|
|
|
|
2002-06-01 12:26:43 +00:00
|
|
|
* Added a failonerror to the javac task. If set to false, the build will
|
2001-01-04 12:49:29 +00:00
|
|
|
continue even if there are compilation errors.
|
2002-06-01 12:26:43 +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.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
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
|
2002-06-01 12:26:43 +00:00
|
|
|
|
2000-11-19 14:14:12 +00:00
|
|
|
* ejbjar now correctly ignores <ejb-ref> elements in the deployment descriptor.
|
2002-06-01 12:26:43 +00:00
|
|
|
CMP files are included by parsing the weblogic deployment descriptor rather
|
2001-01-04 12:49:29 +00:00
|
|
|
than relying on the naming convention used in ant 1.2
|
2002-06-01 12:26:43 +00:00
|
|
|
|
|
|
|
* ejbjar includes super classes and super interfaces into the generated ejb
|
|
|
|
jar files. The <support> nested element allows support classes to be
|
2001-02-13 12:32:01 +00:00
|
|
|
included in the EJB jar. The toplink element should now correctly locate
|
|
|
|
the toplink descriptor.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
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
|
2002-06-01 12:26:43 +00:00
|
|
|
as it passes to the compiler.
|
2000-11-29 16:01:53 +00:00
|
|
|
|
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.
|
2002-06-01 12:26:43 +00:00
|
|
|
|
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
|
|
|
|
2002-06-01 12:26:43 +00:00
|
|
|
* <junit> can now log to files whose name contains a comma as well.
|
2001-01-31 13:10:46 +00:00
|
|
|
|
2002-06-01 12:26:43 +00:00
|
|
|
* The AntClassLoader now refers to the loader which loaded it, any
|
|
|
|
requests it does not handle itself. Previously these went to the
|
2001-02-13 12:32:01 +00:00
|
|
|
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
|
|
|
|
|
2002-06-01 12:26:43 +00:00
|
|
|
* <exec> is no longer implemented by org.apache.tool.ant.taskdefs.Exec.
|
2000-09-27 15:58:49 +00:00
|
|
|
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).
|
|
|
|
|
2002-06-01 12:26:43 +00:00
|
|
|
* Added a -logger option to allow the class which performs logging to be
|
2000-07-25 13:49:32 +00:00
|
|
|
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
|
2002-06-01 12:26:43 +00:00
|
|
|
resolved as a file (i.e. it is either absolute or relative to
|
2001-06-21 11:49:26 +00:00
|
|
|
basedir).
|