If this attribute is set to true, a BuildException will be thrown
effectively ending the build process.
Suggested by: Sebastien Pierre <spierre@rational.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267743 13f79535-47bb-0310-9956-ffa450edef68
Suggested by: Michael B. Allen <Michael_B_Allen@ml.com>
Submitted by: Vitaly Stulsky <vitaly_stulsky@yahoo.com>
Modified by: James Sieben <EUSJASI@am1.ericsson.se>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267742 13f79535-47bb-0310-9956-ffa450edef68
This patch removes the concept of currentTarget and currentTask from the
BuildEvents code. To facilitate this I have moved logging to the task
level which now passes a task pointer to the project's log method.
Task level logging may also allow for more fine grained control of logging
in the future.
I have left the Project's log methods public to allow people's custom
tasks to continue to work. In the future these can become private.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267740 13f79535-47bb-0310-9956-ffa450edef68
These can either be specified as path strings or nested elements. The path
strings use the same separator conventions as other paths in Ant.
When using nested elements, each component can be specified in a separate
<src> element.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267739 13f79535-47bb-0310-9956-ffa450edef68
Generating messages. Generating messages are set to a priority
of VERBOSE unless they appear after what could be an
informational message.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267738 13f79535-47bb-0310-9956-ffa450edef68
This consists of four tasks - (documentation is coming)
ddcreator - converts deployment descriptors form text description to .ser files
ejbc - wrapper around weblogic ejbc compiler
wlrun - a task to run a weblogic server
wlstop - a task to stop a weblogic server
The last two tasks are most useful when they can be run asynchronously (also coming).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267736 13f79535-47bb-0310-9956-ffa450edef68
I have changed the patch as submitted to treat the docletpath as a classpath rather
than a file.
Submitted by: Ernst de Haan <ernst@jollem.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267729 13f79535-47bb-0310-9956-ffa450edef68
- Moved the remaining System.out
calls to the DefaultLogger
- Cleaned up the default output
- Added System.exit to main()
tools can still invoke the runBuild
method without an exit being called.
- Changed javac task logging to stream out a line at a time
Submitted by: Matt Foemmel <mpfoemme@ThoughtWorks.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267725 13f79535-47bb-0310-9956-ffa450edef68
Ant now builds ant.jar in the build area. A separate 'install' target copies
it into ant.home.
Bootstrap has been updated to perform this install step.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267724 13f79535-47bb-0310-9956-ffa450edef68
Touch works somewhat like the Unix touch(1) command. It changes the
modification time of files and maybe creates a new file if the
requested one doesn't exist.
In JDK 1.1 only the creation of new files will work, all other cases
generate warning messages.
Expand and Untar reuse Touch to set the modification times of the
expanded files from the information inside the archive.
I had to make Task.setProject public to ease reuse.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267708 13f79535-47bb-0310-9956-ffa450edef68
Add section on system requirements
Remove references to xml.jar and replace with JAXP compliant XML parser
Add section on build events. Basic information only
Add an example of nested include and exclude tag usage
Update documentation for Replace task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267707 13f79535-47bb-0310-9956-ffa450edef68
This adds the ability to keep the patterns for inclusion/exclusion
separate from the buildfile - increasing the readability in some
difficult cases.
The code is based on the patch submitted by Aaron on 2000/05/24 with
some modifications.
Submitted by: Aaron Knauf <AaronK@geniesystems.com>
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267703 13f79535-47bb-0310-9956-ffa450edef68
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