|
|
@@ -19,43 +19,21 @@ Changes that could break older environments: |
|
|
|
|
|
|
|
* <xmlproperty> will no longer fail if the file to be loaded doesn't exist. |
|
|
|
|
|
|
|
* ZipScanner#getIncludedFiles will now return the names of the ZipEntries |
|
|
|
that have been matched instead of the name of the archive. |
|
|
|
|
|
|
|
* XML namespaces are now enabled in the XML parser, meaning XML namespace |
|
|
|
declarations no longer cause errors. |
|
|
|
|
|
|
|
* The <zip> task and friends have been heavily modified, almost every |
|
|
|
method signature of the Zip class has changed. If you have subclassed |
|
|
|
Zip (or one of its subclasses), your class will most likely not |
|
|
|
compile against the current code base. If it still compiles, it will |
|
|
|
probably not work as in Ant 1.5.1. |
|
|
|
|
|
|
|
* The <ftp> and <telnet> tasks now require Jakarta Commons Net instead |
|
|
|
of the older ORO Netcomponents version. See |
|
|
|
<http://jakarta.apache.org/commons/net/index.html>. |
|
|
|
|
|
|
|
Fixed bugs: |
|
|
|
----------- |
|
|
|
* <translate> was not ignoring comment lines. |
|
|
|
|
|
|
|
* Expand tasks did not behave as expected with PatternSets. |
|
|
|
|
|
|
|
* <property environment=... /> now works on OS/400. |
|
|
|
|
|
|
|
* <manifest> wouldn't update an existing manifest if only an attribute |
|
|
|
of an existing section changed. |
|
|
|
|
|
|
|
* ant.bat now supports the ANT_ARGS and JAVACMD environment variables |
|
|
|
again (like Ant 1.5 did). |
|
|
|
|
|
|
|
* The "plain" <junit> <formatter> could throw a NullPointerException |
|
|
|
if an error occured in setUp. |
|
|
|
|
|
|
|
* <cab> could hang listcab on large <fileset>s. |
|
|
|
|
|
|
|
* <junit> will now produce output when a test times out as well. |
|
|
|
|
|
|
|
* The starteam stcheckout, stcheckin tasks now correctly compute |
|
|
|
status of files against whatever local tree they are run against |
|
|
|
and, optionally, will not process a file if it is current. |
|
|
@@ -64,55 +42,13 @@ Fixed bugs: |
|
|
|
The stlist task now similarly displays that status correctly making |
|
|
|
it a more generally useful tool. |
|
|
|
|
|
|
|
* <replace> would count some internal character replacements when |
|
|
|
reporting the number of replaced tokens. |
|
|
|
|
|
|
|
* <concat> would cause an exception if a <filelist> pointed to files |
|
|
|
that do not exist. |
|
|
|
|
|
|
|
* <javadoc> will now pass -source to custom doclets as well. |
|
|
|
|
|
|
|
* <cvstagdiff> would throw a NullPointException if there had been no |
|
|
|
differences. |
|
|
|
|
|
|
|
* <cvschangelog> could miss today's changes. |
|
|
|
|
|
|
|
* entity includes would cause exceptions if path names included spaces. |
|
|
|
|
|
|
|
* <concat> could append newline characters between concatenated files. |
|
|
|
|
|
|
|
* <xmlvalidate> ignored the specified encoding of the files to |
|
|
|
validate. |
|
|
|
|
|
|
|
* the errorsbeginat attribute of the <http> condition didn't work. |
|
|
|
|
|
|
|
* Ant will try to force loading of certain packages like com.sun.* |
|
|
|
from the system classloader. The packages are determined by the |
|
|
|
version of the JVM running Ant. |
|
|
|
|
|
|
|
* Ant didn't find the runtime libraries on IBM's JDK 1.4 for Linux. |
|
|
|
|
|
|
|
* addConfiguredXXX would not work for TaskAdapter wrapped tasks |
|
|
|
|
|
|
|
* random component of temporary files is now always a positive integer. |
|
|
|
|
|
|
|
* Fix <ilasm> outputfile testing so that the output file does not need |
|
|
|
to exist beforehand. |
|
|
|
|
|
|
|
* Ant could incorrectly try to use the 1.4 regexp implementation even |
|
|
|
if it isn't available if you run the JVM with -Xverify:none. |
|
|
|
|
|
|
|
* Ant would die with an exception if you used nested <reference> |
|
|
|
elements in Ant and the refid attribute didn't point to an existing |
|
|
|
project reference. |
|
|
|
|
|
|
|
* The <get> task can now be compiled (and Ant thus bootstrapped) using |
|
|
|
Kaffee. |
|
|
|
|
|
|
|
* build.sysclasspath will now be honored by more tasks. |
|
|
|
|
|
|
|
* <jar update="true"> would remove the original manifest. |
|
|
|
|
|
|
|
* Ant will now exit with a return code of 1 if it encounters problems |
|
|
|
with the command line arguments. |
|
|
|
|
|
|
@@ -130,15 +66,6 @@ Fixed bugs: |
|
|
|
* <exec> output and error streams can now be redirected independently |
|
|
|
to either a property or a file (or both) |
|
|
|
|
|
|
|
* <tar>'s up-to-date check didn't work for nested <(tar)fileset>s. |
|
|
|
|
|
|
|
* <exec> now supports OS/2. |
|
|
|
|
|
|
|
* <zip> and friends would only update/recreate existing archives if |
|
|
|
the files to add/update have been newer than the archive. |
|
|
|
|
|
|
|
* <javadoc>'s <link> element could fail for offline="true" on some JDKs. |
|
|
|
|
|
|
|
Other changes: |
|
|
|
-------------- |
|
|
|
* The filesetmanifest attribute of <jar> has been reenabled. |
|
|
@@ -197,19 +124,12 @@ Other changes: |
|
|
|
|
|
|
|
* new task <attrib> to change file attributes on Windows systems. |
|
|
|
|
|
|
|
* MailLogger now sets the Date header correctly. |
|
|
|
|
|
|
|
* Shipped XML parser is now Xerces 2.3.0 |
|
|
|
|
|
|
|
* <style> has a new attribute reloadstylesheet to work around a |
|
|
|
bug in widespread Xalan versions. |
|
|
|
|
|
|
|
* <tarfileset> has a new dirmode attribute to specify the permissions |
|
|
|
for directories. |
|
|
|
|
|
|
|
* <zip> can now store Unix permissions in a way that can be |
|
|
|
reconstructed by Info-Zip's unzip command. |
|
|
|
|
|
|
|
* <fixcrlf>'s eol attribute now also understand "mac", "unix" and "dos". |
|
|
|
|
|
|
|
* <classfileset> now picks up dependencies of the form MyClass.class. This |
|
|
@@ -237,6 +157,128 @@ Other changes: |
|
|
|
* The <javadoc> task <tag> subelement has been enhanced to allow files |
|
|
|
with tag mappings to be used. |
|
|
|
|
|
|
|
|
|
|
|
Changes from Ant 1.5.1 to Ant 1.5.2 |
|
|
|
============================================= |
|
|
|
|
|
|
|
Changes that could break older environments: |
|
|
|
-------------------------------------------- |
|
|
|
* ANT_OPTS environment variable is now applied at the start of the |
|
|
|
Java command line, allowing position specific parameters of some |
|
|
|
JVMs, such as -classic to be specified. |
|
|
|
|
|
|
|
* ZipScanner#getIncludedFiles will now return the names of the ZipEntries |
|
|
|
that have been matched instead of the name of the archive. |
|
|
|
|
|
|
|
* The <zip> task and friends have been heavily modified, almost every |
|
|
|
method signature of the Zip class has changed. If you have subclassed |
|
|
|
Zip (or one of its subclasses), your class will most likely not |
|
|
|
compile against the current code base. If it still compiles, it will |
|
|
|
probably not work as in Ant 1.5.1. |
|
|
|
|
|
|
|
Fixed bugs: |
|
|
|
----------- |
|
|
|
* <translate> was not ignoring comment lines. |
|
|
|
|
|
|
|
* <manifest> wouldn't update an existing manifest if only an attribute |
|
|
|
of an existing section changed. |
|
|
|
|
|
|
|
* ant.bat now supports the ANT_ARGS and JAVACMD environment variables |
|
|
|
again (like Ant 1.5 did). |
|
|
|
|
|
|
|
* The "plain" <junit> <formatter> could throw a NullPointerException |
|
|
|
if an error occured in setUp. |
|
|
|
|
|
|
|
* <junit> will now produce output when a test times out as well. |
|
|
|
|
|
|
|
* <replace> would count some internal character replacements when |
|
|
|
reporting the number of replaced tokens. |
|
|
|
|
|
|
|
* <concat> would cause an exception if a <filelist> pointed to files |
|
|
|
that do not exist. |
|
|
|
|
|
|
|
* <javadoc> will now pass -source to custom doclets as well. |
|
|
|
|
|
|
|
* <cvstagdiff> would throw a NullPointException if there had been no |
|
|
|
differences. |
|
|
|
|
|
|
|
* <cvschangelog> could miss today's changes. |
|
|
|
|
|
|
|
* <concat> could append newline characters between concatenated files. |
|
|
|
|
|
|
|
* <xmlvalidate> ignored the specified encoding of the files to |
|
|
|
validate. |
|
|
|
|
|
|
|
* the errorsbeginat attribute of the <http> condition didn't work. |
|
|
|
|
|
|
|
* Ant will try to force loading of certain packages like com.sun.* |
|
|
|
from the system classloader. The packages are determined by the |
|
|
|
version of the JVM running Ant. |
|
|
|
|
|
|
|
* Ant didn't find the runtime libraries on IBM's JDK 1.4 for Linux. |
|
|
|
|
|
|
|
* random component of temporary files is now always a positive integer. |
|
|
|
|
|
|
|
* Ant could incorrectly try to use the 1.4 regexp implementation even |
|
|
|
if it isn't available if you run the JVM with -Xverify:none. |
|
|
|
|
|
|
|
* Ant would die with an exception if you used nested <reference> |
|
|
|
elements in Ant and the refid attribute didn't point to an existing |
|
|
|
project reference. |
|
|
|
|
|
|
|
* The <get> task can now be compiled (and Ant thus bootstrapped) using |
|
|
|
Kaffee. |
|
|
|
|
|
|
|
* build.sysclasspath will now be honored by more tasks. |
|
|
|
|
|
|
|
* The signjar keystore attribute has been reverted to a String allowing |
|
|
|
it to once again accept URLs. This should not affect current File based usage |
|
|
|
unless you are extending the Signjar task. |
|
|
|
|
|
|
|
* <jar update="true"> would remove the original manifest. |
|
|
|
|
|
|
|
* fix up folder creation in PVCS task |
|
|
|
|
|
|
|
* <tar>'s up-to-date check didn't work for nested <(tar)fileset>s. |
|
|
|
|
|
|
|
* Corrected a problem in XMLLogger where it would not associated |
|
|
|
messages with a taskdef'd task |
|
|
|
|
|
|
|
* <uptodate> now works when using attributes (i.e. not filesets) and pointing |
|
|
|
to the same file |
|
|
|
|
|
|
|
* Java task (and output system) now stores output which doos not end |
|
|
|
with a line feed. |
|
|
|
|
|
|
|
* splash screen wouldn't disappear when build was finished. |
|
|
|
|
|
|
|
* <exec> now supports OS/2. |
|
|
|
|
|
|
|
* <zip> and friends would only update/recreate existing archives if |
|
|
|
the files to add/update have been newer than the archive. |
|
|
|
|
|
|
|
* <javadoc>'s <link> element could fail for offline="true" on some JDKs. |
|
|
|
|
|
|
|
Other changes: |
|
|
|
-------------- |
|
|
|
|
|
|
|
* MailLogger now sets the Date header correctly. |
|
|
|
|
|
|
|
* Shipped XML parser is now Xerces 2.3.0 |
|
|
|
|
|
|
|
* signjar now accepts a maxmemory attribute to allow the memory allocated to the |
|
|
|
jarsigner tool to be specified. The jarsigner from the JDK's JAVA_HOME bin |
|
|
|
dir is now used rather than the first jarsigner on the path. |
|
|
|
|
|
|
|
* **/.DS_Store has been added to the list of default pattern excludes. |
|
|
|
|
|
|
|
* The Created-By header in the default manifest now contains the JVM |
|
|
|
vendor and version according to the jar specification. A new header, |
|
|
|
Ant-Version provides the Ant version used to create the jar. |
|
|
|
|
|
|
|
* <zip> can now store Unix permissions in a way that can be |
|
|
|
reconstructed by Info-Zip's unzip command. |
|
|
|
|
|
|
|
Changes from Ant 1.5.1Beta1 to 1.5.1 |
|
|
|
==================================== |
|
|
|
|
|
|
|