Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 48898 invoked from network); 10 Jun 2010 13:33:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Jun 2010 13:33:25 -0000 Received: (qmail 43282 invoked by uid 500); 10 Jun 2010 13:33:25 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 43110 invoked by uid 500); 10 Jun 2010 13:33:25 -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 43101 invoked by uid 99); 10 Jun 2010 13:33:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jun 2010 13:33:25 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of heavy@ungoverned.org designates 67.222.54.6 as permitted sender) Received: from [67.222.54.6] (HELO cpoproxy3-pub.bluehost.com) (67.222.54.6) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 10 Jun 2010 13:33:17 +0000 Received: (qmail 18128 invoked by uid 0); 10 Jun 2010 13:32:56 -0000 Received: from unknown (HELO host118.hostmonster.com) (74.220.207.118) by cpoproxy3.bluehost.com with SMTP; 10 Jun 2010 13:32:56 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=ungoverned.org; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-Identified-User; b=RqwGzPcpkeZxL35iVTTljEzbEb/hMuxIBE5Jeqdkz9/CmAJp0r/gFBojK8BFEkUt5b2wBryvI2AmU3sKZUGB4B9QZmrgeaDmZIzXC/RCUoxLbLn6Zn1WIIvdTa30cszk; Received: from [75.40.232.19] (helo=[192.168.1.71]) by host118.hostmonster.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OMhsO-0000F0-6V; Thu, 10 Jun 2010 07:32:56 -0600 Message-ID: <4C10E986.9000006@ungoverned.org> Date: Thu, 10 Jun 2010 09:32:54 -0400 From: "Richard S. Hall" User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.10) Gecko/20100512 Lightning/1.0b1 Thunderbird/3.0.5 MIME-Version: 1.0 To: Thomas Diesler CC: dev@felix.apache.org, bgeorges@redhat.com Subject: Re: Apache Felix Resolver integration References: <4C109AF9.3030108@jboss.com> In-Reply-To: <4C109AF9.3030108@jboss.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Identified-User: {1027:host118.hostmonster.com:ungovern:ungoverned.org} {sentby:smtp auth 75.40.232.19 authed with heavy@ungoverned.org} X-Virus-Checked: Checked by ClamAV on apache.org On 6/10/10 3:57, Thomas Diesler wrote: > Hi Folks, > > The JBossOSGi Framework now sucessfully integrates the Felix Resolver. > > The code for the resolver integration is here > > http://github.com/jbosgi/jbosgi-framework/tree/master/resolver/src/main/java/org/jboss/osgi/framework/resolver > > By design, this module does not have a dependency on the jboss > framework. Instead it extends the felix resolver API to cleanup and > provide the necessary extension points for an arbitary framework to > integrate with the felix resolver. > > Unfortunately, some changes to the felix resolver API were necessary > to remove dependencies on felix framework internals. > > I made those changes to the jbosg320 branch > on the > felix-framework git-svn mirror > . (You can click on > the blue dots to see the content of the individual commits) > > Ideally, and over time those abstract classes in > org.jboss.osgi.framework.resolver would bubble up to the felix code > base and felix would provide a standalone resolver maven artifact that > is independent of the felix framework (I could help with that if needed) > Good news that you were able to do it. As I've mentioned to you previously, the API for the resolver was not completed for the 3.0 framework release, which is why our JIRA issue for moving it to a separate module was pushed back to 3.2. However, that's still the goal, to make it completely separate. It looks like most of your changes relate to the precise issue that I mentioned to you that needs to be fixed, which is how the resolver deals with fragments. So, in that regard it is good, because assuming I can fix it the way that I envision it, then it should resolve your issue for the most part. The reason you are seeing impl dependencies is because FelixResolverState _is_ part of the framework impl, only the stuff in the resolver package is part of the resolver. But this leads to the crux of the issue, since FelixResolverState is needed to handle fragments. Hopefully, we can fix that. Thanks for your feedback. -> richard > more ... > https://community.jboss.org/thread/152983?tstart=0 > > cheers > -thomas > > > -- > xxxxxxxxxxxxxxxxxxxxxxxxxxxx > Thomas Diesler > JBoss OSGi Lead > JBoss, a division of Red Hat > xxxxxxxxxxxxxxxxxxxxxxxxxxxx