While some (like chmod) are clearly Mac motivated, others (like Javac) are
fixes to bugs that can appear on any platform.
Submitted by: William Uther <will+ant@cs.cmu.edu>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267621 13f79535-47bb-0310-9956-ffa450edef68
Also fix two files to compile with the more strict Jikes compiler.
Submitted by: Sebastian Kanthak <sebastian.kanthak@muehlheim.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267619 13f79535-47bb-0310-9956-ffa450edef68
It can be used to add a short description of what the particular instance
of the task is doing - instead of/in addition to xml comments.
It can be usefull to display it if a task fails, and it's a good way to
document the file.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267618 13f79535-47bb-0310-9956-ffa450edef68
- 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
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
conditional inclusion/exclusion of paths based on the absence/presence
of specified classes in the class path.
If anybody has any better suggestions for the names of the attributes,
please let me know.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267610 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
* Use the month format in DSTAMP (mm is minutes)
* Use the 24-hour hour format in TSTAMP (otherwise, at 7pm the TSTAMP will
be 0700 instead of 1900).
Submitted by: Glenn Twiggs <Glenn_Twiggs@bmc.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267601 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
2) Correct Stefano's mailing address
3) Correct handling of escaped quotes in strings
4) Return exit code from the exec'd process as it may be useful
Submitted by: Michael Smith <michael@sneakerlabs.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267590 13f79535-47bb-0310-9956-ffa450edef68
tmpExcludes.addElement("**/"+tok.nextToken().trim()+"/**");
(currently found in org.apache.tools.ant.taskdefs.Copydir)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267589 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
BTW, Sam, my tests show the pumping threads
slow down the process to half of its original speed,
we should use a better method for this...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267575 13f79535-47bb-0310-9956-ffa450edef68