Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 29988 invoked from network); 6 Jul 2010 15:23:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Jul 2010 15:23:45 -0000 Received: (qmail 18530 invoked by uid 500); 6 Jul 2010 15:23:45 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 18209 invoked by uid 500); 6 Jul 2010 15:23:44 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 18201 invoked by uid 99); 6 Jul 2010 15:23:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jul 2010 15:23:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jul 2010 15:23:41 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o66FFo8H018156 for ; Tue, 6 Jul 2010 15:15:50 GMT Message-ID: <3015598.216471278429350553.JavaMail.jira@thor> Date: Tue, 6 Jul 2010 11:15:50 -0400 (EDT) From: "Richard S. Hall (JIRA)" To: dev@felix.apache.org Subject: [jira] Commented: (FELIX-2451) Felix uses System.out to print debug messages related to resolver... In-Reply-To: <28836730.82301277694649364.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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.