Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 3959 invoked from network); 28 May 2010 18:50:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 May 2010 18:50:07 -0000 Received: (qmail 1149 invoked by uid 500); 28 May 2010 18:50:07 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 1119 invoked by uid 500); 28 May 2010 18:50:07 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 1112 invoked by uid 99); 28 May 2010 18:50:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 May 2010 18:50:07 +0000 X-ASF-Spam-Status: No, hits=-1447.8 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 May 2010 18:50:06 +0000 Received: from thor.apache.org (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4SInkO6012338 for ; Fri, 28 May 2010 18:49:46 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o4SInkTo012337; Fri, 28 May 2010 14:49:46 -0400 (EDT) Date: Fri, 28 May 2010 14:49:46 -0400 (EDT) Message-Id: <201005281849.o4SInkTo012337@thor.apache.org> From: bugzilla@apache.org To: notifications@ant.apache.org Subject: DO NOT REPLY [Bug 34461] problems with core task X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ant X-Bugzilla-Component: Documentation X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: troy.harris@sas.com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bodewig@apache.org X-Bugzilla-Target-Milestone: 1.8.0 X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 https://issues.apache.org/bugzilla/show_bug.cgi?id=34461 --- Comment #21 from troy.harris@sas.com 2010-05-28 14:49:33 EDT --- The FAQ entry states that this can be a problem with tasks as well. I am looking at the source for ant 1.7.0 and I can see the change that was made for Bug #24918 in the source for the task. It appears that I just need to comment out the following code in Java.java to remove the change: /* if (!spawn && input == null && inputString == null) { // #24918: send standard input to the process by default. redirector.setInputStream( new KeepAliveInputStream(getProject().getDefaultInputStream())); } */ Is the only change required to remove the functionality provided by Bug #24918? I don't see any such code in ExecTask.java, but the FAQ entry for the hang on StandradInput says this: "When Ant forks a new process for example by using the , or tasks, it will also start a new thread reading from standard input and sending everything that it has read to that process." What else is required to build 1.7.0 without the fixes to hookup standard in on these tasks? -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.