Browse Source

Backdating "since" notices for #24918 (console input for <java fork="true">): 1.7 -> 1.6.3.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277998 13f79535-47bb-0310-9956-ffa450edef68
master
Jesse N. Glick 20 years ago
parent
commit
2bde11ddeb
5 changed files with 9 additions and 9 deletions
  1. +4
    -4
      WHATSNEW
  2. +1
    -1
      docs/manual/CoreTasks/java.html
  3. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java
  4. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Redirector.java
  5. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/StreamPumper.java

+ 4
- 4
WHATSNEW View File

@@ -36,10 +36,6 @@ Changes that could break older environments:
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 @@ Other changes:
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
- 1
docs/manual/CoreTasks/java.html View File

@@ -16,7 +16,7 @@ specified.</p>
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
- 1
src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java View File

@@ -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) {


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/Redirector.java View File

@@ -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;


+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/StreamPumper.java View File

@@ -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;


Loading…
Cancel
Save