You could also try ${line.separator}

See:
http://ant.apache.org/manual/CoreTasks/property.html
http://ant.apache.org/manual/using.html#built-in-props
http://java.sun.com/j2se/1.3/docs/api/java/lang/ System.html#getProperties()

On Aug 22, 2005, at 1:10 PM, Andrew Goktepe wrote:

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

 at the end of each line. I haven't tested this either.

 On 8/22/05, Andrew Goktepe <[EMAIL PROTECTED]> wrote:


Try setting eol="crlf":
 http://ant.apache.org/manual/CoreTasks/concat.html
 -Andrew

 On 8/22/05, Karunakar Chatla <[EMAIL PROTECTED]> 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







Reply via email to