jglick 2005/03/16 08:56:03 Modified: . WHATSNEW docs/manual/CoreTasks java.html src/main/org/apache/tools/ant/taskdefs PumpStreamHandler.java Redirector.java StreamPumper.java Log: Backdating "since" notices for #24918 (console input for <java fork="true">): 1.7 -> 1.6.3. Revision Changes Path 1.781 +4 -4 ant/WHATSNEW Index: WHATSNEW =================================================================== RCS file: /home/cvs/ant/WHATSNEW,v retrieving revision 1.780 retrieving revision 1.781 diff -u -r1.780 -r1.781 --- WHATSNEW 15 Mar 2005 13:35:28 -0000 1.780 +++ WHATSNEW 16 Mar 2005 16:56:03 -0000 1.781 @@ -36,10 +36,6 @@ Fixed bugs: ----------- -* Programs run with <java fork="true"> can now accept standard input - from the Ant console. (Programs run with <java fork="false"> could - already do so.) Bugzilla Report 24918. - * Translate task does not remove tokens when a key is not found. It logs a verbose message. Bugzilla Report 13936. @@ -283,6 +279,10 @@ Fixed bugs: ----------- +* Programs run with <java fork="true"> can now accept standard input + from the Ant console. (Programs run with <java fork="false"> could + already do so.) Bugzilla 24918. + * AbstractCvsTask prematurely closed its outputStream and errorStream. Bugzilla 30097. 1.40 +1 -1 ant/docs/manual/CoreTasks/java.html Index: java.html =================================================================== RCS file: /home/cvs/ant/docs/manual/CoreTasks/java.html,v retrieving revision 1.39 retrieving revision 1.40 diff -u -r1.39 -r1.40 --- java.html 14 Mar 2005 20:09:54 -0000 1.39 +++ java.html 16 Mar 2005 16:56:03 -0000 1.40 @@ -16,7 +16,7 @@ If odd things go wrong when you run this task, set fork="true" to use a new JVM. -<p>As of Ant 1.7, you can interact with a forked VM, as well as +<p>As of Ant 1.6.3, you can interact with a forked VM, as well as sending input to it via the <code>input</code> and <code>inputstring</code> attributes.</p> 1.23 +1 -1 ant/src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java Index: PumpStreamHandler.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- PumpStreamHandler.java 28 Jan 2005 11:22:12 -0000 1.22 +++ PumpStreamHandler.java 16 Mar 2005 16:56:03 -0000 1.23 @@ -219,7 +219,7 @@ /** * Creates a stream pumper to copy the given input stream to the * given output stream. Used for standard input. - * @since Ant 1.7 + * @since Ant 1.6.3 */ /*protected*/ StreamPumper createInputPump(InputStream is, OutputStream os, boolean closeWhenExhausted) { 1.27 +1 -1 ant/src/main/org/apache/tools/ant/taskdefs/Redirector.java Index: Redirector.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Redirector.java,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- Redirector.java 10 Feb 2005 22:32:20 -0000 1.26 +++ Redirector.java 16 Mar 2005 16:56:03 -0000 1.27 @@ -231,7 +231,7 @@ * Set a stream to use as input. * * @param inputStream the stream from which input will be read - * @since Ant 1.7 + * @since Ant 1.6.3 */ /*public*/ void setInputStream(InputStream inputStream) { this.inputStream = inputStream; 1.23 +2 -2 ant/src/main/org/apache/tools/ant/taskdefs/StreamPumper.java Index: StreamPumper.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/StreamPumper.java,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- StreamPumper.java 28 Jan 2005 10:15:34 -0000 1.22 +++ StreamPumper.java 16 Mar 2005 16:56:03 -0000 1.23 @@ -66,7 +66,7 @@ /** * Set whether data should be flushed through to the output stream. * @param autoflush if true, push through data; if false, let it be buffered - * @since Ant 1.7 + * @since Ant 1.6.3 */ /*public*/ void setAutoflush(boolean autoflush) { this.autoflush = autoflush; @@ -134,7 +134,7 @@ * Note that it may continue to block on the input stream * but it will really stop the thread as soon as it gets EOF * or any byte, and it will be marked as finished. - * @since Ant 1.7 + * @since Ant 1.6.3 */ /*public*/ synchronized void stop() { finished = true;
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]