2001-03-04 13:35:51 +00:00
|
|
|
Changes from Ant 1.3 to CVS Version
|
|
|
|
===========================================
|
|
|
|
|
2001-03-09 09:07:35 +00:00
|
|
|
Changes that could break older environments:
|
|
|
|
--------------------------------------------
|
|
|
|
|
|
|
|
* 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-03-16 09:12:47 +00:00
|
|
|
Other changes:
|
|
|
|
--------------
|
|
|
|
|
|
|
|
* 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-03-09 09:07:35 +00:00
|
|
|
Fixed bugs:
|
|
|
|
-----------
|
|
|
|
|
2001-03-09 09:32:28 +00:00
|
|
|
* Testcases have been made independent of current working directory.
|
2001-03-09 09:07:35 +00:00
|
|
|
|
|
|
|
* Input ZIP-Files will be closed when using a <zipfileset>.
|
|
|
|
|
2001-03-09 09:32:28 +00:00
|
|
|
* p4 tasks now don't fail if user, port or client have been omitted
|
2001-03-09 09:07:35 +00:00
|
|
|
(and this is acceptable for the context of the command).
|
|
|
|
|
|
|
|
* <javah>'s outputfile attribute will be resolved as relative to the
|
|
|
|
projects basedir.
|
2001-03-04 13:35:51 +00:00
|
|
|
|
2001-03-09 09:32:28 +00:00
|
|
|
* <antstructure> should create a valid DTD for propertyfile.operation.entry
|
|
|
|
and omit tasks it fails to load.
|
2001-03-09 09:23:51 +00:00
|
|
|
|
2001-03-09 16:04:24 +00:00
|
|
|
* won't try to pass a -bootclasspath flag to javac 1.1 anymore
|
|
|
|
|
2001-03-13 14:15:22 +00:00
|
|
|
* <style>'s style attribute no handles absolute paths correctly.
|
|
|
|
|
2001-03-14 12:35:37 +00:00
|
|
|
* <delete includeemptydirs="true"> now deletes more than just the leaf
|
|
|
|
directories.
|
|
|
|
|
2001-03-14 12:48:32 +00:00
|
|
|
* You can now specify a <fileset> for a directory that doesn't exist at
|
|
|
|
declaration time but will created before the fileset gets used for the
|
|
|
|
first time.
|
|
|
|
|
2001-03-14 13:02:52 +00:00
|
|
|
* If the quiet attribute has been set, <delete> will handle <fileset>s
|
|
|
|
with non-existing directories gracefully.
|
|
|
|
|
2001-03-04 13:35:51 +00:00
|
|
|
Changes from Ant 1.2 to Ant 1.3
|
2000-10-27 14:59:32 +00:00
|
|
|
===========================================
|
|
|
|
|
2000-11-10 17:07:20 +00:00
|
|
|
Changes that could break older environments:
|
|
|
|
--------------------------------------------
|
|
|
|
|
|
|
|
* Ant doesn't search for the buildfile anymore, unless you use the new
|
|
|
|
-find argument.
|
|
|
|
|
2000-11-28 17:06:21 +00:00
|
|
|
* <perforce> has been replaced by a number of new tasks.
|
|
|
|
|
2001-01-12 14:08:51 +00:00
|
|
|
* <javac> is now implemented using a factory. This makes extending
|
|
|
|
javac to use a new compiler a lot easier but may break custom
|
|
|
|
versions of this task that rely on the old implementation.
|
|
|
|
|
2001-02-01 15:28:21 +00:00
|
|
|
* The output generated by the xml formatter for <junit> has changed a
|
|
|
|
little, it doesn't append " sec" in the time attribute anymore.
|
|
|
|
|
2000-10-27 14:59:32 +00:00
|
|
|
Other changes:
|
|
|
|
--------------
|
|
|
|
|
2001-02-13 12:32:01 +00:00
|
|
|
* A GUI Frontend: Antidote. This is currently in development. At this
|
|
|
|
time, this is not part of the Ant release, although the source is
|
|
|
|
included if you are interested.
|
2000-11-06 12:52:51 +00:00
|
|
|
|
2000-11-28 17:06:21 +00:00
|
|
|
* New tasks: stylebook, propertyfile, depend, antlr, telnet, csc,
|
2001-02-13 12:32:01 +00:00
|
|
|
ilasm, apply, javah, several clearcase tasks, junitreport, sound
|
2000-10-31 12:13:14 +00:00
|
|
|
|
|
|
|
* Added output attribute to <java>.
|
2000-10-27 14:59:32 +00:00
|
|
|
|
2001-01-31 13:10:46 +00:00
|
|
|
* Added nested zipfileset element to <zip>
|
2000-10-31 13:53:07 +00:00
|
|
|
|
2000-11-02 14:53:43 +00:00
|
|
|
* Changed <sql> so that printing is at the task level rather than
|
|
|
|
the statement level.
|
|
|
|
|
|
|
|
* javadoc task will pass -d flag to any doclet if the destDir attribute is
|
|
|
|
given. If the doclet does not accept the -d flag then omit the destdir
|
|
|
|
attribute.
|
|
|
|
|
2000-11-06 14:32:25 +00:00
|
|
|
* <cab> can work on non-Windows platforms with the help of libcabinet.
|
|
|
|
See http://trill.cis.fordham.edu/~barbacha/cabinet_library/.
|
|
|
|
|
2000-11-28 14:15:21 +00:00
|
|
|
* <ftp> now supports passive mode.
|
2000-11-16 08:59:26 +00:00
|
|
|
|
2000-12-01 14:06:57 +00:00
|
|
|
* New <mapper> data type that can be used to get influence on the
|
|
|
|
target files for some tasks like <copy> or enable new types of tasks
|
2001-02-01 15:04:41 +00:00
|
|
|
like <apply>.
|
2000-12-01 14:06:57 +00:00
|
|
|
|
2000-12-01 15:41:20 +00:00
|
|
|
* <execon> provides more control over the command line now, the names
|
|
|
|
of the source files are no longer required to be at the end of the
|
|
|
|
command.
|
|
|
|
|
2001-01-04 12:49:29 +00:00
|
|
|
* Style tasks will now support TraX compliant XSL processors if one is present
|
|
|
|
in your classpath.
|
|
|
|
|
|
|
|
* Added a failonerror to the javac task. If set to false, the build will
|
|
|
|
continue even if there are compilation errors.
|
2001-01-04 11:13:17 +00:00
|
|
|
|
2001-01-04 12:49:29 +00:00
|
|
|
* Added nested format elements to the tstamp task allowing additional time
|
|
|
|
formats to be defined for arbitrary properties.
|
2001-01-04 11:13:17 +00:00
|
|
|
|
2001-01-08 12:42:47 +00:00
|
|
|
* Added classpath attribute and nested classpath element to <property>
|
|
|
|
to make the resource attribute more powerful.
|
|
|
|
|
2001-02-01 17:14:06 +00:00
|
|
|
* ${} property expansion will now be performed on the patterns read
|
|
|
|
from files specified as includesfile or excludesfile attributes.
|
2001-02-13 12:32:01 +00:00
|
|
|
|
|
|
|
* The <tar> and <untar> tasks now support GNU format for handling paths
|
|
|
|
which are greater than 100 characters in length. In addition the <tar>
|
|
|
|
task now supports nested filesets through which the file permissions
|
|
|
|
may be controlled.
|
|
|
|
|
|
|
|
* wlrun, wlstop and ejbjar now support Weblogic 6.0
|
|
|
|
|
2001-02-18 13:44:44 +00:00
|
|
|
* The MPasre task has been updated to work with MParse 2.0
|
|
|
|
|
|
|
|
* The documentation has been significantly updated.
|
|
|
|
|
2001-02-01 17:14:06 +00:00
|
|
|
|
2000-10-27 14:59:32 +00:00
|
|
|
Fixed bugs:
|
|
|
|
-----------
|
|
|
|
|
|
|
|
* <signjar> doesn't use deprectated methods anymore.
|
|
|
|
|
2000-10-31 12:13:14 +00:00
|
|
|
* javadoc's failonerror attribute works again
|
2000-10-27 15:23:35 +00:00
|
|
|
|
2001-03-02 23:08:28 +00:00
|
|
|
* javadoc's additionalparam attribute will now be split into separate
|
|
|
|
parameters (on spaces) to allow for more than one parameter.
|
|
|
|
|
2000-11-02 14:53:43 +00:00
|
|
|
* Changed <sql> task so that printing result sets works on Oracle
|
|
|
|
|
2000-11-19 14:14:12 +00:00
|
|
|
* Changes to ddcreator and ejbc helper to respect the descriptor hierarchy
|
|
|
|
keppgenerated in ejbc can now be turned off
|
|
|
|
|
|
|
|
* ejbjar now correctly ignores <ejb-ref> elements in the deployment descriptor.
|
2001-01-04 12:49:29 +00:00
|
|
|
CMP files are included by parsing the weblogic deployment descriptor rather
|
|
|
|
than relying on the naming convention used in ant 1.2
|
2001-02-13 12:32:01 +00:00
|
|
|
|
|
|
|
* ejbjar includes super classes and super interfaces into the generated ejb
|
|
|
|
jar files. The <support> nested element allows support classes to be
|
|
|
|
included in the EJB jar. The toplink element should now correctly locate
|
|
|
|
the toplink descriptor.
|
|
|
|
|
2000-11-28 14:15:21 +00:00
|
|
|
* <vssget> now correctly deals with spaces in arguments
|
|
|
|
|
|
|
|
* <jar> fails early if a given manifest file doesn't exist
|
|
|
|
|
2000-11-29 16:01:53 +00:00
|
|
|
* <rmic> doesn't search for the _Skel file anymore when stubversion is
|
|
|
|
set to 1.2.
|
|
|
|
|
|
|
|
* <rmic> uses the the same classpath to verify a class can be rmic'd
|
|
|
|
as it passes to the compiler.
|
|
|
|
|
2000-11-30 16:27:14 +00:00
|
|
|
* org.apache.tools.mail.MailMessage (and therefore <mail>) can now
|
|
|
|
handle SMTP servers sending multi line responses.
|
|
|
|
|
2000-11-30 17:27:54 +00:00
|
|
|
* nested <classpath> elements of <taskdef> now work for <taskdef>s not
|
|
|
|
nested into <target> as well.
|
|
|
|
|
2001-01-08 16:40:44 +00:00
|
|
|
* <property> and <available> will search for the resource "foo" instead
|
|
|
|
of "/org/apache/tools/ant/taskdefs/foo" when given a relative resource
|
2001-01-08 12:52:06 +00:00
|
|
|
name foo.
|
2001-01-24 12:53:38 +00:00
|
|
|
|
|
|
|
* Handle build files in directories whose name contained a "#" character
|
2001-01-08 12:52:06 +00:00
|
|
|
|
2001-01-31 13:10:46 +00:00
|
|
|
* <junit> can now log to files whose name contains a comma as well.
|
|
|
|
|
2001-02-13 12:32:01 +00:00
|
|
|
* The AntClassLoader now refers to the loader which loaded it, any
|
|
|
|
requests it does not handle itself. Previously these went to the
|
|
|
|
primordial loader.
|
|
|
|
|
2000-10-24 08:45:24 +00:00
|
|
|
Changes from Ant 1.1 to Ant 1.2
|
2000-10-27 14:59:32 +00:00
|
|
|
===============================
|
2000-07-25 10:13:01 +00:00
|
|
|
|
2000-07-26 13:28:26 +00:00
|
|
|
Changes that could break older environments:
|
|
|
|
--------------------------------------------
|
2000-07-25 10:13:01 +00:00
|
|
|
|
2000-09-14 07:19:52 +00:00
|
|
|
* Semantics of <property> has changed again in the hope to be more
|
|
|
|
intuitive. ${} expansion now happens at runtime and <property> tags
|
|
|
|
living inside of targets only take effect if they are visited at
|
|
|
|
runtime.
|
|
|
|
|
|
|
|
As a side effect of this change, task's attributes get set at runtime
|
|
|
|
not at parser time as well, which might change the results of
|
|
|
|
<script>s or other custom tasks that reference other tasks by their id
|
|
|
|
attribute.
|
|
|
|
|
2000-08-07 11:13:38 +00:00
|
|
|
* copying of support files in <javac> has been removed - as well as
|
|
|
|
the filtering attribute.
|
2000-07-25 10:13:01 +00:00
|
|
|
|
2000-08-10 09:33:04 +00:00
|
|
|
* the <expand> and <keysubst> tasks have been removed.
|
|
|
|
|
2000-08-10 10:33:23 +00:00
|
|
|
* the ignore and items attributes of directory based tasks have been removed.
|
|
|
|
|
2000-07-25 12:08:03 +00:00
|
|
|
* the command line switches _not_ starting with - have been removed.
|
|
|
|
|
2000-07-26 13:28:26 +00:00
|
|
|
* Path and EnumeratedAttribute have been moved from
|
|
|
|
org.apache.tools.ant to org.apache.tools.ant.types.
|
|
|
|
|
2000-08-10 12:58:55 +00:00
|
|
|
* the class attributes of <available>, <java>, <rmic> and <taskdef>
|
2000-08-11 12:45:18 +00:00
|
|
|
have been removed.
|
2000-07-31 12:09:32 +00:00
|
|
|
|
2000-08-10 12:51:38 +00:00
|
|
|
* the src attribute of <chmod> has been removed.
|
|
|
|
|
2000-08-09 14:59:06 +00:00
|
|
|
* <patch> and <javadoc> have lost some of their attributes.
|
2000-07-31 16:21:56 +00:00
|
|
|
|
|
|
|
* <java> and <cvs> have lost some undocumented attributes.
|
|
|
|
|
2000-08-10 07:57:50 +00:00
|
|
|
* the Unix antRun script would search for command.sh in the directory
|
|
|
|
it changed to and invoke this instead of command if present. This
|
2000-08-10 12:51:38 +00:00
|
|
|
behavior has been dropped.
|
2000-08-10 07:57:50 +00:00
|
|
|
|
2000-08-25 11:56:15 +00:00
|
|
|
* <ejbjar> task syntax has been changed significantly
|
|
|
|
|
2000-09-27 15:58:49 +00:00
|
|
|
* <exec> is no longer implemented by org.apache.tool.ant.taskdefs.Exec.
|
|
|
|
Custom tasks that rely on Project.createTask("exec") to return an
|
|
|
|
instance of this class are going to fail.
|
2000-09-04 14:06:34 +00:00
|
|
|
|
2000-10-16 07:23:52 +00:00
|
|
|
* nested <include> and <exclude> elements expect the value of their
|
|
|
|
name attribute to be a single pattern, they don't accept multiple
|
|
|
|
patterns anymore. Split them into multiple elements of the same type.
|
|
|
|
|
2000-10-17 11:00:38 +00:00
|
|
|
* <delete dir="somedir" /> will now delete the directory itself as
|
|
|
|
well as all included files. If you just want to clean out the
|
|
|
|
directory and keep the empty one, use a nested fileset.
|
|
|
|
|
2000-07-25 10:13:01 +00:00
|
|
|
Other changes:
|
|
|
|
--------------
|
|
|
|
|
2000-09-15 11:41:58 +00:00
|
|
|
* New tasks: antstructure, cab, execon, fail, ftp, genkey, jlink,
|
2000-10-16 07:23:52 +00:00
|
|
|
junit, sql, javacc, jjtree, starteam, war, unwar, uptodate,
|
|
|
|
native2ascii, copy, move, mparse.
|
2000-08-03 10:29:20 +00:00
|
|
|
|
2000-10-16 07:23:52 +00:00
|
|
|
* copydir, copyfile, deltree and rename are now deprecated. They
|
|
|
|
should be replaced with the new copy, delete and move tasks.
|
2000-07-25 10:13:01 +00:00
|
|
|
|
2000-10-18 08:44:35 +00:00
|
|
|
* <java> uses a ClassLoader of its own in no-fork mode if a classpath is
|
2000-07-25 10:13:01 +00:00
|
|
|
specified.
|
|
|
|
|
|
|
|
* <style> will create the necessary target directories and reprocess
|
|
|
|
all files if the stylesheet changes.
|
|
|
|
|
2000-08-10 10:33:23 +00:00
|
|
|
* New data types fileset and patternset - expected to get a broader use.
|
2000-10-18 08:44:35 +00:00
|
|
|
They, as well as PATH like structures, can now be defined on a global
|
2000-09-05 08:53:33 +00:00
|
|
|
level and later be referenced by their id attribute.
|
2000-07-25 10:13:01 +00:00
|
|
|
|
2000-08-09 14:59:06 +00:00
|
|
|
* You can specify environment variables to <exec>.
|
2000-07-25 10:13:01 +00:00
|
|
|
|
2000-08-09 14:59:06 +00:00
|
|
|
* <get> can check whether a remote file is actually newer than a local
|
2000-07-25 12:08:03 +00:00
|
|
|
copy before it starts a download (HTTP only).
|
|
|
|
|
2000-07-25 13:49:32 +00:00
|
|
|
* Added a -logger option to allow the class which performs logging to be
|
|
|
|
specified on the command line.
|
|
|
|
|
|
|
|
* Added a -emacs option to tell the logger to leave out taskname adornments
|
|
|
|
on log output.
|
|
|
|
|
2000-08-01 09:18:40 +00:00
|
|
|
* <chmod> works on all files in parallel and supports multiple filesets.
|
|
|
|
|
2000-08-09 14:31:09 +00:00
|
|
|
* <replace> can now use tokens and/or values that cross line boundaries.
|
|
|
|
|
2000-09-27 15:58:49 +00:00
|
|
|
* build.compiler supports now jvc as well.
|
|
|
|
|
2000-08-25 11:56:15 +00:00
|
|
|
* project specific help can now be obtained with the -projecthelp option.
|
|
|
|
|
2000-09-19 09:09:23 +00:00
|
|
|
* Added a -debug option to make -verbose less verbose (and more useful)
|
|
|
|
|
|
|
|
* Ant will now search for a file named build.xml in the parent directory
|
|
|
|
and above (towards the root of the filesystem) if you didn't specify
|
|
|
|
-buildfile and there is no build.xml in the current directory.
|
|
|
|
|
2000-09-27 15:58:49 +00:00
|
|
|
* <echo> can now write to a file and accepts nested text.
|
|
|
|
|
2000-07-25 10:13:01 +00:00
|
|
|
Fixed bugs:
|
|
|
|
-----------
|
|
|
|
|
|
|
|
* <chmod> didn't work when used as a directory based task.
|
|
|
|
|
2000-07-28 11:49:25 +00:00
|
|
|
* Path, Available, Property didn't resolve relative filenames with
|
|
|
|
respect to the Project's basedir.
|
2000-07-25 10:13:01 +00:00
|
|
|
|
|
|
|
* Project didn't interpret the basedir attribute correctly in all
|
2000-07-31 16:21:56 +00:00
|
|
|
cases.
|
2000-08-03 10:29:20 +00:00
|
|
|
|
|
|
|
* Nested <src> in <javac> caused NullPointerException.
|
|
|
|
|
2000-10-18 08:44:35 +00:00
|
|
|
* Corrupt Zip- and Jar-files ar now deleted if the task fails.
|
|
|
|
|
|
|
|
* many more fixes we've forgotten to document here ...
|