[ 
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

        

Reply via email to