You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2010/07/06 17:15:50 UTC

[jira] Commented: (FELIX-2451) Felix uses System.out to print debug messages related to resolver...

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

Richard S. Hall commented on FELIX-2451:
----------------------------------------

Looking at this more closely, I see that I never really intended to print those messages in the first place, they were just debugging messages while I implemented the algorithm and I forgot to remove them. So, I could remove them completely, since it is not clear how worthwhile they will be to the average person. Hard to say, since they could provide some hints.

> 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.