You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Steve Cohen <sc...@javactivity.org> on 2006/11/01 03:46:46 UTC

Re: echo task documentation error

Dominique Devienne wrote:
>> > empty. If foo is empty by mistake, how will one troubleshoot this?
>> and not a blank line.  Undefined properties are echoed as literal 
>> text, not skipped.
> 
> I'm well aware of that ;-) That's why I wrote "empty", not "not
> defined". As in empty string vs null string.
> 
> The proper way to output a line separator is by using
> <echo>${line.separator}</echo>. That this doesn't work in Maven is a
> bug for Maven, not a "feature" of Ant.
> 
> AFAIK, *any* task output is prefixed by the task's name. A line
> separator is output in my book ;-) I fail to see why it would be good
> to make an exception for <echo/> somehow.
> 
> Go ahead and fix the "doc" bug if you want. Strictly speaking this is
> in keeping with BC; but this is yet another one of these little quirks
> Ant is full of. --DD
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 
> 
> 
I stand corrected, thanks.

I checked in the manual change.



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