Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 69675 invoked from network); 10 Feb 2005 21:11:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 10 Feb 2005 21:11:58 -0000 Received: (qmail 230 invoked by uid 500); 10 Feb 2005 21:11:58 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 99969 invoked by uid 500); 10 Feb 2005 21:11:57 -0000 Mailing-List: contact scm-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@geronimo.apache.org Delivered-To: mailing list scm@geronimo.apache.org Received: (qmail 99956 invoked by uid 99); 10 Feb 2005 21:11:57 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 10 Feb 2005 13:11:56 -0800 Received: (qmail 69654 invoked by uid 65534); 10 Feb 2005 21:11:55 -0000 Message-ID: <20050210211155.69653.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: svnmailer-1.0.0-dev Date: Thu, 10 Feb 2005 21:11:55 -0000 Subject: svn commit: r153289 - geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/deployment/Deployer.java To: scm@geronimo.apache.org From: dain@apache.org X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: dain Date: Thu Feb 10 13:11:54 2005 New Revision: 153289 URL: http://svn.apache.org/viewcvs?view=3Drev&rev=3D153289 Log: Log deployment exceptions at debug level, so they show up in the geronimo.l= og file. Modified: geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/deployme= nt/Deployer.java Modified: geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/de= ployment/Deployer.java URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/deployment/src/ja= va/org/apache/geronimo/deployment/Deployer.java?view=3Ddiff&r1=3D153288&r2= =3D153289 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/deployme= nt/Deployer.java (original) +++ geronimo/trunk/modules/deployment/src/java/org/apache/geronimo/deployme= nt/Deployer.java Thu Feb 10 13:11:54 2005 @@ -42,6 +42,8 @@ import org.apache.geronimo.kernel.config.InvalidConfigException; import org.apache.geronimo.common.DeploymentException; import org.apache.geronimo.system.main.CommandLineManifest; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; =20 /** * Command line based deployment utility which combines multiple deployabl= e modules @@ -50,6 +52,7 @@ * @version $Rev$ $Date$ */ public class Deployer { + private static final Log log =3D LogFactory.getLog(Deployer.class); private final Collection builders; private final ConfigurationStore store; =20 @@ -59,6 +62,7 @@ } =20 public List deploy(File moduleFile, File planFile) throws DeploymentEx= ception { + File originalModuleFile =3D moduleFile; File tmpDir =3D null; if (moduleFile !=3D null && !moduleFile.isDirectory()) { // todo jar url handling with Sun's VM on Windows leaves a loc= k on the module file preventing rebuilds @@ -79,6 +83,9 @@ =20 try { return deploy(planFile, moduleFile, null, true, null, null, nu= ll); + } catch (DeploymentException e) { + log.debug("Deployment failed: plan=3D" + planFile +", module= =3D" + originalModuleFile, e); + throw e; } finally { if (tmpDir !=3D null) { DeploymentUtil.recursiveDelete(tmpDir);