ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Buonassisi, Vincent" <vbuon...@sprintspectrum.com>
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.

thanks,


-----Original Message-----
From: Riffe, Melvin [mailto:melvin.riffe@capitalone.com]
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:vbuona01@sprintspectrum.com]
Sent: Friday, August 16, 2002 9:04 AM
To: 'ant-user@jakarta.apache.org'
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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
 
**************************************************************************
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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message