You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Siamack Farshi <sf...@724.com> on 2002/04/29 18:28:50 UTC

new line in echo

Is there a way to force a new line in echo task
I tried the following, but it did not work.

<echo file="${logdir}/${logfile}" append="true">WmlDeviceAdapter
Failed\n</echo>

I do not want to do the following for the end of the line.

<echo file="${logdir}/${logfile}" append="true">WmlDeviceAdapter Failed
</echo>

thanks for the reply,




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: new line in echo

Posted by John Keyes <jb...@mac.com>.
Try:

<echo file="${logdir}/${logfile}" append="true">WmlDeviceAdapter
Failed&#10;</echo>

-John K

> <echo file="${logdir}/${logfile}" append="true">WmlDeviceAdapter Failed
> </echo>
> 
> thanks for the reply,
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>