- build.xml - small changes to allow build from a different directory
( usefull for nightly, which is broken )
- set ant.file == the ant file that is executing ( we also set ant.home
to the home of ant )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267615 13f79535-47bb-0310-9956-ffa450edef68
called antfile
- build.xml: read ~/.ant.properties if exist, it will allow override of local
properties ( you don't have to type -Dfoo=bar each time you run ant )
- changed dist.dir to ant.dist.dir ( to allow users to set the destinations
per project in ant.properties )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267612 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
Added the "if" attribute to Target that executes it if and only if the property specified in the attribute is set
There might be better ways of doing it and don't consider this carved in stone, but it works, it's simple and vital for Cocoon.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267599 13f79535-47bb-0310-9956-ffa450edef68
extend Task or have any ideea that Ant will use them.
The only requirement is to have a
void execute() throws Exception
That allows Tomcat ( and other projects) to define normal Beans and still
be able to script them.
The usage is identical with normal Task-extending Beans.
Also fixed bootstrap.sh.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267576 13f79535-47bb-0310-9956-ffa450edef68
Project: prints the os as well as jdk version
taskdefs.Exec: Fixed issues with Win95
Submitted by: Ludovic Claude <lc@websitewatchers.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267560 13f79535-47bb-0310-9956-ffa450edef68