2000-10-27 14:59:32 +00:00
|
|
|
Changes from Ant 1.2 to the current sources
|
|
|
|
===========================================
|
|
|
|
|
|
|
|
Other changes:
|
|
|
|
--------------
|
|
|
|
|
2000-11-06 12:52:51 +00:00
|
|
|
* A GUI Frontend: Antidote
|
|
|
|
|
2000-11-06 12:35:14 +00:00
|
|
|
* New tasks: propertyfile, depend, antlr
|
2000-10-31 12:13:14 +00:00
|
|
|
|
|
|
|
* Added output attribute to <java>.
|
2000-10-27 14:59:32 +00:00
|
|
|
|
2000-10-31 13:53:07 +00:00
|
|
|
* Added nested prefixedfileset element to <war>
|
|
|
|
|
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-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
|
|
|
|
2000-11-02 14:53:43 +00:00
|
|
|
* Changed <sql> task so that printing result sets works on Oracle
|
|
|
|
|
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 ...
|