You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Rebhan, Gilbert" <Gi...@huk-coburg.de> on 2007/11/14 08:55:49 UTC

Extra LF with ?

Hi,

i need to fix the LF of a file before
sending it to a unix box.

<fixcrlf srcdir="Y:/crlf"
eol="lf" eof="remove" includes="*.*"/>



file before

key=value *CRLF*
key1=value *CRLF*

file after

key=value *LF*
key1=value *LF*
*LF*

so an extra blank line is put in by fixcrlf task,
also when using only the eol attribute without eof
why ?!

Is that intended like that ??


Regards,
Gilbert

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


RE: Extra LF with ?

Posted by "Rebhan, Gilbert" <Gi...@huk-coburg.de>.
 

Hi,

-----Original Message-----
From: Kev Jackson [mailto:foamdino@gmail.com] 
Sent: Wednesday, November 14, 2007 10:44 AM
To: Ant Users List
Subject: Re: Extra LF with <fixcrlf> ?

/*
Hi,

try setting the fixlast attribute to false

Kev
*/

yup, that's true by default, missed that.

Thanks!!

Regards, Gilbert

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


Re: Extra LF with ?

Posted by Kev Jackson <fo...@gmail.com>.
Hi,

try setting the fixlast attribute to false

Kev

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