Browse Source

document GreedyInputHandler

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@358635 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 19 years ago
parent
commit
89dda67cd7
2 changed files with 11 additions and 3 deletions
  1. +5
    -3
      WHATSNEW
  2. +6
    -0
      docs/manual/inputhandler.html

+ 5
- 3
WHATSNEW View File

@@ -278,7 +278,7 @@ Other changes:
System.exit() call or a JVM crash. System.exit() call or a JVM crash.


* project name is now used for *all* targets so one can write consistent import * project name is now used for *all* targets so one can write consistent import
build file. bugzilla report 28444.
build files. Bugzilla report 28444.


* New condition <typefound> that can be used to probe for the declaration * New condition <typefound> that can be used to probe for the declaration
and implementation of a task, type, preset, macro, scriptdef, whatever. and implementation of a task, type, preset, macro, scriptdef, whatever.
@@ -289,7 +289,7 @@ Other changes:


* New condition <isfailure> that tests the return-code of an executable. This * New condition <isfailure> that tests the return-code of an executable. This
contains platform-specific logic and is better than comparing the result with contains platform-specific logic and is better than comparing the result with
"0".
"0".


* Added initial support for Resource Collections, including the * Added initial support for Resource Collections, including the
resourcecount task. resourcecount task.
@@ -329,7 +329,9 @@ Other changes:


* New task loadresource that accompanies loadfile for non file resources. * New task loadresource that accompanies loadfile for non file resources.


* <echo> now supports an encoding when saving to a file
* <echo> now supports an encoding when saving to a file.

* new GreedyInputHandler added.


Changes from Ant 1.6.4 to Ant 1.6.5 Changes from Ant 1.6.4 to Ant 1.6.5
=================================== ===================================


+ 6
- 0
docs/manual/inputhandler.html View File

@@ -72,6 +72,12 @@ be a Java system property, not an Ant property. I.e. you cannot
define it as a simple parameter to <code>ant</code>, but you can define it as a simple parameter to <code>ant</code>, but you can
define it inside the <code>ANT_OPTS</code> environment variable.</p> define it inside the <code>ANT_OPTS</code> environment variable.</p>


<h3>GreedyInputHandler</h3>

<p>Like the default implementation, this InputHandler reads from standard
input. However, it consumes <i>all</i> available input. This behavior is
useful for sending Ant input via an OS pipe. <b>Since Ant 1.7</b>.</p>

<h2>InputRequest</h2> <h2>InputRequest</h2>


<p>Instances of <code>org.apache.tools.ant.input.InputRequest</code> <p>Instances of <code>org.apache.tools.ant.input.InputRequest</code>


Loading…
Cancel
Save