From 89dda67cd73afdf954ed8d4e7c2ec9f409d125aa Mon Sep 17 00:00:00 2001
From: Matthew Jason Benson
Date: Thu, 22 Dec 2005 21:26:06 +0000
Subject: [PATCH] document GreedyInputHandler
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@358635 13f79535-47bb-0310-9956-ffa450edef68
---
WHATSNEW | 8 +++++---
docs/manual/inputhandler.html | 6 ++++++
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/WHATSNEW b/WHATSNEW
index e82519e8c..c409d7295 100644
--- a/WHATSNEW
+++ b/WHATSNEW
@@ -278,7 +278,7 @@ Other changes:
System.exit() call or a JVM crash.
* 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 that can be used to probe for the declaration
and implementation of a task, type, preset, macro, scriptdef, whatever.
@@ -289,7 +289,7 @@ Other changes:
* New condition that tests the return-code of an executable. This
contains platform-specific logic and is better than comparing the result with
- "0".
+ "0".
* Added initial support for Resource Collections, including the
resourcecount task.
@@ -329,7 +329,9 @@ Other changes:
* New task loadresource that accompanies loadfile for non file resources.
-* now supports an encoding when saving to a file
+* now supports an encoding when saving to a file.
+
+* new GreedyInputHandler added.
Changes from Ant 1.6.4 to Ant 1.6.5
===================================
diff --git a/docs/manual/inputhandler.html b/docs/manual/inputhandler.html
index ec32eead7..81ec652fe 100644
--- a/docs/manual/inputhandler.html
+++ b/docs/manual/inputhandler.html
@@ -72,6 +72,12 @@ be a Java system property, not an Ant property. I.e. you cannot
define it as a simple parameter to ant
, but you can
define it inside the ANT_OPTS
environment variable.
+GreedyInputHandler
+
+Like the default implementation, this InputHandler reads from standard
+input. However, it consumes all available input. This behavior is
+useful for sending Ant input via an OS pipe. Since Ant 1.7.
+
InputRequest
Instances of org.apache.tools.ant.input.InputRequest