ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Buonassisi, Vincent" <>
Subject RE: Fail task
Date Fri, 16 Aug 2002 14:04:35 GMT
yes, i thought of that.  but, i wanted to avoid having to read in a text
file.  i am converting a shell script to a build.xml file and i wanted to
reduce the number of build scripts that we have.


-----Original Message-----
From: Riffe, Melvin []
Sent: Friday, August 16, 2002 8:45 AM
To: 'Ant Users List'
Subject: RE: Fail task

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.


mel riffe

-----Original Message-----
From: Buonassisi, Vincent []
Sent: Friday, August 16, 2002 9:04 AM
To: ''
Subject: Fail task


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?



To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>
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:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message