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 D7D037D1D for ; Fri, 19 Aug 2011 06:32:12 +0000 (UTC) Received: (qmail 76498 invoked by uid 500); 19 Aug 2011 06:32:11 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 76017 invoked by uid 500); 19 Aug 2011 06:31:54 -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 76009 invoked by uid 99); 19 Aug 2011 06:31:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Aug 2011 06:31:50 +0000 X-ASF-Spam-Status: No, hits=-2001.1 required=5.0 tests=ALL_TRUSTED,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, 19 Aug 2011 06:31:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id AA9A5C4834 for ; Fri, 19 Aug 2011 06:31:27 +0000 (UTC) Date: Fri, 19 Aug 2011 06:31:27 +0000 (UTC) From: "Han Hong Fang (JIRA)" To: dev@geronimo.apache.org Message-ID: <1057185613.52196.1313735487695.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1409312669.43362.1302254075028.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (GERONIMODEVTOOLS-735) More user friendly message when deploying OSGi application 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-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13087571#comment-13087571 ] Han Hong Fang commented on GERONIMODEVTOOLS-735: ------------------------------------------------ Just tried the patch, and two comments: 1. The solution closely depends on the message format of getDeploymentStatus().getMessage(). It extracts the first caused by statement, and the display info on dialog is exactly the same info from the message (same content and same format controlled by "\n"). 2. In "(&(symbolicname=TestBundle1)(version>=1.0.0))", symbol "&" disappears in dialog content (by checking the details section, "&" shows there.). I don't figure out a better solution so far, but I believe there will be one. > More user friendly message when deploying OSGi application > ---------------------------------------------------------- > > Key: GERONIMODEVTOOLS-735 > URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-735 > Project: Geronimo-Devtools > Issue Type: Improvement > Components: eclipse-plugin > Affects Versions: 3.0_M1 > Reporter: Han Hong Fang > Fix For: 3.0-M2, 3.0 > > Attachments: moreFriendlyMessage_735.patch, screenshot-1.jpg > > > When OSGi application project doesn't contain OSGi bundle, or specified contained bundle can not be resolved at deployment time, more user friendly message which clearly points out the problem would be more nice that throw the DeploymentException. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira