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.

thanks,


-----Original Message-----
From: Riffe, Melvin [mailto:[EMAIL PROTECTED]]
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.

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]>

Reply via email to