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 F1F054201 for ; Fri, 13 May 2011 15:46:18 +0000 (UTC) Received: (qmail 55063 invoked by uid 500); 13 May 2011 15:46:18 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 55026 invoked by uid 500); 13 May 2011 15:46:18 -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 55017 invoked by uid 99); 13 May 2011 15:46:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 May 2011 15:46:18 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of richard.evans@datanomic.com designates 85.158.137.83 as permitted sender) Received: from [85.158.137.83] (HELO mail140.messagelabs.com) (85.158.137.83) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 May 2011 15:46:12 +0000 X-VirusChecked: Checked X-Env-Sender: richard.evans@datanomic.com X-Msg-Ref: server-3.tower-140.messagelabs.com!1305301550!19321186!1 X-StarScan-Version: 6.2.9; banners=-,-,- X-Originating-IP: [217.28.130.38] Received: (qmail 25673 invoked from network); 13 May 2011 15:45:50 -0000 Received: from hostedexchange.hostedservice.com (HELO outlook.hostedservice2.net) (217.28.130.38) by server-3.tower-140.messagelabs.com with RC4-SHA encrypted SMTP; 13 May 2011 15:45:50 -0000 Received: from THHS2E12BE8X.hostedservice2.net ([fe80:0000:0000:0000:0183:a435:162.15.195.24]) by thhs2e12ht03.hostedservice2.net ([192.168.16.113]) with mapi; Fri, 13 May 2011 16:45:55 +0100 From: Richard Evans To: Apache Directory Developers List Date: Fri, 13 May 2011 16:43:33 +0100 Subject: RE: Monolithic jar .v. separate jars Thread-Topic: Monolithic jar .v. separate jars Thread-Index: AcwRf5RsD4a3acZrRgCaKECWj2GC9AABMQOw Message-ID: References: In-Reply-To: Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-GB Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Thanks We don't build our app using Maven - we just get the jars for embedded apps= and use them as required. What's the best way to get the right jars out o= f a maven build of ApacheDS 1.5.8 snapshot? Richard -----Original Message----- From: ayyagarikiran@gmail.com [mailto:ayyagarikiran@gmail.com] On Behalf Of= Kiran Ayyagari Sent: 13 May 2011 16:08 To: Apache Directory Developers List Subject: Re: Monolithic jar .v. separate jars On Fri, May 13, 2011 at 8:28 PM, Richard Evans wrote: > I've been experimenting with the trunk version of ApacheDS recently, buil= ding from the checked out code. =A0I run it from the snapshot .tar.gz targe= t. =A0This has a single monolithic service jar containing all the classes. > > This approach is very convenient for standalone installs, but may cause p= roblems if we decide to embed ApacheDS in our application. =A0We already us= e much of the support stuff in the jar - servlet apis, slf4j, ActiveMQ clas= ses, etc - and I want to make sure the we get the right versions. > > Is it is possible to make a build with separate jars? =A0And (really fant= astic) some guidelines as to which jars are required for various configurat= ions? =A0For example if I wish to embed an LDAP server (no Kerberos, NTP, e= tc), which ApacheDS jars are required and which external jars (and versions= ) are required? > yeap, this is perfectly possible, if you use maven in your project then I would say it becomes even more easier. if you want to use LDAP server alone, then just add a dependency element li= ke org.apache.directory.server apacheds-protocol-ldap 1.5.8-SNAPSHOT > Thanks > > Richard > --=20 Kiran Ayyagari