Craig R. McClanahan
56d3c00da3
Make the src.dir property relative to the execution base directory without
a pseudo ${basedir} target (consistent with src.bin.dir).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267660 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
c08c5158ee
Added convenience for JDK 1.2+ users
Submitted by: Conor MacNeill <conor@m64.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267659 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
462279a7e4
Let's see if I get this right this time... thx Craig!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267658 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
a773e14e42
Cleanup things missed with JAXP/SAX 1.0 fixes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267657 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
fe4a5cb029
Support JAXP and SAX1.0
Submitted by: Matt Foemmel
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267656 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
James Duncan Davidson
6b3d8a0295
Initial checkin of core spec. There's still pieces that need to be filled
in that I know about. The big on is the task reflection stuff.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267655 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
299bd97429
Ant should not depend on tasks unless they are used.
PR: 217
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267651 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
1b4714d042
Now make it work with JDK1.2.2. Thanks Craig for bringing it to my
attention!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267650 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Sam Ruby
08789e9fda
Explicitly copy support files, in anticipation of this function being
removed from the javac task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267649 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Sam Ruby
9fd8da35d2
JavaDoc doesn't use basedir for sourcePath
PR: 61
Obtained from: will+ant@cs.cmu.edu
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267648 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Sam Ruby
9207ca8a59
Support UNC filenames (\\server\path\file) on Windows platforms
PR: 131
Submitted by: wolf.siberski@tui.de
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267647 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Sam Ruby
d3ee9a7555
<available file="name"> doesn't work
PR: 95
Submitted by: mdaniel@scdi.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267646 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Sam Ruby
4461e98f84
Restore the ability to define properties and taskdefs outside the scope
of any target.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267645 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Sam Ruby
888d09c107
Allow java classes to be called with no arguments
PR: 133
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267644 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Costin Manolache
e14600612c
Added "output" parameter to Ant - it will allow the redirection of output.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267643 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Sam Ruby
7f57b308d4
Documented optional tasks to my knowledge
Submitted by: dIon Gillard <dion@multitask.com.au>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267642 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Sam Ruby
7d169b4157
Add a rename task
Submitted by: Thomas Haas <thomas.haas@softwired-inc.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267641 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Sam Ruby
3549562783
fixed comments and error message
Submitted by: dIon Gillard <dion@multitask.com.au>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267640 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Sam Ruby
19515e5788
Add new tasks to the list...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267639 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Sam Ruby
945b6d36d1
Allow names to be used as id references
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267638 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Sam Ruby
e525cc224a
NetRexxC and supporting taskdefs.
NetRexxC 1.160 or higher needed (due to bugs in the way the compiler
handles error streams).
Note: I changed the package names and converted the calls from using
Introspection to directly calling the compiler.
Submitted by: dIon Gillard <dion@multitask.com.au>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267637 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Sam Ruby
e9f55d77d1
Added an *OPTIONAL* task which will allow a script, embedded or external,
to be executed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267636 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Sam Ruby
a15d6eedc8
Provide a reasonable message when only an exception is provided.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267635 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Jason Hunter
c7806a87fe
Stopped the script from blowing away the JAVA_HOME/JAVA/JAVAC/CLASSPATH values.
Without this fix it didn't work on my NT JDK 1.3b system. I've tested the
current script on JDK 1.3b and JDK 1.2 and it now respects JAVA_HOME.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267634 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
preston
580a0125de
Old bootstrap.bat did not work.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267633 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
James Duncan Davidson
98d8de794f
Initial checkin of Utah Design Guide.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267632 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Arnout J. Kuiper
f2471de482
Fixed copydir attributes in example.
Submitted by: Michael Smith <michael@sneakerlabs.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267630 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Arnout J. Kuiper
fd6adf10c6
Fixed examples for writing your own task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267629 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Sam Ruby
8428504db7
Allow subclasses to extend scanDir functionality
Submitted by: Jorgen Thelin <ant-dev@sw-technologies.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267628 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Sam Ruby
48d22bcece
Make attribute names in the documentation match the code
Submitted by: Fotis Jannidis <Fotis.Jannidis@lrz.uni-muenchen.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267627 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Stefano Mazzocchi
ef962a9a03
called "javadoc" directly to avoid classpath problems that bugged many cocoon devs (it didn't happen to me because was setting tools.jar in my autoexec.bat... now I have a clean classpath and everything works fine on both 1.2 and 1.1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267626 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
akv
efbabaf849
(Possibly temporary) Fix for getting Taskdef in build files to actually work.
Fixing this because watchdog is broken.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267625 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Sam Ruby
847348d801
Remove the portion of MatchingTask that duplicates logic present in
the Available task. This isn't Perl - we want only one clean way to
do things here.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267624 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Sam Ruby
30d8dc80a5
Remove special processing for init.
Tested with the latest versions of:
jakarta-ant
jakarta-tomcat
jakarta-tools
jakarta-watchdog
xml-xerces
xml-xalan
xml-cocoon
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267623 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Arnout J. Kuiper
6eca61f317
Removed references to old "init" task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267622 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Sam Ruby
f400b0cf33
First installment on \x/ill Uther's changes.
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
26 years ago
Sam Ruby
e3f9382295
Issue a warning if a java source is found to be modified in the future
relative to the clock on the current machine.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267620 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Sam Ruby
f7ac20202d
Emulate extdirs feature with Jikes compiler.
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
26 years ago
Costin Manolache
5a53146bbe
Added a new property to task: "description".
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
26 years ago
Sam Ruby
2787a0ad84
better backwards compatibility
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267617 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Costin Manolache
617c63c012
- Fixed ( workaround) Deltree - didn't worked on taz or any machine with
/home sym-linked.
- make sure basedir is exposed as a property.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267616 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Costin Manolache
e3dd337f59
- Get will try 3 times and has an option to ignore the errors
- 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
26 years ago
Costin Manolache
b50aeba8b7
Use createProperty instead of addProperty.
(Thanks Sam )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267614 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Sam Ruby
c4815378ef
Change design pattern for nested elements from "addBar" to "createBar"
based on a suggestion by Costin.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267613 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Costin Manolache
b7258ab797
- added "deep" properties to <ant> - you can now set properties for the
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
26 years ago
Sam Ruby
653124c46b
This is a simple patch which adds an attribute "classname" as an alias for
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
26 years ago
Sam Ruby
7f93c6c464
Accept include and exclude nested XML elements. Also allows for the
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
26 years ago
Sam Ruby
8de96cafd7
add support for nested properties
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267609 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Stefano Mazzocchi
08e4c1a818
updated filtering docs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267608 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Stefano Mazzocchi
764d1e985b
improved filtering granularity... now all tasks that use copyfile can turn filtering on and off on a task granularity level, useful to avoid binary corruption by filtering
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267607 13f79535-47bb-0310-9956-ffa450edef68
26 years ago