Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 97049 invoked from network); 27 Feb 2006 09:51:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Feb 2006 09:51:17 -0000 Received: (qmail 24491 invoked by uid 500); 27 Feb 2006 09:51:05 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 24329 invoked by uid 500); 27 Feb 2006 09:51:04 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 24318 invoked by uid 99); 27 Feb 2006 09:51:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Feb 2006 01:51:04 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of eljotpl@gmail.com designates 66.249.82.202 as permitted sender) Received: from [66.249.82.202] (HELO xproxy.gmail.com) (66.249.82.202) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Feb 2006 01:51:02 -0800 Received: by xproxy.gmail.com with SMTP id i30so542539wxd for ; Mon, 27 Feb 2006 01:50:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FFc63iImU5l/i4uslrGHXy6Uwl7jmU5DUpZJTtYeZEOCKATMtGvVxGNSRo+RIJSHXUbnAs2wcn8RY66loIeVdqFuAI18EER1cx5vXzrCYLhjkzqLcVBitVEyVAypBudzgb8mJMKDqk4gNMWcKDAUTDhz6sKsi+Sg8Y1OC6wg+FQ= Received: by 10.70.54.20 with SMTP id c20mr175192wxa; Mon, 27 Feb 2006 01:50:41 -0800 (PST) Received: by 10.70.90.12 with HTTP; Mon, 27 Feb 2006 01:50:41 -0800 (PST) Message-ID: <1b5bfeb50602270150u329a0e21u@mail.gmail.com> Date: Mon, 27 Feb 2006 10:50:41 +0100 From: "Jacek Laskowski" To: dev@geronimo.apache.org Subject: Re: Need exception to be chained in deployment commands In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 2006/2/27, Prasad Kashyap : > In the directory, > geronimo\modules\deploy-jsr88\src\java\org\apache\geronimo\deployment\plu= gin\local\ > > StartCommand.run() > CommandSupport.doFail() > > both trap exceptions and print out their stacktraces. Since the > exception doesn't bubble up, I'm unable to use them in a mojo. Well, I won't help you much, but what about creating a JIRA issue so that it won't slip our attention? Others would surely benefit from it, too as the task is easier to follow. > I didn't want to mess with these files without talking to it's > creator/custodian. Why not? It's an open source project and anybody can step up and change whatever they think is appropriate. The issue is whether or not it's committed, but that's another story ;) > Would they please advise how they want me to handle this ? I'd also > like to channel their output to the printstream of my choice for > logging purposes. I think you can do it with commons-logging we're using very easily. So, provided the exception is logged, you can route it to whatever output stream you wish. > Prasad Jacek -- Jacek Laskowski http://www.laskowski.org.pl