Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 13037 invoked from network); 11 Feb 2009 22:20:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Feb 2009 22:20:28 -0000 Received: (qmail 28880 invoked by uid 500); 11 Feb 2009 22:20:27 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 28425 invoked by uid 500); 11 Feb 2009 22:20:26 -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 28415 invoked by uid 99); 11 Feb 2009 22:20:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 14:20:26 -0800 X-ASF-Spam-Status: No, hits=-1999.8 required=10.0 tests=ALL_TRUSTED,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 22:20:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9170E234C48B for ; Wed, 11 Feb 2009 14:19:59 -0800 (PST) Message-ID: <992480214.1234390799581.JavaMail.jira@brutus> Date: Wed, 11 Feb 2009 14:19:59 -0800 (PST) From: "Jarek Gawor (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-4251) Class-Path entry in WAR manifest didn't work if entry is a directory In-Reply-To: <354263800.1218786824479.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-4251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672806#action_12672806 ] Jarek Gawor commented on GERONIMO-4251: --------------------------------------- Ivan, The patch looks good to me but it would be good to have a test case for this first. Can you create and submit such test case? > Class-Path entry in WAR manifest didn't work if entry is a directory > -------------------------------------------------------------------- > > Key: GERONIMO-4251 > URL: https://issues.apache.org/jira/browse/GERONIMO-4251 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Affects Versions: 2.1, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.2 > Environment: Geronimo 2.1.2 on Windows XP > Reporter: Frank Meilinger > Assignee: Jarek Gawor > Fix For: 2.1.4, 2.2 > > Attachments: Geronimo-4251.patch, geronimo-deployment-2.2-SNAPSHOT.jar, my-ear-1.0-SNAPSHOT.ear > > > Hi, > it's not possible to define an Class-Path element in the WARs manifest, if it's a directory. I try to access jar files packed in the EARs lib/ directory from within a WAR module. > e.g. this will work: > Class-Path: a.jar b.jar > but this doesn't work: > Class-Path: lib/ > If a directory is specifyed, I receive the following error: > 15:20:13,170 ERROR [DirectoryHotDeployer] Unable to deploy: Manifest class path > entries must end with the .jar extension (J2EE 1.4 Section 8.2): module=../ > org.apache.geronimo.common.DeploymentException: Manifest class path entries must > end with the .jar extension (J2EE 1.4 Section 8.2): module=../ > at org.apache.geronimo.deployment.DeploymentContext.addManifestClassPath > (DeploymentContext.java:419) > ... > I think this is definitely an error because the JEE5 specification section 8.2.1 explicitely allows directories in manifest Class-Path entries. > See discussion: > http://www.nabble.com/EAR-bundle-dir-classpath-issue-tt18982334s134.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.