git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277998 13f79535-47bb-0310-9956-ffa450edef68master
@@ -36,10 +36,6 @@ Changes that could break older environments: | |||||
Fixed bugs: | 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. | * Translate task does not remove tokens when a key is not found. | ||||
It logs a verbose message. Bugzilla Report 13936. | It logs a verbose message. Bugzilla Report 13936. | ||||
@@ -283,6 +279,10 @@ Other changes: | |||||
Fixed bugs: | 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. | * AbstractCvsTask prematurely closed its outputStream and errorStream. | ||||
Bugzilla 30097. | Bugzilla 30097. | ||||
@@ -16,7 +16,7 @@ specified.</p> | |||||
If odd things go wrong when you run this task, set fork="true" to use a new | If odd things go wrong when you run this task, set fork="true" to use a new | ||||
JVM. | 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> | sending input to it via the <code>input</code> and <code>inputstring</code> | ||||
attributes.</p> | attributes.</p> | ||||
@@ -219,7 +219,7 @@ public class PumpStreamHandler implements ExecuteStreamHandler { | |||||
/** | /** | ||||
* Creates a stream pumper to copy the given input stream to the | * Creates a stream pumper to copy the given input stream to the | ||||
* given output stream. Used for standard input. | * given output stream. Used for standard input. | ||||
* @since Ant 1.7 | |||||
* @since Ant 1.6.3 | |||||
*/ | */ | ||||
/*protected*/ StreamPumper createInputPump(InputStream is, OutputStream os, | /*protected*/ StreamPumper createInputPump(InputStream is, OutputStream os, | ||||
boolean closeWhenExhausted) { | boolean closeWhenExhausted) { | ||||
@@ -231,7 +231,7 @@ public class Redirector { | |||||
* Set a stream to use as input. | * Set a stream to use as input. | ||||
* | * | ||||
* @param inputStream the stream from which input will be read | * @param inputStream the stream from which input will be read | ||||
* @since Ant 1.7 | |||||
* @since Ant 1.6.3 | |||||
*/ | */ | ||||
/*public*/ void setInputStream(InputStream inputStream) { | /*public*/ void setInputStream(InputStream inputStream) { | ||||
this.inputStream = inputStream; | this.inputStream = inputStream; | ||||
@@ -66,7 +66,7 @@ public class StreamPumper implements Runnable { | |||||
/** | /** | ||||
* Set whether data should be flushed through to the output stream. | * Set whether data should be flushed through to the output stream. | ||||
* @param autoflush if true, push through data; if false, let it be buffered | * @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) { | /*public*/ void setAutoflush(boolean autoflush) { | ||||
this.autoflush = autoflush; | this.autoflush = autoflush; | ||||
@@ -134,7 +134,7 @@ public class StreamPumper implements Runnable { | |||||
* Note that it may continue to block on the input stream | * Note that it may continue to block on the input stream | ||||
* but it will really stop the thread as soon as it gets EOF | * but it will really stop the thread as soon as it gets EOF | ||||
* or any byte, and it will be marked as finished. | * or any byte, and it will be marked as finished. | ||||
* @since Ant 1.7 | |||||
* @since Ant 1.6.3 | |||||
*/ | */ | ||||
/*public*/ synchronized void stop() { | /*public*/ synchronized void stop() { | ||||
finished = true; | finished = true; | ||||