ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Goktepe <andrewgokt...@gmail.com>
Subject Re: How to insert new line character in a string
Date Mon, 22 Aug 2005 17:07:02 GMT
Try setting eol="crlf":
 http://ant.apache.org/manual/CoreTasks/concat.html
 -Andrew

 On 8/22/05, Karunakar Chatla <karunakarc@cybage.com> wrote: 
> 
> 
> Hi,
> 
> I have following script where I am writing some text to file.
> I wanted each of the lines in seperate line in the file. It is writing to 
> the file but when I open the file(in windows) it shows me a special 
> character( a sqare).
> How can we avoid this?
> 
> <concat destfile="${soft.labels.path}\${soft-lable-win}">
> element * CHECKEDOUT
> time ${timerule}
> ${load.rules}
> </concat>
> 
> Thanks,
> Karunakar Chatla
> 
> 
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message