ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <>
Subject [PATCH] Bug in Description (was: Re: Bug in
Date Tue, 28 Aug 2001 21:33:06 GMT
----- Original Message -----
From: "Dmitry A. Kuminov" <>
To: <>
Sent: Tuesday, August 28, 2001 9:08 PM
Subject: Bug in

> P.S. I've found that the <description> datatype under the scope the of the
<project> tag does not
> work correctly, i.e. in the case of multiline description defined in
buildfile only the last line
> is shown by the '-projecthelp' Ant's command line switch. Does this bug
present under other
> OSes/Java versions?

You are right. This happens for me too, if I use the Crimson-parser
(included in the distro). If I use Xalan all is well.

What do you (and the other commiters) think of the following? I'm not 100%
sure if I'm right.

--- Commit-Message ---
An ugly fix (but didn't want to do big changes right before the release (if
really should do such a change at all)) to allow multi-line Descriptions (as
given in the Example for the description-datatype).

If something is configured directly (not thru RuntimeConfigurable) text is
converted to String on a line-by-line basis (when using crimson) and
line-separators get cut off. If xerces is used text is passed in complete
an extra line-separator is added. I think that may be better for the moment
than loosing some lines.
--- Commit-Message ---


View raw message