From user-return-70967-apmail-ant-user-archive=ant.apache.org@ant.apache.org Thu Sep 30 18:54:14 2010 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 45761 invoked from network); 30 Sep 2010 18:54:13 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Sep 2010 18:54:13 -0000 Received: (qmail 9480 invoked by uid 500); 30 Sep 2010 18:54:13 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 9372 invoked by uid 500); 30 Sep 2010 18:54:12 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 9364 invoked by uid 99); 30 Sep 2010 18:54:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Sep 2010 18:54:12 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [68.142.199.94] (HELO web81102.mail.mud.yahoo.com) (68.142.199.94) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 30 Sep 2010 18:54:04 +0000 Received: (qmail 33542 invoked by uid 60001); 30 Sep 2010 18:53:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1285872823; bh=/hJvTKvFE+OvqdKlnbTfW3lDluuxzBG1gMH4nrwyF2o=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=b9YJdp7Oq3PMoJ5xpX/vbedtAJEsF/URWlnremorTPve6sRNbzW1WIUlVzH7KpIWkBOYrsp8hOpL4xkMuHMf0FhFEWERUZtMFwSy2XC8u8ZP0IM0iI7M2cHkT1M1CoPUe/KEABXNEXDZwTV2bubLzBIlbsOq5h1RAaL6kT18uHI= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=JsqbKkQ0FFhdOEN60hPqqYYeIe0IBvhOkTbF7MEUXHCPUiwPt2c4IVH5SJq4CG1GPUtrF5fu88V027d45sghHAC5vpTjsUCyY4sCaliFlRBScZ+ZgBh0gEqXHuvOT8iwIeNlblJXAMFiQYBWwwOfrlDOSx0CSDWu02vmvHG7MuQ=; Message-ID: <484102.32808.qm@web81102.mail.mud.yahoo.com> X-YMail-OSG: STQBk_4VM1lHXYDCn93UQFcHKRUG71xtaXwlgvMP3Z4ANsN Jy1WAN0rNOTMXi.WrFiynZb6nyDcnsNiYOAA.cTm1205N4bX74ncwS9mv8Ee j87ZJUSM0op_EIYyS4mL.Fvs6WhAND.J3Uy6K5vBV.EpIQMD9VBJQZ3Ws99D 2.TxjgYckhrcHcKCP.L6Cgk2.EjzoqME1XG1AVNvfQVw5GeoDuDFgMtUGCPt gho3BP9AYZ68ztNEZ_UgbMNhTv4lKKjNf5jYLOCjtllCSuvQxc3wbgRs4BJg xL7eCFidgScM6lQSEKXy6QJkhxyMHAA6auasHoMlccTSEjRlK5RwnJWo- Received: from [148.87.19.202] by web81102.mail.mud.yahoo.com via HTTP; Thu, 30 Sep 2010 11:53:42 PDT X-Mailer: YahooMailClassic/11.4.9 YahooMailWebService/0.8.105.279950 Date: Thu, 30 Sep 2010 11:53:42 -0700 (PDT) From: removeps-generic@yahoo.com Reply-To: removeps-generic@yahoo.com Subject: why is call stack not logged To: user@ant.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In Main.java they have try { try { runBuild(coreLoader); exitCode = 0; } catch (ExitStatusException ese) { exitCode = ese.getStatus(); if (exitCode != 0) { throw ese; } } } catch (BuildException be) { if (err != System.err) { printMessage(be); } } catch (Throwable exc) { exc.printStackTrace(); printMessage(exc); } finally { handleLogfile(); } exit(exitCode); It looks like when you catch a Throwable, then the call stack should be logged to stderr. But it is not logged normally, except if you use -verbose (maybe other flags too will cause it to be logged). --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org