Conor MacNeill
32647e2835
Extend CVS Task functionality.
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
25 years ago
Arnout J. Kuiper
0fce1960af
Fix for Tar-time
Submitted by: Stefan Bodewig <bodewig@bost.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267679 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
2c8c53f98a
Make Delete a matchingTask
Submitted by: Tom Dimock <tad1@cornell.edu>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267678 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
b50848acba
Javadoc 1.2 multiple group support
Submitted by: Donald Leslie <Donald_Leslie@lotus.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267676 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
9662217bcd
log informational messages when classes are not available
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267675 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
049d4a294a
Make sure that properies from the command line and/or parent projects
override properties specified in the build.xml file.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267673 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Arnout J. Kuiper
95ffb1ce49
Two new tasks, untar & gunzip, to complement the tar & gzip.
Submitted by: Stefan Bodewig <stefan.bodewig@megabit.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267671 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Arnout J. Kuiper
320e41bc89
Fixed problem when an empty tag was supplied.
Submitted by: Jean-Noel Gadreau <jngadreau@activcard.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267670 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
07dbc9cafa
Support JDK 1.3 (a.k.a. "modern") compiler.
Submitted by: Robin Green <greenrd@hotmail.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267667 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Arnout J. Kuiper
d180ff4e65
Added a "compress" attribute to the Zip and Jar task.
Submitted by: Stefan Bodewig (bodewig@bost.de )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267665 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
James Duncan Davidson
b9c9d1a29c
Hack to make clear that Modern compiler isn't yet implemented. Of course,
a real solution is needed, but I didn't want to see any more unneeded
confusion over this.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267664 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Arnout J. Kuiper
1b5eae2230
Properly set the "ant.java.version" property.
Submitted by: Justyna Horwat
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267663 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
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
26 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
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
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
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
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
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
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
Sam Ruby
8d02bfc707
remove debugging code
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267606 13f79535-47bb-0310-9956-ffa450edef68
26 years ago
Sam Ruby
e0ad7527a0
don't rebuild zip/jar files if they are up to date already
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267605 13f79535-47bb-0310-9956-ffa450edef68
26 years ago