Gert,
I'm concerned that the breaking change to the echo task could cause
problems for many people who use that task. Although we're having
problems with the echo task appending a newline character to the output,
it seems to me that that's not an entirely unreasonable thing for the
echo task to do - after all, that's what it currently does.
What we're really missing is the opposite of the loadfile task. Just as
loadfile transfers the contents of a text file to a property, we require
a task (savefile, say) that transfers the contents of a property to a
text file.
I'd be happy to submit a patch to implement this, and I urge you to
revert the breaking changes to the echo task, or at least make the new
functionality available in a non-breaking way (e.g. perhaps add a
skipNewline boolean property that defaults to false).
Chris
From: Gert Driesen [mailto:gert.drie...@telenet.be]
Sent: 21 June 2009 19:45
To: Paul Allington
Cc: nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] newline in echo
Hi Paul,
This issue is now fixed in CVS.
Together with the fix for #2807728, I introduced a breaking change for
<echo>:
we now default to the system's current ANSI code page when writing
message to a file.
I also added an encoding attribute, so you can easily set the encoding
back to UTF-8.
I've struggled for at least two hours to get a new nightly build
uploaded before I gave up L
I'll have to find another place to host our nightly builds, as I've
already lost too much of the little time I have with sf issues.
Gert
From: Paul Allington [mailto:paul.alling...@grantadesign.com]
Sent: woensdag 17 juni 2009 16:35
To: Gert Driesen
Subject: RE: [NAnt-users] newline in echo
Hello Gert
I have added a bug. The id is 2807728. How long do you think until a
fix for this becomes available?
Many thanks, Paul
From: Gert Driesen [mailto:gert.drie...@telenet.be]
Sent: 17 June 2009 15:28
To: Paul Allington; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] newline in echo
Hi Paul,
Please submit a bug report for this.
I'll then fix it asap.
Gert
From: Paul Allington <mailto:paul.alling...@grantadesign.com>
Sent: Wednesday, June 17, 2009 3:21 PM
To: nant-us...@lists.sourceforge.net.
Subject: [NAnt-users] newline in echo
Running <echo file="file.txt">This is my text</echo> seems to actually
output:
This is my text\n
-which is wrong, I didn't ask for a newline to appear at the end, and is
actually now causing problems. Is there a way to avoid this newline
appearing?
Paul
________________________________
------------------------------------------------------------------------
------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
________________________________
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users
Internal Virus Database is out of date.
Checked by AVG - www.avg.com
Version: 8.5.285 / Virus Database: 270.12.59/2165 - Release Date:
06/09/09 05:53:00
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users