ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: Did concat change b/w 1.5.0 and 1.6.2?
Date Tue, 29 Aug 2006 20:51:15 GMT
--- robert@elastica.com wrote:

> 
> Looking at some differences b/w 1.5.0 and 1.6.2
> 
> specifically we had
> 
> <concat destfile="${_temp.file1}"
>        >_temp.path.1 =
> ${_path.project.root}</concat>
> 
> in 1.5.0 but with 1.6.2 it needs to be
> 
> <concat destfile="${_temp.file1}"
>        >_temp.path.1 = ${_path.project.root}
> </concat>
> 
> otherwise the newline doesn't make it into the file
> and
> a append based contact results in the same line
> rather 
> than the next line.

Looks like it was probably considered a bug fix. 
Actually, since the nested text feature of <concat> is
only documented in an example, it's arguable whether
any change in behavior is considered a break in
compatibility.

> 
> ....
> 
> Is this familiar to anybody?
> 
> Is there a better way to guarantee the newline?
> 

You could include ${line.separator} .

HTH,
Matt

> 
>
----------------------------------------------------------------
> This message was sent using IMP, the Internet
> Messaging Program.
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Mime
View raw message