the "class" attribute in various taskdefs. This is required for use under
JDK 1.3 (RC1) due to changes in the way introspection works. Don't know
about the final version of 1.3 but changing to "classname" is probably a
good idea in any case. By leaving the setClass method in place, current
build files can continue to be used under JDKs prior to 1.3. It also allows
time for build files to be migrated. Eventually setClass should be removed.
Note: I added a deprecation warning to the output whenever the class
attribute is used.
Submitted by: Conor MacNeill <conor@m64.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267611 13f79535-47bb-0310-9956-ffa450edef68
1) restructured Project and Task: copyFile should be a project
method rather than a task method for good OO patterns. Well,
actually they should be target-granular but we'll see.
2) patched all the necessary files to make the above work
3) removed some unused methods (setAttributes())
4) added the Filter task that addes token filtering capabilities
to all the copyFile operations. This works more or less as a
superstructure to Replace and KeySubst but automatically and
inherited by all the tasks that use copyFile() methods.
5) indicated KeySubst as deprecated
6) updated docs to reflect this new behavior
NOTE: behavior is _totally_ back compatible if you don't
specify any <filter> tag.
NOTE2: nothing is carved in stone. If you don't like something
you're welcome to propose fixes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267604 13f79535-47bb-0310-9956-ffa450edef68