From dev-return-22898-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Tue Dec 18 15:11:02 2007 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 65059 invoked from network); 18 Dec 2007 15:11:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Dec 2007 15:11:02 -0000 Received: (qmail 74980 invoked by uid 500); 18 Dec 2007 15:10:51 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 74761 invoked by uid 500); 18 Dec 2007 15:10:50 -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 74750 invoked by uid 99); 18 Dec 2007 15:10:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Dec 2007 07:10:50 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of akarasulu@gmail.com designates 209.85.146.181 as permitted sender) Received: from [209.85.146.181] (HELO wa-out-1112.google.com) (209.85.146.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Dec 2007 15:10:26 +0000 Received: by wa-out-1112.google.com with SMTP id m38so4342240waf.5 for ; Tue, 18 Dec 2007 07:10:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; bh=Kqb3UpDHSPAQUtXvaCoefdpUDY/UY0vPcUbLKrJ7maQ=; b=DKeYz+pRQtJ7iUg3vQ5eyHSKGF1TiCJ2oik9tOs4y7Y3yHpuWznADnTrECn7dGSGIOFGMxw1kU5ivtKhOUM8ERrUNfOXCIwqYTMugjWiWUF5hmULx9uiPv3qSg9HrfQ1xDYSlG85KwH3finKgilLx8mCD4uLybvCS1GC0GZ/MD0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=dAKFfIo+2OBq6wCN48L/c6ukrFztA6DhxM6kXijTCxjD1xTl7M92UQH2dFjG53EBLBBwkR2VjX/1+NsEB4cxw5ZN0gFazxNrSHkhtUGb1c+QUmW4qSg/uH7eIvni0zsIbtEH9ZuyyS++wnKhGPFFVABlY4LVlmuKGNLAWqWS4h4= Received: by 10.114.254.1 with SMTP id b1mr4727291wai.140.1197990628981; Tue, 18 Dec 2007 07:10:28 -0800 (PST) Received: by 10.115.18.12 with HTTP; Tue, 18 Dec 2007 07:10:28 -0800 (PST) Message-ID: Date: Tue, 18 Dec 2007 10:10:28 -0500 From: "Alex Karasulu" Sender: akarasulu@gmail.com To: "Apache Directory Developers List" Subject: Re: Better configuration and launch system In-Reply-To: <47678F2A.4040902@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13746_21159117.1197990628852" References: <4766A87E.3040300@gmail.com> <47678F2A.4040902@gmail.com> X-Google-Sender-Auth: 9e666d242115bfbf X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_13746_21159117.1197990628852 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Oh yeah I agree you totally right on the name. Alex On Dec 18, 2007 4:13 AM, Emmanuel Lecharny wrote: > Yes, I found my way through the maze myself, and it didn't took too > long. It's also a pleasant situation : no more problem when releasing, > as we only have one single file to modify instead of many ! Thanks for > that. > > But I still think that UberMain is a bad name, and that it should not be > put in the installers subproject. Am I alone thinking this way ? > > Alex Karasulu wrote: > > Yeah this is a great approach. > > > > I don't think Emmanuel was aware since we might not have talked about > > it much. I think I stumbled on it myself at some point and was > > pleasantly surprised. > > > > I love how just having a dep on this serverxml jar and a line or two > > in the pom just dumps this server.xml where you want it. That rocks. > > David you make me go "I didn't know you can do that with Maven" quite > > often. > > > > The only thing that one can possibly find fault with is that if you > > change the server.xml you kind of have to install it's project it to > > have it dumped back that way. I barely notice this though. > > > > Alex > > > > On Dec 17, 2007 5:46 PM, David Jencks < david_jencks@yahoo.com > > > wrote: > > > > > > On Dec 17, 2007, at 8:49 AM, Emmanuel Lecharny wrote: > > > > > Hi guys, > > > > > > sorry for rehashing old things but : > > > > > > There are a few things which could be changed and improved : > > > - the UberMain.java class could be renamed to Main.java. It's not > > > obvious to everyone that UberMain is the class which launch the > > > server... > > > - It has been moved to the installers package. It's fine for > > > installers, but I think it deserves to be put either in a specifi= c > > > project like Server or Launcher > > > - We don't have anymore server.xml file anywhere _but_ in the > > > server-xml sub-project. Is this project the correct place for > > > storing the server configuration? Wouldn't it make more sense to > > > have this server.xml file close to the place we launch the server > ? > > > > I think the server.xml is used in some integration tests run before > > UberMain is available. There used to be several copies of > server.xml > > and the current solution at least reduces that to one copy that is > at > > an easy to find place in the maven repo. What I want is: > > > > 1. only one copy of server.xml > > 2. accessible through maven for use for example in integration test= s > > 3. independence from anything else (so by replacing it with a > > modified server.xml you don't affect anything else). > > > > The only way I know to get these is as a jar published to the maven > > repo. > > > > thanks > > david jencks > > > > > > > > wdyt ? > > > > > > -- > > > -- > > > cordialement, regards, > > > Emmanuel L=E9charny > > > www.iktek.com > > > directory.apache.org > > > > > > > > > > > > > -- > -- > cordialement, regards, > Emmanuel L=E9charny > www.iktek.com > directory.apache.org > > > ------=_Part_13746_21159117.1197990628852 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Oh yeah I agree you totally right on the name. 

Alex

On Dec 18, 2007 4:13 AM, Emmanuel Lecharny <elecharny@gmail.com> wrote:
<= blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 2= 04, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Yes, I found my way through the maze myself, and it didn't took too
= long. It's also a pleasant situation : no more problem when releasing,<= br>as we only have one single file to modify instead of many ! Thanks for t= hat.

But I still think that UberMain is a bad name, and that it should n= ot be
put in the installers subproject. Am I alone thinking this way ?

Alex Karasulu wrote:
> Yeah this is a gre= at approach.
>
> I don't think Emmanuel was aware since we might not ha= ve talked about
> it much.  I think I stumbled on it myself at s= ome point and was
> pleasantly surprised.
>
> I love how = just having a dep on this serverxml jar and a line or two
> in the pom just dumps this server.xml where you want it.  Tha= t rocks.
> David you make me go "I didn't know you can do th= at with Maven" quite
> often.
>
> The only thing tha= t one can possibly find fault with is that if you
> change the server.xml you kind of have to install it's project= it to
> have it dumped back that way.  I barely notice this tho= ugh.
>
> Alex
>
> On Dec 17, 2007 5:46 PM, David Je= ncks <=20 david_jencks@yahoo.com
> <mailto:david_jencks@yahoo.com>> wrote:
> >
>     On Dec 17, 2007, at 8:49 AM, Emmanuel Lecharny w= rote:
>
>     > Hi guys,
>     >= ;
>     > sorry for rehashing old things but :
> &= nbsp;   >
>     > There are a few things which c= ould be changed and improved :
>     > - the UberMain.java class could be renamed to M= ain.java. It's not
>     > obvious to everyone that = UberMain is the class which launch the
>     > server...=
>     > - It has been moved to the installers package. = It's fine for
>     > installers, but I think it deserves to be put e= ither in a specific
>     > project like Server or Launc= her
>     > - We don't have anymore server.xml file = anywhere _but_ in the
>     > server-xml sub-project. Is= this project the correct place for
>     > storing the server configuration? Wouldn't = it make more sense to
>     > have this server.xml file = close to the place we launch the server ?
>
>     I t= hink the server.xml is used in some integration tests run before
>     UberMain is available.  There used to be severa= l copies of server.xml
>     and the current solution at le= ast reduces that to one copy that is at
>     an easy to fi= nd place in the maven repo.  What I want is:
>
>     1. only one copy of server.xml
>  = ;   2. accessible through maven for use for example in integration tes= ts
>     3. independence from anything else (so by replacin= g it with a
>     modified=20 server.xml you don't affect anything else).
>
>   &nbs= p; The only way I know to get these is as a jar published to the maven
&= gt;     repo.
>
>     thanks
>  =   david jencks
>
>     >
>     > wdyt ?
>     >
>  = ;   > --
>     > --
>     > c= ordialement, regards,
>     > Emmanuel L=E9charny
>     > www.iktek.com <ht= tp://www.iktek.com>
>     > directory.apache.org < http://directory.apache.org>
>     >
> &nbs= p;   >
>
>


--
--
cordialement, regards,
E= mmanuel L=E9charny
www.iktek.com
directory.apache.org=



------=_Part_13746_21159117.1197990628852--