Return-Path: X-Original-To: apmail-ant-notifications-archive@minotaur.apache.org Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 81BC09220 for ; Thu, 21 Jun 2012 15:08:21 +0000 (UTC) Received: (qmail 17123 invoked by uid 500); 21 Jun 2012 15:08:21 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 17091 invoked by uid 500); 21 Jun 2012 15:08:21 -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 17083 invoked by uid 99); 21 Jun 2012 15:08:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jun 2012 15:08:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jun 2012 15:08:19 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id 62AFC57CE; Thu, 21 Jun 2012 15:07:58 +0000 (UTC) From: bugzilla@apache.org To: notifications@ant.apache.org Subject: [Bug 53449] Exec task output is truncated Date: Thu, 21 Jun 2012 15:07:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ant X-Bugzilla-Component: Core tasks X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ryan.dyer@hp.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: notifications@ant.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 https://issues.apache.org/bugzilla/show_bug.cgi?id=53449 --- Comment #1 from ryan.dyer@hp.com --- I am running into a problem where exec is truncating the output of the command being issued when directing it to an output property. This does not occur 100% of the time, but it is occurring fairly often. Below is an example of the exec task I am performing : the rpm.spec file is just your standard RPM spec file for one of our products. I don't know if the problem is with exec itself or with some combination of exec and sed. I have also seen this problem when using exec of sh and args of find and sed to create a file. In all the instances where I have seen this fail, sed is present, but I don't believe we have any cases of using exec where sed is not present that could potentially fail to begin with. I have worked around this problem by using echo to have ant create a temporary script file containing the thing I want done, and then execing it without any problems. -- You are receiving this mail because: You are the assignee for the bug.