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:10:54 GMT
On second glance, it looks like that only applies to the fixlastline 
attribute. 
 If you can't find any other solution, you could try the ugly way - put 
&#013;&#010; at the end of each line. I haven't tested this either.

 On 8/22/05, Andrew Goktepe <andrewgoktepe@gmail.com> wrote: 
> 
> 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