September 2000 Commit Log

Number of Commits:
101
Number of Active Developers:
3
bodewig 2000-09-29 15:51

- 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:

bodewig 2000-09-29 15:40

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:

bodewig 2000-09-29 15:28

- 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:

  • src/main/org/apache/tools/ant/taskdefs: Javac.java (+49 -16)
bodewig 2000-09-28 13:46

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:

bodewig 2000-09-28 13:44

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:

bodewig 2000-09-28 13:41

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:

bodewig 2000-09-27 15:58

Add a file attribute to echo to have a simple task that can create

files on the fly.

55 lines of code changed in:

bodewig 2000-09-27 15:08

Added a refid attribute to property.

Submitted by: Vincent Bergbauer <vincent_bergbauer@yahoo.com>

30 lines of code changed in:

bodewig 2000-09-27 09:00

Make sure the JDBC driver knows how to handle the URL.

5 lines of code changed in:

  • src/main/org/apache/tools/ant/taskdefs: SQLExec.java (+5)
bodewig 2000-09-27 08:12

Fixed typo that made the filtersfile attribute unusable.

Submitted by: Gero Vermaas <Gero.Vermaas@sun.com>

1 lines of code changed in:

  • src/main/org/apache/tools/ant/taskdefs: Filter.java (+1 -1)
bodewig 2000-09-27 07:42

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:

bodewig 2000-09-26 11:05

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:

bodewig 2000-09-26 07:18

Third try to fix a typo.

Submitted by: Nico Seessle <nico@seessle.de>

1 lines of code changed in:

bodewig 2000-09-25 14:46

Second try to fix a typo.

Submitted by: Nico Seessle <nico@seessle.de>

1 lines of code changed in:

bodewig 2000-09-25 14:39

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:

  • src/main/org/apache/tools/ant/taskdefs/optional/javacc: JavaCC.java (+35 -2)
bodewig 2000-09-25 14:35

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:

  • src/main/org/apache/tools/ant/taskdefs: Zip.java (+1 -1)
conor 2000-09-24 11:50

Include any inner classes in the generated Jar file.



Submitted by: Brian Towles <brian@towles.com>

49 lines of code changed in:

conor 2000-09-24 11:19

Allow filters to be set from a file.



Submitted by: Gero Vermaas <Gero.Vermaas@sun.com>

46 lines of code changed in:

  • src/main/org/apache/tools/ant/taskdefs: Filter.java (+46 -6)
conor 2000-09-24 09:31

Allow sql task to write results to a file.

Submitted by: Julian M. Savage <jsavage@fisci.com>

86 lines of code changed in:

  • src/main/org/apache/tools/ant/taskdefs: SQLExec.java (+86 -1)
conor 2000-09-24 09:00

Only print messages from exceptions which are non-null



Submitted by: Patrick Beard <beard@netscape.com>

4 lines of code changed in:

  • src/main/org/apache/tools/ant: Main.java (+4 -1)
conor 2000-09-24 08:52

Fix minor typo

Submitted by: Nico Seessle <nico@seessle.de>

1 lines of code changed in:

conor 2000-09-24 08:45

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:

conor 2000-09-21 09:00

Add the WLJspc task to the registered tasks

1 lines of code changed in:

bodewig 2000-09-21 08:46

Make <junit>s dir attribute work on JDK < 1.3

Reported by: Peter Nordlund <peter.nordlund@lentus.se>

1 lines of code changed in:

  • src/main/org/apache/tools/ant/taskdefs/optional/junit: JUnitTask.java (+1)
bodewig 2000-09-21 07:42

Cosmetic changes.

33 lines of code changed in:

bodewig 2000-09-21 07:19

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:

bodewig 2000-09-20 15:53

New task <native2ascii>.

279 lines of code changed in:

bodewig 2000-09-20 15:22

Didn't know JUnit had its own website.

2 lines of code changed in:

bodewig 2000-09-20 15:07

Improved output and error checking in <java>.

Submitted by: Diane Holt <holtdl@yahoo.com>

12 lines of code changed in:

  • src/main/org/apache/tools/ant/taskdefs: Java.java (+12 -3)
bodewig 2000-09-20 14:54

Make defaultlogger easier to extend.

Submitted by: <mcclain.looney@webhelp.com>

6 lines of code changed in:

