Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 41559 invoked from network); 1 Feb 2010 18:18:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Feb 2010 18:18:44 -0000 Received: (qmail 79952 invoked by uid 500); 1 Feb 2010 18:18:43 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 79881 invoked by uid 500); 1 Feb 2010 18:18:43 -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 79870 invoked by uid 99); 1 Feb 2010 18:18:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 18:18:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Mon, 01 Feb 2010 18:18:41 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 709DE29A0012 for ; Mon, 1 Feb 2010 10:18:19 -0800 (PST) Message-ID: <1234022259.1451265048299458.JavaMail.jira@brutus.apache.org> Date: Mon, 1 Feb 2010 18:18:19 +0000 (UTC) From: "Rick McGuire (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-4974) ee apps or other plugins can't contain gbeans In-Reply-To: <670459996.1259974823326.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-4974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick McGuire updated GERONIMO-4974: ----------------------------------- Issue Type: Sub-task (was: Bug) Parent: GERONIMO-5087 > ee apps or other plugins can't contain gbeans > --------------------------------------------- > > Key: GERONIMO-4974 > URL: https://issues.apache.org/jira/browse/GERONIMO-4974 > Project: Geronimo > Issue Type: Sub-task > Security Level: public(Regular issues) > Components: deployment, osgi > Affects Versions: 3.0 > Reporter: David Jencks > Fix For: 3.0 > > > right now the deployer adds packages it can detect as used in a gbean to the Import-Packages. However it never populares Export-Package. This causes problems if the class is actually in the plugin/bundle we are constructing. If a bundle contains a class, if it lists the package in Import-Package, it won't satisfy the constraint itself unless the package is also listed in Export-Package. > So, we need to make the deployer list all the packages contained in the bundle in Export-Package. This might be a challenge in case there are embedded jars and a complicated Bundle-Classpath. > For now the workaround appears to be to move any classes used in gbeans to another bundle rather than packing them in a javaee app. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.