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
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
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
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
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
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
files of Ant (and optionally install them on the Jakarta web server) that
include the JAXP reference implementation JAR files ("jaxp.jar" and
"parser.jar") that are redistributable.
Prerequisites for the successful execution of this script are listed in
the comments. Because the script is intended to run from a "cron" job on
the Jakarta server, no Windows version is provided.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267662 13f79535-47bb-0310-9956-ffa450edef68
subtask. Apparently the base directory for Javadoc is set to the "outer"
Ant's base directory, instead of the "inner" one. This fix works around
that problem by relying on the (undocumented?) fact that the "basedir"
property is set automatically by Ant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267661 13f79535-47bb-0310-9956-ffa450edef68