bodewig 2000-09-20 14:49

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:

bodewig 2000-09-20 13:38

Added unittests for a bunch of tasks.

Submitted by: Nico Seessle <nico@seessle.de>

1297 lines of code changed in:

bodewig 2000-09-20 12:41

Formatter would close System.out (preventing further output)

18 lines of code changed in:

bodewig 2000-09-20 11:56

extdir attribute/nested element of <javac> was broken when using jikes.

PR: #137 (Bug #35)

1 lines of code changed in:

  • src/main/org/apache/tools/ant/taskdefs: Javac.java (+1 -1)
bodewig 2000-09-20 11:31

garbage again, sorry.

0 lines of code changed in:

bodewig 2000-09-20 11:31

<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:

bodewig 2000-09-20 11:13

Fixed a link.

Submitted by: Diane Holt <holtdl@yahoo.com>

1 lines of code changed in:

bodewig 2000-09-19 16:25

Added dir attribute to <junit> and documentation for the one of <java>.

32 lines of code changed in:

bodewig 2000-09-19 16:13

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:

bodewig 2000-09-19 14:29

Make <war> use the .war directory layout. Don't ask me where my mind

has been.

8 lines of code changed in:

bodewig 2000-09-19 09:09

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:

bodewig 2000-09-19 06:50

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:

  • src/main/org/apache/tools/ant/taskdefs: Javac.java (+4 -4)
bodewig 2000-09-18 15:38

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:

bodewig 2000-09-18 14:05

Removed some garbage.

0 lines of code changed in:

bodewig 2000-09-18 14:04

Allow tasks to be added at runtime and only fail if they cannot be

found at runtime.

270 lines of code changed in:

bodewig 2000-09-18 09:01

Treat OS/2 like Win NT with regard to <exec>'s dir attribute.

PR: #126 (Bug #33)

7 lines of code changed in:

  • src/main/org/apache/tools/ant/taskdefs: Execute.java (+7 -4)
bodewig 2000-09-18 08:50

Make filtering of the copy tasks work with leading @ characters.

PR: #129 (bug #32)

3 lines of code changed in:

bodewig 2000-09-18 07:55

Various checks for required attributes and better error messages added.

Submitted by: Nico Seessle <nico@seessle.de>

197 lines of code changed in:

bodewig 2000-09-18 07:50

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:

stefano 2000-09-17 00:07

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:

bodewig 2000-09-15 11:41

Updated WHATSNEW for <war> and <unwar>.

PR:

Obtained from:

Submitted by:

Reviewed by:

2 lines of code changed in:

bodewig 2000-09-15 11:41

New tasks <war> and <unwar>.

445 lines of code changed in:

bodewig 2000-09-15 07:37

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:

bodewig 2000-09-15 07:10

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:

  • src/main/org/apache/tools/ant/taskdefs: Javac.java (+2 -1)
bodewig 2000-09-15 06:55

Fixed message text when a class can not be found.

Submitted by: Nico Seessle <nico@seessle.de>

5 lines of code changed in:

bodewig 2000-09-14 14:13

Make <echo> accept #PCDATA.

16 lines of code changed in:

bodewig 2000-09-14 14:04

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:

bodewig 2000-09-14 13:36

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:

  • src/main/org/apache/tools/ant/taskdefs: Javadoc.java (+2 -1)
bodewig 2000-09-14 10:49

Added value attribute to <available>.

Submitted by: Glenn McAllister <glennm@ca.ibm.com>

15 lines of code changed in:

bodewig 2000-09-14 08:49

<junit> now works again as it did before tasks started to be

configured at runtime.

153 lines of code changed in:

bodewig 2000-09-14 08:13

Added usefile attribute to <formatter> to allow testoutput to be sent

to stdout instead of a file.

60 lines of code changed in:

bodewig 2000-09-14 07:19

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:

bodewig 2000-09-13 06:29

Updated Documentation on EJB tasks.

Submitted by: John Hall <jhall@solant.com>

125 lines of code changed in:

bodewig 2000-09-12 14:44

Removed some unused files and added a pointer to the mailing list

archive at covalent.net.

4 lines of code changed in:

conor 2000-09-12 12:28

Task to perform JSP compiles using Weblogic's JSPC compiler.



Submitted by: Avik.Sengupta@dresdner-bank.com

