From dev-return-35717-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Tue Nov 16 16:10:30 2010 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 67119 invoked from network); 16 Nov 2010 16:10:30 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Nov 2010 16:10:30 -0000 Received: (qmail 97056 invoked by uid 500); 16 Nov 2010 16:11:01 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 96847 invoked by uid 500); 16 Nov 2010 16:11:00 -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 96840 invoked by uid 99); 16 Nov 2010 16:10:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Nov 2010 16:10:59 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of akarasulu@gmail.com designates 209.85.160.50 as permitted sender) Received: from [209.85.160.50] (HELO mail-pw0-f50.google.com) (209.85.160.50) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Nov 2010 16:10:55 +0000 Received: by pwi4 with SMTP id 4so201168pwi.37 for ; Tue, 16 Nov 2010 08:10:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=ikYor9SS6YgXMNMmftljNesW5enhPcdEBvrMAxB8mYc=; b=BycwLsT+K27FrCkTPpVTB2Oy1VL3Rvuoxi3BIaw8EFwZKT70hT1M/PfRdZYv/sWi9F 0Bb4PJRylxWjtfbq3mdhRc/GRjvzl7M3Ll5ubl+RZT5PQ/LWSnxhg2xwVYnj6M1Ewx6X mI2qqmX/O5SChSCODqmHQSmubLnyS8SoqC7dw= 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; b=dIQBtprsZrkACBJcMMF++A68npkkX1UJM285qT6uu22L5bzWe/sQ7y+KqhwgyPF09j jcVXm9MomWx6Og/A5YnzM8A53UGY/bBPZ80gVTr7kwY7Cj67srIfIs3O6MWDmKiQVV/P VN6Q97nDej+c/FdUxg6DfS0SKQREdluUuD0uI= MIME-Version: 1.0 Received: by 10.229.85.208 with SMTP id p16mr6179395qcl.4.1289923834557; Tue, 16 Nov 2010 08:10:34 -0800 (PST) Sender: akarasulu@gmail.com Received: by 10.229.192.196 with HTTP; Tue, 16 Nov 2010 08:10:33 -0800 (PST) In-Reply-To: <1B62D97E-545D-4BF2-997A-322F34EBF240@marcelot.net> References: <1B62D97E-545D-4BF2-997A-322F34EBF240@marcelot.net> Date: Tue, 16 Nov 2010 18:10:33 +0200 X-Google-Sender-Auth: ZotB_e7_TxZ1nCUQoFRiWwaxdgM Message-ID: Subject: Re: [ApacheDS] Rename project 'server-config' to 'apacheds-server-config' + Move 'ConfigBuilder' class into a separate project From: Alex Karasulu To: Apache Directory Developers List Content-Type: multipart/alternative; boundary=0016368322d4f23c0d04952dcb0e --0016368322d4f23c0d04952dcb0e Content-Type: text/plain; charset=ISO-8859-1 On Tue, Nov 16, 2010 at 4:48 PM, Pierre-Arnaud Marcelot wrote: > Hi Dev, > > I'd like to propose two modifications for ApacheDS projects. > > I think the project 'server-config' should be renamed as > 'apacheds-server-config' (to be consistent with others projects). It's the > only project starting with a 'server' string and all other projects have a > name starting with 'apacheds-something'. > > I'd also like to split the 'server-config' project in two parts. > The first part, which would contain most of the classes and resources, will > be responsible for reading the server config and generating config beans out > of it. > The second part would only contain the ConfigBuilder class which > instantiate 'real' server objects out of the config beans (this part would > depend on the first part of course). > This name ConfigBuilder is a bit confusing. On first glance I thought it builds the configuration beans. Perhaps we should call it InstanceBuilder or FooBuilder where Foo is the top-level object that it builds. > > This is particularly important for Studio. > With this separation the first part has very few dependencies (which is > great and easy to use in Studio): > - apacheds-core-api > - apacheds-i18n > - apacheds-ldif-partition ('test' scope) > - apacheds-xdbm-partition > - shared-ldap > - junit-addons ('test' scope) > > The current 'server-config' project has 21 dependencies defined and is a > real mess to integrate in Studio, especially when all you need is only > accessing the config beans. > > Thoughts ? > > +1 - makes total sense. Thanks Pierre! -- 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 --0016368322d4f23c0d04952dcb0e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Tue, Nov 16, 2010 at 4:48 PM, Pierre-Arnaud M= arcelot <pa@marcelo= t.net> wrote:
Hi Dev,

I'd like to propose two modifications for ApacheDS projects.

I think the project 'server-config' should be renamed as 'apach= eds-server-config' (to be consistent with others projects). It's th= e only project starting with a 'server' string and all other projec= ts have a name starting with 'apacheds-something'.

I'd also like to split the 'server-config' project in two parts= .
The first part, which would contain most of the classes and resources, will= be responsible for reading the server config and generating config beans o= ut of it.
The second part would only contain the ConfigBuilder class which instantiat= e 'real' server objects out of the config beans (this part would de= pend on the first part of course).

This name ConfigBuilder is a bit confusing. On first glance I thought it bu= ilds the configuration beans. Perhaps we should call it InstanceBuilder or = FooBuilder where Foo is the top-level object that it builds.
=A0

This is particularly important for Studio.
With this separation the first part has very few dependencies (which is gre= at and easy to use in Studio):
- apacheds-core-api
- apacheds-i18n
- apacheds-ldif-partition ('test' scope)
- apacheds-xdbm-partition
- shared-ldap
- junit-addons ('test' scope)

The current 'server-config' project has 21 dependencies defined and= is a real mess to integrate in Studio, especially when all you need is onl= y accessing the config beans.

Thoughts ?


+1 - makes total sense.

=
Thanks Pierre!

--
Alex Karasulu
My = Blog :: http://www.jroller.co= m/akarasulu/
Apache Directory Server :: http://d= irectory.apache.org
Apache MINA :: http://mina.apache.org
To set up a meeting with me: http://tungle.me/AlexKarasulu
--0016368322d4f23c0d04952dcb0e--