Why not just do
<fail>this
Is
My
Message
</fail>
There's a bug that a missing 'message' attribute is printed as 'null' but
you can work around it with
<fail message="line1">
line2
line3
...
</fail>
L.
On 8/16/02 9:44 AM, "Riffe, Melvin" <[EMAIL PROTECTED]> wrote:
> hey vince,
>
> i've just started using this construct:
>
> <loadfile property="myMessage" srcFile="fail.message" />
> <fail message="${myMessage}" />
>
> i don't use '\n' or '\t' in the text; they're not translated but spaces and
> line breaks are preserved.
>
> HTH
>
> mel riffe
>
>
> -----Original Message-----
> From: Buonassisi, Vincent [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 16, 2002 9:04 AM
> To: '[EMAIL PROTECTED]'
> Subject: Fail task
>
>
> Hi,
>
> It would be nice if the task <fail> allowed the <echo> task as a nested
> task. But, since i can't have this how would i get a multiline message
> displayed using the <fail> task? is it possible to embed newlines (\n| and
> tabs (\t) in the message?
>
> thanks,
>
> vince
>
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
> **************************************************************************
> The information transmitted herewith is sensitive information intended only
> for use by the individual or entity to which it is addressed. If the reader
> of this message is not the intended recipient, you are hereby notified that
> any review, retransmission, dissemination, distribution, copying or other
> use of, or taking of any action in reliance upon this information is
> strictly prohibited. If you have received this communication in error,
> please contact the sender and delete the material from your computer.
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>