From 2bde11ddeb1f251f5899a0722f8d5e17097db7c0 Mon Sep 17 00:00:00 2001 From: "Jesse N. Glick" Date: Wed, 16 Mar 2005 16:56:03 +0000 Subject: [PATCH] Backdating "since" notices for #24918 (console input for ): 1.7 -> 1.6.3. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277998 13f79535-47bb-0310-9956-ffa450edef68 --- WHATSNEW | 8 ++++---- docs/manual/CoreTasks/java.html | 2 +- .../org/apache/tools/ant/taskdefs/PumpStreamHandler.java | 2 +- src/main/org/apache/tools/ant/taskdefs/Redirector.java | 2 +- src/main/org/apache/tools/ant/taskdefs/StreamPumper.java | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/WHATSNEW b/WHATSNEW index 6ffe7e646..3906d21b6 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -36,10 +36,6 @@ Changes that could break older environments: Fixed bugs: ----------- -* Programs run with can now accept standard input - from the Ant console. (Programs run with 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 @@ Other changes: Fixed bugs: ----------- +* Programs run with can now accept standard input + from the Ant console. (Programs run with could + already do so.) Bugzilla 24918. + * AbstractCvsTask prematurely closed its outputStream and errorStream. Bugzilla 30097. diff --git a/docs/manual/CoreTasks/java.html b/docs/manual/CoreTasks/java.html index 7d2b4ed1b..d3de08adf 100644 --- a/docs/manual/CoreTasks/java.html +++ b/docs/manual/CoreTasks/java.html @@ -16,7 +16,7 @@ specified.

If odd things go wrong when you run this task, set fork="true" to use a new JVM. -

As of Ant 1.7, you can interact with a forked VM, as well as +

As of Ant 1.6.3, you can interact with a forked VM, as well as sending input to it via the input and inputstring attributes.

diff --git a/src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java b/src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java index 9c3c4a992..6beaf69ca 100644 --- a/src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java +++ b/src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java @@ -219,7 +219,7 @@ public class PumpStreamHandler implements ExecuteStreamHandler { /** * 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) { diff --git a/src/main/org/apache/tools/ant/taskdefs/Redirector.java b/src/main/org/apache/tools/ant/taskdefs/Redirector.java index 53c8f8391..fc561cf60 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Redirector.java +++ b/src/main/org/apache/tools/ant/taskdefs/Redirector.java @@ -231,7 +231,7 @@ public class Redirector { * 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; diff --git a/src/main/org/apache/tools/ant/taskdefs/StreamPumper.java b/src/main/org/apache/tools/ant/taskdefs/StreamPumper.java index dcc682a02..f21bfcb33 100644 --- a/src/main/org/apache/tools/ant/taskdefs/StreamPumper.java +++ b/src/main/org/apache/tools/ant/taskdefs/StreamPumper.java @@ -66,7 +66,7 @@ public class StreamPumper implements Runnable { /** * 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 @@ public class StreamPumper implements Runnable { * 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;