- Add new attributes onerror= (continue, stop, abort) to <sql>
- Add new nested element <transaction> to <sql> which allows executing
multiple transactions, multiple files on the same connection.
- Added documentation on sql.html
- Modified AntClassLoader.java to send most of the "loading class..."
messages to MSG_DEBUG instead of MSG_VERBOSE. So that it does not
cluter debugging other tasks.
- Add new attributes 'rdbms="product"' and 'version="release"'
if those versions do not match what is returned by the connection, the
task will be skipped.
Submitted by: Jose Alberto Fernandez <JFernandez@viquity.com>
281 lines of code changed in:
Enable redirecting either the output or error or both from a cvs command to a file.
Example usage:
<target name="diff">
<cvs command="diff" output="patch.txt"/>
</target>
Submitted by: Julian M. Savage <jsavage@fisci.com>
108 lines of code changed in:
- Javac.getCompileClasspath(true) adds the correct runtime Zip files when
running in the MS VM. It adds ${java.home}/packages/*.zip instead of
${java.home}/lib/classes.zip
- Javac.doClassicCompile() uses introspection to invoke the classic
compiler. This allows Javac.java to be compiled under a non-Sun JDK.
- Added location to the BuildExceptions thrown by javac.
Submitted by: Adam Murdoch <adammurdoch@yahoo.com>
made some methods protected to make Javac easier to extend.
49 lines of code changed in:
Documentation for the JavaCC task, changed the location where the
generated file will be placed if no directory has been specified.
Submitted by: Adam Murdoch <adammurdoch@yahoo.com>
15 lines of code changed in:
Make Execute work for arguments containing spaces under JDK 1.1 under
Windows (where Runtime.exec() doesn't quote them properly).
Submitted by: Adam Murdoch <adammurdoch@yahoo.com>
350 lines of code changed in:
Class.forName("") throws an IllegalArgumentException instead of
ClassNotFoundException in JDK 1.1. Make available behavior consistent
by ignoring empty classname attributes.
4 lines of code changed in:
Add a file attribute to echo to have a simple task that can create
files on the fly.
55 lines of code changed in:
Added a refid attribute to property.
Submitted by: Vincent Bergbauer <vincent_bergbauer@yahoo.com>
30 lines of code changed in:
Make sure the JDBC driver knows how to handle the URL.
5 lines of code changed in:
Fixed typo that made the filtersfile attribute unusable.
Submitted by: Gero Vermaas <Gero.Vermaas@sun.com>
1 lines of code changed in:
Allow the driver for <sql> to be loaded from a different CLASSPATH.
Submitted by: Julian M. Savage <jsavage@fisci.com>
128 lines of code changed in:
Loading tasks from a ClassLoader other than the default one now works
on JDK 1.1 as well.
Added org.apache.tools.ant to the list of packages that need to be
loaded via the system class loader as the loaded class wouldn't be an
instance of Task (loaded by default loader) otherwise.
18 lines of code changed in:
Third try to fix a typo.
Submitted by: Nico Seessle <nico@seessle.de>
1 lines of code changed in:
Second try to fix a typo.
Submitted by: Nico Seessle <nico@seessle.de>
1 lines of code changed in:
Make JavaCC use the correct path when checking whether the generated
files are up to date.
Submitted by: Adam Murdoch <adammurdoch@yahoo.com>
35 lines of code changed in:
Allow sub classes of Zip to hold their own filesets and not tell Zip
about it.
This one enables War to build .war files without content included in
extra filesets.
1 lines of code changed in:
Include any inner classes in the generated Jar file.
Submitted by: Brian Towles <brian@towles.com>
49 lines of code changed in:
Allow filters to be set from a file.
Submitted by: Gero Vermaas <Gero.Vermaas@sun.com>
46 lines of code changed in:
Allow sql task to write results to a file.
Submitted by: Julian M. Savage <jsavage@fisci.com>
86 lines of code changed in:
Only print messages from exceptions which are non-null
Submitted by: Patrick Beard <beard@netscape.com>
4 lines of code changed in:
Fix minor typo
Submitted by: Nico Seessle <nico@seessle.de>
1 lines of code changed in:
Documentation update
- Put UpToDate in the correct sort-order
- Added docs for antcall-task
- Added docs for mail-task (copied from javadoc's)
- Removed <b></b> and colons from <h3>Parameters:</h3> and
<h3><b>Description:</b></h3>
- Removed 'illegal' high ASCII-Values from the file to make MS IE and
Homesite (CSE HTML Validator) happy
Added Nico as an author :-)
Submitted by: Nico Seessle <nico@seessle.de>
128 lines of code changed in:
Add the WLJspc task to the registered tasks
1 lines of code changed in:
Make <junit>s dir attribute work on JDK < 1.3
Reported by: Peter Nordlund <peter.nordlund@lentus.se>
1 lines of code changed in:
Cosmetic changes.
33 lines of code changed in:
Make the handling of nested #PCDATA more predictable by not stripping
anything. The older version depended upon the parser (does it invoke
characters once per #PCDATA section or once per line).
27 lines of code changed in:
New task <native2ascii>.
279 lines of code changed in:
Didn't know JUnit had its own website.
2 lines of code changed in:
Improved output and error checking in <java>.
Submitted by: Diane Holt <holtdl@yahoo.com>
12 lines of code changed in:
Make defaultlogger easier to extend.
Submitted by: <mcclain.looney@webhelp.com>
6 lines of code changed in:
New task <uptodate> that set's a property if a given target file is
newer than a given set of source files.
I've taken the freedom to merge ideas submitted by William and Hiroaki
and to throw in some of my own.
Submitted by: William Ferguson <williamf@mincom.com>,
Hiroaki Nakamura <hnakamur@mc.neweb.ne.jp>
204 lines of code changed in:
Added unittests for a bunch of tasks.
Submitted by: Nico Seessle <nico@seessle.de>
1297 lines of code changed in:
Formatter would close System.out (preventing further output)
18 lines of code changed in:
extdir attribute/nested element of <javac> was broken when using jikes.
PR: #137 (Bug #35)
1 lines of code changed in:
garbage again, sorry.
0 lines of code changed in:
<ant> now copies the definitions of data types to the child project as
well.
Reported by: Jose Alberto Fernandez <JFernandez@viquity.com>
<ant> now checks it isn't calling the target it is nested into.
Submitted by: Nico Seessle <nico@seessle.de>
25 lines of code changed in:
Fixed a link.
Submitted by: Diane Holt <holtdl@yahoo.com>
1 lines of code changed in:
Added dir attribute to <junit> and documentation for the one of <java>.
32 lines of code changed in:
Added verbose and depend attributes to <javac> along with yet another
undocumented magic property (YAUMP?) build.compiler.fulldepend that
triggers Jikes' +F option.
Submitted by: Sean Brandt <sean@fuzzymagic.com>
57 lines of code changed in:
Make <war> use the .war directory layout. Don't ask me where my mind
has been.
8 lines of code changed in:
Ant will now scan for build.xml in the parent directory (directories)
as well.
Added -debug and Project.MSG_DEBUG to make -verbose less verbose. Many
messages really rather belong into a DEBUG category.
Submitted by: Jason Dillon <jason@planet57.com>
110 lines of code changed in:
Put the PATH obtained from extdirs between bootclasspath and
userclasspath when using jikes or jvc to make them match javac's
behavior.
Submitted by: Robert Krueger <krueger@signal7.de>
4 lines of code changed in:
Only set location in BuildException if the task didn't provide it
before.
This will give the correct location for errors in build files invoked
via the <ant> task.
4 lines of code changed in:
Removed some garbage.
0 lines of code changed in:
Allow tasks to be added at runtime and only fail if they cannot be
found at runtime.
270 lines of code changed in:
Treat OS/2 like Win NT with regard to <exec>'s dir attribute.
PR: #126 (Bug #33)
7 lines of code changed in:
Make filtering of the copy tasks work with leading @ characters.
PR: #129 (bug #32)
3 lines of code changed in:
Various checks for required attributes and better error messages added.
Submitted by: Nico Seessle <nico@seessle.de>
197 lines of code changed in:
Fixed situation where Class.getClassLoader returns null for the
bootstrap class loader - JDK 1.1.7 on Linux for example.
8 lines of code changed in:
Updated this task so that you can have <classpath> inside that tells the Available where to look for classes and resources. It is completely back compatible so should cause any harm to anybody.
39 lines of code changed in:
Updated WHATSNEW for <war> and <unwar>.
PR:
Obtained from:
Submitted by:
Reviewed by:
2 lines of code changed in:
New tasks <war> and <unwar>.
445 lines of code changed in:
Adapt <ant> to the fact that <property> does its work in execute() and
not in init() now.
Make Microsoft's tools happy by not using "delegate" as a variable
name.
Improve handling of <ant>'s antfile attribute. This should work for
absolute paths now.
16 lines of code changed in:
When using the temporary file to hold the source file names (in jikes
compilation on Windows) Ant included the command itself as well as all
arguments as source files.
PR: #74 (linked to bug #31)
Submitted by: Nico Seessle <nico@seessle.de>
2 lines of code changed in:
Fixed message text when a class can not be found.
Submitted by: Nico Seessle <nico@seessle.de>
5 lines of code changed in:
Make <echo> accept #PCDATA.
16 lines of code changed in:
Provide the SAXParser with the File instead of an InputSource to give
it a chance to parse relative URIs.
PR: 54
Submitted by: Achim Dannecker <A.Dannecker@gmx.de>
3 lines of code changed in:
Make <javadoc> ignore .java files in directories containing a "-".
You cannot have a package name with a "-" in it anyway so these files
are something different. In my case I had example files in the
.../doc-files directory and javadoc died because I've used the same
classname (Example) in several places.
2 lines of code changed in:
Added value attribute to <available>.
Submitted by: Glenn McAllister <glennm@ca.ibm.com>
15 lines of code changed in:
<junit> now works again as it did before tasks started to be
configured at runtime.
153 lines of code changed in:
Added usefile attribute to <formatter> to allow testoutput to be sent
to stdout instead of a file.
60 lines of code changed in:
Moved ${} expansion and task evaluation to runtime.
This has a lot of consequences, most notably those listed in
WHATSNEW. This also affects the behavior of several other tasks like
<available> who will now do their job at runtime instead of parser
time as well.
I've changed the version number in build.xml to reflect this bigger
change.
291 lines of code changed in:
Updated Documentation on EJB tasks.
Submitted by: John Hall <jhall@solant.com>
125 lines of code changed in:
Removed some unused files and added a pointer to the mailing list
archive at covalent.net.
4 lines of code changed in:
Task to perform JSP compiles using Weblogic's JSPC compiler.
Submitted by: Avik.Sengupta@dresdner-bank.com
346 lines of code changed in:
Allow commands to be reused by clearing their arguments
22 lines of code changed in:
Changed -projecthelp to show targets that have a description before
the other targets.
Submitted by: Marcel Schutte <marcel@schutte.com>
71 lines of code changed in:
New task <jlink>.
Many thanks to Patrick C. Beard <beard@netscape.com> for allowing his
original jlink code to be placed under the Apache Software License.
Submitted by: Matthew Kuperus Heun <matthew.k.heun@gaerospace.com>
797 lines of code changed in:
Fixed broken link to <execon>. Reinstated alphabetical order of
built-in tasks.
Submitted by: Diane Holt <holtdl@yahoo.com>
99 lines of code changed in:
<replace> shouldn't change the timestamp of files if it doesn't
actually replace anything.
Submitted by: Scotte Zinn <szinn@patronix.com>
16 lines of code changed in:
CVS wouldn't work if you used the command attribute to specify
additional arguments (like "update -d -P").
Reported by: Roger Bj?revall <roger.bjarevall@ideit.com>
1 lines of code changed in:
Add error reporting to copyfile and copydir.
Thanks to Diane Holt <holtdl@yahoo.com> for pointing that out.
25 lines of code changed in:
Changes to EJBJar task
Make the descriptordir attribute optional. If it is not there, then it
will default to the original functionality by looking srcdir.
Added an optional basejarname attribute. If this exists, then there is
no need to prefix your descriptors with the jar name. If it is not
used, then it will default to using the original naming convention.
Added a optional weblogicdtd attribute for the location of
the weblogic DTD file. If this is not there, then the original
functionality will be executed (uses the classpath resource
/weblogic/ejb/deployment/xml/ejb-jar.dtd as the location of the
dtd file).
Added a weblogictoplink element to the ejbjar task. This
subtask allows you to build TOPLink for WebLogic enabled ejb jar
files. This subclasses the weblogic element so it uses the same
attributes with
the following additions:
toplinkdescriptor - this is the name of the xml file to be used by
(required) TOPLINK/ejbc. This does not require the
naming prefix as the naming standard
(suggested by The ObjectPeople/WebGain) for
these files is incompatible with the current
naming convention of the ejbjar task.
toplinkdtd - the location of the TOPLink DTD file. If this
(optional) is not provided, the web address is used
(Unfortunately, this cannot be picked up like
the weblogic DTD)
Submitted by: John Hall <jhall@solant.com>
300 lines of code changed in:
Change the order parts are added to the CLASSPATH in bootstrap scripts.
PR: Bug 24, Bug Report 75
Submitted by: Mason J Warner <mjw@novanews.com>
3 lines of code changed in:
<project basedir=""> didn't work for absolute filenames.
Reported by: Gardner, David <david_gardner@mentorg.com>
6 lines of code changed in:
New task <fail> which does nothing but throw an exception.
Submitted by: Nico Seessle <nico@seessle.de>
118 lines of code changed in:
Removed <filesetref> and <patternsetref> everywhere, <fileset> and
<patternset> support the refid attribute directly instead.
686 lines of code changed in:
Make the description attribute of Task accesible to build files
(that's what it has been intended for I guess). Add the one for Target
to <anstructure>.
6 lines of code changed in:
Allow an arbitrary number of arguments to be passed to Ant - even on Win98.
Submitted by: Glenn McAllister <glennm@ca.ibm.com>
19 lines of code changed in:
Removed all nested <classpathref> elements in favor of <classpath
refid="...">.
61 lines of code changed in:
Added a type attribute to <execon> and <chmod>. It can take the values
"file", "dir" and "both" and deteremines, whether the task should work
on plain files only (the default), directories only or both.
Suggested by: Peter Donald <donaldp@mad.scientist.com>,
Kitching Simon <Simon.Kitching@orange.ch>
50 lines of code changed in:
If the output has not been redirected (via -logfile) write error
messages to stderr instead of stdout.
Suggested by: Peter Nordlund <peter.nordlund@lentus.se>
34 lines of code changed in:
Perl script to Invoke ant
Submitted by: Steve Loughran <steve_l@iseran.com>
8 lines of code changed in:
Javadoc's destDir attribute should now work again.
2 lines of code changed in:
Problems with the .bat files on Win98.
Submitted by: Glenn McAllister <glennm@ca.ibm.com>
14 lines of code changed in:
-d is not an option of javadoc in 1.2 but of the standard doclet.
Submitted by: Glenn McAllister <glennm@ca.ibm.com>
11 lines of code changed in:
JDK 1.1 compatibility issue.
1 lines of code changed in:
Add a nested <path> element to <path>. This means one path can include
another path (by reference as well as literally, although I doubt the
latter is of any use). Circular references should be caught.
Suggested by: Barrie Treloar <Barrie.Treloar@camtech.com.au>
249 lines of code changed in:
Avoid StringIndexOutOfBoundsException when .java files were found
directly inside one of the source directories (classes in the default
package).
1 lines of code changed in:
filtering would fail if the number of @ was an uneven number.
Reported by: Stover, Michael <Michael.Stover@usa.xerox.com>
6 lines of code changed in:
Added support for data types to be defined at the project level. The
currently implemented data types are <path>, <fileset> and
<patternset>.
126 lines of code changed in:
Corrected example in "Writing your own task" to use <taskdef> as a
child of <project> instead of <target>.
3 lines of code changed in:
Correctly handle the case where one of the defaults.properties files
cannot be found.
Submitted by: Nico Seessle <nico@seessle.de>
6 lines of code changed in:
<javadoc> and <patch> would fail if the execute method was called more
than once on the same instance of the class. This is why the second
<javadoc> in the nightly builds ("ant dist install") failed.
50 lines of code changed in:
Use line.separator instead of hard coded \n.
Submitted by: Nico Seessle <nico@seessle.de>
6 lines of code changed in:
Added encoding attribute to <javac>.
Submitted by: Hiroaki Nakamura <hnakamur@mc.neweb.ne.jp>,
Eric VanLydegraf <ericv@kinzan.com>
22 lines of code changed in:
Added support for jvc (Microsofts Java compiler) to <javac>.
Submitted by: Nico Seessle <nico@seessle.de>
59 lines of code changed in:
Reverting part of my last patch. This one slipped through somehow, too
early to go that far, sorry.
1 lines of code changed in:
Make <taskdef> and <property> do their job in execute instead of
init. Call execute on tasks living outside of <target>s at parser time.
7 lines of code changed in:
Added infrastructure to create data types independent of tasks.
89 lines of code changed in:
Fixed some typos.
Submitted by: Steve Sonntag <VTAG@novell.com>
15 lines of code changed in: