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 E675810467 for ; Fri, 5 Dec 2014 05:57:26 +0000 (UTC) Received: (qmail 85073 invoked by uid 500); 5 Dec 2014 05:57:26 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 85032 invoked by uid 500); 5 Dec 2014 05:57:26 -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 85021 invoked by uid 99); 5 Dec 2014 05:57:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2014 05:57:25 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of elecharny@gmail.com designates 209.85.212.176 as permitted sender) Received: from [209.85.212.176] (HELO mail-wi0-f176.google.com) (209.85.212.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2014 05:57:20 +0000 Received: by mail-wi0-f176.google.com with SMTP id ex7so343872wid.15 for ; Thu, 04 Dec 2014 21:56:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=90sbT1muA9cATCzexUjO7WteeJSWMd3BfOmvMN1o7Uo=; b=frdie2Za9bsgpXr3A7E9nxQAEYoDU7h1iK8W9muPDfp7nO5yAOeRVgQumEsX1oGGaS goxFJVomzILntLCWTQxe11mBhLtceqqJCQtGULsjGH6Ys+HPX2Yars+b6W0yjizCxCNz 6WVSt6lBzNxLWbSttyt7ErsYcUjIHqIy0hG16CfpcLGimfkGEJyj89gpErej3RBbCYLN d5GDzWsQIDnlaaXQYP1S4LXKewbrhCb1tR7+criR65Caw3Xx5kP4Ufx/WWJW+qIJnUZn oRQ4WiYH4KmN4N8rRGdwsNiUQrYTgF7FBfPVou30re9Aw73J62tjllLgvbUyEbHEDYPd zsFA== X-Received: by 10.194.62.19 with SMTP id u19mr22211041wjr.0.1417759019668; Thu, 04 Dec 2014 21:56:59 -0800 (PST) Received: from [192.168.1.21] (AMontsouris-651-1-162-181.w90-46.abo.wanadoo.fr. [90.46.177.181]) by mx.google.com with ESMTPSA id dg7sm819489wib.24.2014.12.04.21.56.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 04 Dec 2014 21:56:58 -0800 (PST) Message-ID: <5481492A.4070404@gmail.com> Date: Fri, 05 Dec 2014 06:56:58 +0100 From: =?UTF-8?B?RW1tYW51ZWwgTMOpY2hhcm55?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: Validation of ApacheDS OSGi bundles References: <547E0835.8070603@stefan-seelmann.de> In-Reply-To: <547E0835.8070603@stefan-seelmann.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Le 02/12/14 19:43, Stefan Seelmann a écrit : > Hi all, > > As you know we try to migrate Studio to Tycho build, and always want to > use the latest and greates build of JDBM, Mavibot, API, and ApacheDS. It > happened the released artifacts are no valid OSGi bundles or have > invalid MANIFEST.MF. But even worse is that in the Tycho build the error > messages are not really explicit, it is very hard to find the problem. > > What I dream from is to have some mechanism to avoid that problems and > to identify OSGi related problems early. I don't have enough knowledge > which tools exists out there, so maybe an OSGi export can help. > > First idea I have is to have a test that checks that each single > artifact is a valid bundle. > > Second thing would be some kind of integration test that starts an OSGi > runtime (preferred both Equinox and Felix/Karaf) and installs all > ApacheDS bundles, to verify that all dependencies can be resolved. > > Third idea would be to even startup ApacheDS in that runtime, but maybe > that requires more work. > > Any ideas or further suggestions are welcomed. > > Kind Regards, > Stefan What about http://www.aqute.biz/Bnd/CommandLine ?