From dev-return-36615-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Sun Jan 16 13:36:47 2011 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 77210 invoked from network); 16 Jan 2011 13:36:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Jan 2011 13:36:46 -0000 Received: (qmail 31380 invoked by uid 500); 16 Jan 2011 13:36:46 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 31246 invoked by uid 500); 16 Jan 2011 13:36:45 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 31239 invoked by uid 99); 16 Jan 2011 13:36:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Jan 2011 13:36:44 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of akarasulu@gmail.com designates 209.85.216.50 as permitted sender) Received: from [209.85.216.50] (HELO mail-qw0-f50.google.com) (209.85.216.50) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Jan 2011 13:36:38 +0000 Received: by qwd6 with SMTP id 6so4101443qwd.37 for ; Sun, 16 Jan 2011 05:36:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=MJqE0zOqtBpMJS67Ii7sYPf2YtHMF0YOfLaLTE8/Vs4=; b=BN08DUI1MMeTsd8FRbHbXQuFlGNpcsVaDZB/nec++YcLTg43QbmClU4xu6/lNXkbVr ToKxh7goDnrxpCOE/II3B0RyPx4cCjnBNtmYi2dMZs3HuPcCZR3Mog7O117rfQYJ3THX WH70Ne2WJhTVFN1An/Wajb54G/3pz6vzxKYYM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=dXNup/EE04q3vjsXSg3csqy8kMfbzH136RH7p3RlAYNZNDlPPgW2gp4vyVPxGGOYxW W4PcvF9f4488ntPe+sgIw4bRZSQCiz5pg5tKIzPUGf+XprZKRzIuEGaGUgDacaf2NtjB gWpPoE4uoQeGtYF0wvp+/yl4PRZ/kP0LsX2mI= MIME-Version: 1.0 Received: by 10.229.232.5 with SMTP id js5mr2676701qcb.124.1295184977398; Sun, 16 Jan 2011 05:36:17 -0800 (PST) Sender: akarasulu@gmail.com Received: by 10.229.63.23 with HTTP; Sun, 16 Jan 2011 05:36:17 -0800 (PST) In-Reply-To: References: Date: Sun, 16 Jan 2011 15:36:17 +0200 X-Google-Sender-Auth: ZrHUb8fvjUg0bUZZRcd5EJO74MA Message-ID: Subject: Re: [OSGi] Shared bundles update From: Alex Karasulu To: Apache Directory Developers List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org The conversion of ldap-schema into a bundle is complete but I want to test it in the OSGi environment to make sure it's working properly. Might setup an integration test using felix in the shared-integ module and make sure the module only runs with an -Dintegration flag/profile. Is it worth turning the 'all' module, shared-all, into a bundle as well? Thoughts? Regards, Alex On Sun, Jan 16, 2011 at 1:53 PM, Alex Karasulu wrote= : > STATUS: > ------------ > > The following modules have been converted into bundles: > > =A0 =A0o i18n > =A0 =A0o ldap > =A0 =A0o ldap-client-api > =A0 =A0o dsml-parser > =A0 =A0o dsml-engine > > I will not bother with the following modules for reasons that should > seem apparent: > > =A0 =A0o all > =A0 =A0o integ > > The following modules still need to be made into bundles: > > =A0 =A0o ldap-schema > > > ISSUES: > ----------- > > There seems to be some issues with the default operation of the > maven-bundle-plugin where the schema file names are causing the plugin > to barf. Here's something I had posted a couple years ago about the > matter on felix-dev which seems still to be the case [0]. > > Note the ldap-schema packages together schema LDIF files into the Jar. > This is extracted out by a LdifExtractor class. The maven antrun > plugin is used to build index files as well and the default jar > archiver is used. > > This however probably can be solved by just generating the OSGi > manifest with the bundle plugin and letting the current process using > the jar archiver run without overwriting the manifest file. > > I'll play around with this. > > > GOING FORWARD: > -------------------------- > > I guess we can start using the converted bundles in the studio build > as direct dependencies. Also Pierre/Stefan could y'all update me on > the steps we needed in the studio build to use the direct bundle > dependency? That way I can update studio's build myself to use the > ldap-schema bundle once it is complete. I also want to understand what > steps are needed to change studio's build when we break out new > bundles from inside shared-ldap. > > -- > [0] -- http://goo.gl/5WT5i > > > Thanks, > -- > Alex Karasulu > My Blog :: http://www.jroller.com/akarasulu/ > Apache Directory Server :: http://directory.apache.org > Apache MINA :: http://mina.apache.org > To set up a meeting with me: http://tungle.me/AlexKarasulu >