felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sahoo (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-2451) Felix uses System.out to print debug messages related to resolver...
Date Wed, 07 Jul 2010 04:52:49 GMT

    [ https://issues.apache.org/jira/browse/FELIX-2451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885827#action_12885827
] 

Sahoo commented on FELIX-2451:
------------------------------

I found the content of the message useful, so my preference would be to have it as a debug
level message. Of course, I would still like the message to be modified to make it look like
an intermediate step in resolution process. 

> Felix uses System.out to print debug messages related to resolver...
> --------------------------------------------------------------------
>
>                 Key: FELIX-2451
>                 URL: https://issues.apache.org/jira/browse/FELIX-2451
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-3.0.0
>            Reporter: Sahoo
>            Assignee: Richard S. Hall
>             Fix For: framework-3.2.0
>
>
> Felix prints message like this using System.out.println...
> RE: org.apache.felix.framework.resolver.ResolveException: Constraint violation for package
'javax.xml.bind.attachment' when resolving module 154.0 between existing import 0.javax.xml.bind.attachment
BLAMED ON [[154.0] package; (package=javax.xml.bind.attachment)] and uses constraint 227.0.javax.xml.bind.attachment
BLAMED ON [[154.0] package; (package=com.sun.xml.bind.v2.model.runtime), [178.0] package;
(&(package=javax.xml.bind.annotation.adapters)(version>=2.2.1)), [227.0] package; (&(package=javax.xml.bind)(version>=2.2.1)),
[227.0] package; (&(package=javax.xml.bind.attachment)(version>=2.2.1))]
> It should use a logger with an appropriate  log level so that user has a choice to see
such debug message. I wish I could convince Richard to change the message in some way to indicate
that this message does not mean the resolver could not resolve the bundle, rather this is
an intermediate message and resolver may continue to find a consistent class space for the
bundle. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message