346 lines of code changed in:

  • src/main/org/apache/tools/ant/taskdefs/optional/jsp: WLJspc.java (new 346)
conor 2000-09-12 12:26

Allow commands to be reused by clearing their arguments

22 lines of code changed in:

bodewig 2000-09-11 13:08

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:

bodewig 2000-09-11 11:47

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:

bodewig 2000-09-11 11:11

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:

bodewig 2000-09-11 10:45

<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:

  • src/main/org/apache/tools/ant/taskdefs: Replace.java (+16 -7)
bodewig 2000-09-11 10:33

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:

  • src/main/org/apache/tools/ant/taskdefs: Cvs.java (+1 -1)
conor 2000-09-11 10:15

Add error reporting to copyfile and copydir.



Thanks to Diane Holt <holtdl@yahoo.com> for pointing that out.

25 lines of code changed in:

conor 2000-09-09 11:48

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:

bodewig 2000-09-08 15:40

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:

bodewig 2000-09-08 07:20

<project basedir=""> didn't work for absolute filenames.

Reported by: Gardner, David <david_gardner@mentorg.com>

6 lines of code changed in:

bodewig 2000-09-07 11:09

New task <fail> which does nothing but throw an exception.

Submitted by: Nico Seessle <nico@seessle.de>

118 lines of code changed in:

bodewig 2000-09-07 09:51

Removed <filesetref> and <patternsetref> everywhere, <fileset> and

<patternset> support the refid attribute directly instead.

686 lines of code changed in:

bodewig 2000-09-06 15:00

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:

bodewig 2000-09-06 14:17

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:

bodewig 2000-09-06 14:05

Removed all nested <classpathref> elements in favor of <classpath

refid="...">.

61 lines of code changed in:

bodewig 2000-09-06 12:03

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:

bodewig 2000-09-06 11:34

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:

conor 2000-09-06 11:18

Perl script to Invoke ant

Submitted by: Steve Loughran <steve_l@iseran.com>

8 lines of code changed in:

bodewig 2000-09-05 14:58

Javadoc's destDir attribute should now work again.

2 lines of code changed in:

  • src/main/org/apache/tools/ant/taskdefs: Javadoc.java (+2 -2)
bodewig 2000-09-05 14:42

Problems with the .bat files on Win98.

Submitted by: Glenn McAllister <glennm@ca.ibm.com>

14 lines of code changed in:

bodewig 2000-09-05 14:35

-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:

  • src/main/org/apache/tools/ant/taskdefs: Javadoc.java (+11 -4)
bodewig 2000-09-05 14:25

JDK 1.1 compatibility issue.

1 lines of code changed in:

  • src/main/org/apache/tools/ant/types: Path.java (+1 -1)
bodewig 2000-09-05 14:15

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:

bodewig 2000-09-05 12:32

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:

  • src/main/org/apache/tools/ant/taskdefs: Javadoc.java (+1 -1)
bodewig 2000-09-05 11:43

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:

bodewig 2000-09-05 08:53

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:

bodewig 2000-09-05 08:29

Corrected example in "Writing your own task" to use <taskdef> as a

child of <project> instead of <target>.

3 lines of code changed in:

bodewig 2000-09-05 07:11

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:

bodewig 2000-09-04 15:19

<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:

bodewig 2000-09-04 14:21

Use line.separator instead of hard coded \n.

Submitted by: Nico Seessle <nico@seessle.de>

6 lines of code changed in:

bodewig 2000-09-04 14:18

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:

bodewig 2000-09-04 14:06

Added support for jvc (Microsofts Java compiler) to <javac>.

Submitted by: Nico Seessle <nico@seessle.de>

59 lines of code changed in:

bodewig 2000-09-04 13:29

Reverting part of my last patch. This one slipped through somehow, too

early to go that far, sorry.

1 lines of code changed in:

  • src/main/org/apache/tools/ant/taskdefs: Property.java (+1 -1)
bodewig 2000-09-04 13:19

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:

bodewig 2000-09-04 12:20

Added infrastructure to create data types independent of tasks.

89 lines of code changed in:

bodewig 2000-09-04 11:18

Fixed some typos.

Submitted by: Steve Sonntag <VTAG@novell.com>

15 lines of code changed in:

August 2000 »

Generated by StatSVN 0.3.2-SNAPSHOT