Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1556FC837 for ; Fri, 27 Apr 2012 15:11:43 +0000 (UTC) Received: (qmail 63941 invoked by uid 500); 27 Apr 2012 15:11:43 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 63896 invoked by uid 500); 27 Apr 2012 15:11: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 63867 invoked by uid 99); 27 Apr 2012 15:11:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2012 15:11:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2012 15:11:10 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A42DC42301D for ; Fri, 27 Apr 2012 15:10:48 +0000 (UTC) Date: Fri, 27 Apr 2012 15:10:48 +0000 (UTC) From: "Forrest Xia (JIRA)" To: dev@geronimo.apache.org Message-ID: <274196540.3181.1335539448673.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (GERONIMO-4974) ee apps or other plugins can't contain gbeans 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:comment-tabpanel&focusedCommentId=13263726#comment-13263726 ] Forrest Xia commented on GERONIMO-4974: --------------------------------------- I think this issue is resolved in 3.0-beta, isn't it? Can we close this jira? > 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. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira