Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3913E7981 for ; Tue, 18 Oct 2011 12:31:56 +0000 (UTC) Received: (qmail 88827 invoked by uid 500); 18 Oct 2011 12:31:56 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 88754 invoked by uid 500); 18 Oct 2011 12:31:55 -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 88747 invoked by uid 99); 18 Oct 2011 12:31:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Oct 2011 12:31:55 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pajbam@gmail.com designates 74.125.82.178 as permitted sender) Received: from [74.125.82.178] (HELO mail-wy0-f178.google.com) (74.125.82.178) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Oct 2011 12:31:45 +0000 Received: by wyf28 with SMTP id 28so574650wyf.37 for ; Tue, 18 Oct 2011 05:31:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:content-type:content-transfer-encoding:subject:date :message-id:to:mime-version:x-mailer; bh=sPtvF+/699ALxTGQHqc7z15lGsNQle9+Af2ZqENmwik=; b=qK3fh3rHehGJBT5ATlFVsiIFALVAQ2zClCIwKT7CnfCWvGhkAwt+2e6wSaIswVejoP FzMpUWAED4L96Z6hKCGNimdw2kytSAQoR4zbpAJ+xHPdS6gPejLruvSRyVTpSFs4Pttd uzruX2YaMOEhS6v+VSNiN55SdbuCOTlWxA+qE= Received: by 10.227.196.12 with SMTP id ee12mr203744wbb.42.1318941085334; Tue, 18 Oct 2011 05:31:25 -0700 (PDT) Received: from [192.168.0.12] (lon92-10-78-226-4-211.fbx.proxad.net. [78.226.4.211]) by mx.google.com with ESMTPS id h39sm3298712wbo.0.2011.10.18.05.31.21 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 18 Oct 2011 05:31:22 -0700 (PDT) Sender: Pierre-Arnaud Marcelot From: Pierre-Arnaud Marcelot Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: [ApacheDS][API] OSGI, MANIFEST.MF files and Bundle-SymbolicName Date: Tue, 18 Oct 2011 14:31:20 +0200 Message-Id: To: Apache Directory Developers List Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org Hi guys, A quick follow up on the work currently being done on ApacheDS around = OSGI. G=F6kt=FCrk is doing a really good job in moving ApacheDS code base = towards OSGI. Unfortunately, at the moment, Studio is broken (code base still compiles = but it can't be launched) due to the recent changes. The cause of this issue is a change in the way we name our OSGI bundles = (the 'Bundle-SymbolicName' property in the 'MANIFEST.MF' file). When we moved the LDAP API (Shared) to OSGI a few months back with Alex, = at first, we used a concatenation of the groupId and the artifactId: = ${project.groupId}.${project.artifactId} That generated for example the following bundle symbolic name: = org.apache.directory.shared.shared-asn1-api We decided quickly to change the policy for two reasons: - get rid of the duplicated 'shared' keyword - follow the current naming policy of Apache Directory Studio (inherited = from Eclipse) which does not use any '-' character (but a '.' instead). In the end, it gave the following bundle symbolic name for the same = example: org.apache.directory.shared.asn1.api. Something that we thought was shorter, clearer and shared across both = our projects (Studio and LDAP API). Recent modifications brought back the concatenation naming scheme and = that's what has broken Studio. I currently have a fix in my workspace about that (which reverts the = bundle symbolic name to what was previously used), but I'd rather have a = common discussion about what naming scheme the community as a whole = decides to use, before committing it. What's your take on this? Also, one other thing. In order to be able to run ApacheDS projects from = the workspace inside a launched Eclipse instance (especially when = running Studio within Eclipse), we need to have the 'MANIFEST.MF' file = generated inside a 'META-INF' folder at the root of each ApacheDS module = (this 'META-INF' folder being added to svn:ignore of course). This is what we had done when we moved the LDAP API (Shared) to OSGI a = few months back with Alex, and it has been working very fine since then, = especially the integration with Studio. So, all LDAP API modules are fine about that and I'd like to do the same = thing for all ApacheDS modules. Is there any objection to that? Regards, Pierre-Arnaud=