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 CB34B6CE9 for ; Thu, 14 Jul 2011 01:16:23 +0000 (UTC) Received: (qmail 44680 invoked by uid 500); 14 Jul 2011 01:16:23 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 44534 invoked by uid 500); 14 Jul 2011 01:16:22 -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 44526 invoked by uid 99); 14 Jul 2011 01:16:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jul 2011 01:16:22 +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; Thu, 14 Jul 2011 01:16:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1162F565D8 for ; Thu, 14 Jul 2011 01:16:00 +0000 (UTC) Date: Thu, 14 Jul 2011 01:16:00 +0000 (UTC) From: "Yi Xiao (JIRA)" To: dev@geronimo.apache.org Message-ID: <697683806.12103.1310606160068.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <84046311.14369.1308305987647.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (GERONIMODEVTOOLS-759) Using the new APIs to manage the bundles status both in GEP and Server side MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13064996#comment-13064996 ] Yi Xiao commented on GERONIMODEVTOOLS-759: ------------------------------------------ I've reviewed the code, it's better and more concise than I did, thank you very much, Jarek. When I test the new feature, I find a problem that when restart the eclipse and modify the bundle's symbolic name or version, then publish the bundle to the server, the server would not remove the previous one! The root cause is when the eclipse restarts, the bundle Map's info is empty, so it could not get the cached bundle id and also the bundle's symbolic name or version has been changed, so it could not find the bundle id from server side by them, the bundle will be an isolated and never used one in server side. Maybe we still need persist the bundle map in GEP side, but just persist the bundle module id, symbolic name,version and the module's state(is removed or something else), the module state can be obtained by a resource changed listener as I patched before. What's your option? > Using the new APIs to manage the bundles status both in GEP and Server side > ---------------------------------------------------------------------------- > > Key: GERONIMODEVTOOLS-759 > URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-759 > Project: Geronimo-Devtools > Issue Type: Improvement > Components: eclipse-plugin > Affects Versions: 3.0 > Environment: WinXP sp3 32bit& Win7 64bit, Oracle JDK 1.6, Eclipse3.6SR1&SR2 > Reporter: Yi Xiao > Assignee: Jarek Gawor > Labels: OSGI, bundle > Fix For: 3.0 > > Attachments: OSGIBundleDeploy.patch, OSGIBundleDeploy_changeAPI.patch, OSGIBundleDeploy_changeAPI2_759.patch, OSGIBundleDeploy_changePOM_759.patch > > > This improvement depends on the server's modules, so, if the server side does not update timely, it may cause the GEP compile failure! -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira