antoine 2003/07/19 07:58:48 Modified: . WHATSNEW docs/manual/OptionalTasks translate.html Log: Document the preservation of lineendings in Translate Revision Changes Path 1.461 +2 -0 ant/WHATSNEW Index: WHATSNEW =================================================================== RCS file: /home/cvs/ant/WHATSNEW,v retrieving revision 1.460 retrieving revision 1.461 diff -u -r1.460 -r1.461 --- WHATSNEW 17 Jul 2003 12:37:53 -0000 1.460 +++ WHATSNEW 19 Jul 2003 14:58:48 -0000 1.461 @@ -56,6 +56,8 @@ * Output stored from a <java> or <exec> task is now exactly as generated. No conversion to platform end-of-line characters is performed. +* <translate> will now preserve line endings. + Fixed bugs: ----------- * Filter readers were not handling line endings properly. Bugzilla 1.6 +6 -2 ant/docs/manual/OptionalTasks/translate.html Index: translate.html =================================================================== RCS file: /home/cvs/ant/docs/manual/OptionalTasks/translate.html,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- translate.html 3 Feb 2002 22:09:09 -0000 1.5 +++ translate.html 19 Jul 2003 14:58:48 -0000 1.6 @@ -45,12 +45,16 @@ File encoding is supported. The encoding scheme of the source files, destination files and the bundle files can be specified. -Destination files can be exlicitly overwritten using the +Destination files can be explicitly overwritten using the <var>forceoverwrite</var> attribute. If <var>forceoverwrite</var> is false, the destination file is overwritten only if either the source file or any of the files that make up the bundle have been modified after the destination file was last modified. </p> +<p> +<em>New in Ant 1.6:</em><br/> +Line endings of source files are preserved in the translated files. +</p> <p><a href="../CoreTypes/fileset.html">FileSet</a>s are used to select files to translate. </p> @@ -157,7 +161,7 @@ </translate> </pre> <hr> -<p align="center">Copyright © 2001 Apache Software Foundation. All rights +<p align="center">Copyright © 2001-2003 Apache Software Foundation. All rights Reserved.</p> </body> </html>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]