Conor MacNeill
3d1eba05e4
Deprecate the implicit copying of support files by Javac.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267700 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
003b013e23
Make <replace> a matching task
This is based on the concept in the patch submitted by Charles Tewksbury
although the implementation details are a little different.
Submitted by: Charles Tewksbury <tewks@adhesive.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267699 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
948ce9bca7
Remove System.exit calls.
These have been replaced by propagating BuildExceptions. This will allow ant
to be more easily used from GUIs, IDEs, etc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267698 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
b8678d9774
Fix handling of $$ in properties
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267697 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
4d68f55377
Fix typo in netrexxc optional task
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267696 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
965dcd92c7
Update NetRexxC task to new build events system
PR:
Obtained from:
Submitted by: Matt Foemmel <mpfoemme@ThoughtWorks.com>
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267695 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
1ba5087df4
Add BuildEvents to Ant
The basic idea is to keep the core build engine "clean" and free of any
presentation logic, and to make it easier to extend Ant with other features
without cluttering up the core. To do this, I've defined a BuildListener
interface and added an "addBuildListener" method to Project that can be
used to register listener objects. Listeners could be implemented to
generate reports, send out emails when the build is complete, create a
bill of materials, etc...
The only new functionality visible to the end-user is a "-listener" option
on the command line that will let you specify the name of a class. An
instance of this class will be added as a listener to the project. I've
included a listener that will generate an XML log file, which you can use
by typing the command below.
build -listener org.apache.tools.ant.XmlLogger
PR:
Obtained from:
Submitted by: Matt Foemmel <mpfoemme@ThoughtWorks.com>
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267694 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Jason Hunter
d5bfb5609d
Added MailMessage. Hope people don't mind that I left it in
com.oreilly.servlet. I did that since it's going to be a mirror
of what's in the larger com.oreilly.servlet package. I put
it under the Apache license of course, and added the ASF as an
additional copyright holder. Code can have two copyright holders,
meaning either party can do as they wish with the code. This lets
the ASF upgrade to Apache License 1.2 sometime in the future, and
lets me be able to use the code without thanking the ASF for code
I wrote. :-) Updated build.xml to handle the new package.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267693 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
d507d57df1
Fine tune startup (handle liaison being present but processor not in
classpath)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267692 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
08efe2fdd4
Now, commit something that works...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267691 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
32495c7f82
Add an XSLT (style) task. Based on code from Assaf Arkin.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267690 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
c7f9557b5f
Added date attribute to CVS task.
Submitted by: Steven_Yelton@adware.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267689 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
2b68afe917
Several contributed documentation updates. New task patch.
Submitted by: Gary Murphy <jakarta@hilbertinc.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267688 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
e4181e32ab
Improved error messages if srcdir doesn't exist.
Submitted by: Peter Nordlund <peter.nordlund@lentus.se>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267687 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
a3288a923a
Fix typo. Thanks Conor!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267685 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
39d7abbb4d
Add a test which will compile and load a task definition.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267683 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
4f8bb2ee77
Better reporting of errors when JAXP not present.
Catch NoClassDefFoundError as well as NullPointerException and
emit a more meaningful error message.
Change BuildException to accept Errors as well as Exceptions
as cause.
Submitted by: Stefan Bodewig <bodewig@bost.de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267682 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
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