----- Original Message -----
From: "Dmitry A. Kuminov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 28, 2001 9:08 PM
Subject: Bug in Execute.java


> 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
we
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
and
an extra line-separator is added. I think that may be better for the moment
than loosing some lines.
--- Commit-Message ---

Nico

Attachment: description.patch
Description: Binary data

Reply via email to