ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Murdoch" <adammurdoch...@yahoo.com>
Subject [PATCH] addConfigured in custom tasks; whitespace going missing
Date Sat, 15 Dec 2001 14:09:39 GMT

Hi,

A couple of tiny patches:

* addConfigured methods for custom tasks were being called twice.  This
problem was caused by RuntimeConfigurable.maybeConfigure() being called
twice on the task's RuntimeConfigurable - once in
UnknownElement.maybeConfigure(), and once in the custom task's perform()
method.

Changed UnknownElement.execute() to call execute() on the custom task,
rather than perform().

* Whitespace in text content was sometimes being thrown away, depending on
how the SAX parser decided to divide it across calls to
ContentHandler.characters().


Adam

Mime
View raw message