Touch works somewhat like the Unix touch(1) command. It changes the
modification time of files and maybe creates a new file if the
requested one doesn't exist.
In JDK 1.1 only the creation of new files will work, all other cases
generate warning messages.
Expand and Untar reuse Touch to set the modification times of the
expanded files from the information inside the archive.
I had to make Task.setProject public to ease reuse.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267708 13f79535-47bb-0310-9956-ffa450edef68
Add section on system requirements
Remove references to xml.jar and replace with JAXP compliant XML parser
Add section on build events. Basic information only
Add an example of nested include and exclude tag usage
Update documentation for Replace task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267707 13f79535-47bb-0310-9956-ffa450edef68
This adds the ability to keep the patterns for inclusion/exclusion
separate from the buildfile - increasing the readability in some
difficult cases.
The code is based on the patch submitted by Aaron on 2000/05/24 with
some modifications.
Submitted by: Aaron Knauf <AaronK@geniesystems.com>
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267703 13f79535-47bb-0310-9956-ffa450edef68
This patch adds quiet and noexec attributes (for the -q and -n
switches) and a command attribute that specifies which CVS command to
execute.
The default command is "checkout" to remain compatible to the existing
behaviour.
Submitted by:
Wolfgang Werner [wwerner@picturesafe.de]
update by Stefan Bodewig [bodewig@bost.de]
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267680 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