Return-Path: Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 34968 invoked by uid 500); 4 Aug 2003 12:23:25 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 34957 invoked by uid 500); 4 Aug 2003 12:23:25 -0000 Received: (qmail 34953 invoked from network); 4 Aug 2003 12:23:24 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 4 Aug 2003 12:23:24 -0000 Received: (qmail 13307 invoked by uid 1146); 4 Aug 2003 12:23:26 -0000 Date: 4 Aug 2003 12:23:26 -0000 Message-ID: <20030804122326.13306.qmail@minotaur.apache.org> From: bodewig@apache.org To: ant-cvs@apache.org Subject: cvs commit: ant/src/main/org/apache/tools/ant Main.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N bodewig 2003/08/04 05:23:26 Modified: src/main/org/apache/tools/ant Main.java Log: Restore System.in, PR: 22066 Revision Changes Path 1.90 +2 -0 ant/src/main/org/apache/tools/ant/Main.java Index: Main.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/Main.java,v retrieving revision 1.89 retrieving revision 1.90 diff -u -r1.89 -r1.90 --- Main.java 18 Jul 2003 12:45:54 -0000 1.89 +++ Main.java 4 Aug 2003 12:23:26 -0000 1.90 @@ -603,6 +603,7 @@ PrintStream err = System.err; PrintStream out = System.out; + InputStream in = System.in; // use a system manager that prevents from System.exit() // only in JDK > 1.1 @@ -668,6 +669,7 @@ System.setOut(out); System.setErr(err); + System.setIn(in); } } catch (RuntimeException exc) { error = exc; --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org