Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 97091 invoked from network); 28 Dec 2007 18:37:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Dec 2007 18:37:44 -0000 Received: (qmail 33590 invoked by uid 500); 28 Dec 2007 18:37:33 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 33552 invoked by uid 500); 28 Dec 2007 18:37:33 -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 33541 invoked by uid 99); 28 Dec 2007 18:37:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Dec 2007 10:37:33 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [62.179.121.47] (HELO viefep27-int.chello.at) (62.179.121.47) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Dec 2007 18:37:20 +0000 Received: from felixknecht.ch ([217.162.149.243]) by viefep27-int.chello.at (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20071228183710.KMPO29011.viefep27-int.chello.at@felixknecht.ch> for ; Fri, 28 Dec 2007 19:37:10 +0100 Received: (qmail 7073 invoked by uid 210); 28 Dec 2007 18:37:09 -0000 Received: from 192.168.1.97 by odin (envelope-from , uid 201) with qmail-scanner-2.01st (clamdscan: 0.92/5270. perlscan: 2.01st. Clear:RC:1(192.168.1.97):. Processed in 0.031123 secs); 28 Dec 2007 18:37:09 -0000 Received: from unknown (HELO ?192.168.1.97?) (192.168.1.97) by 192.168.1.11 with SMTP; 28 Dec 2007 18:37:09 -0000 Message-ID: <47754258.1080106@apache.org> Date: Fri, 28 Dec 2007 19:37:12 +0100 From: Felix Knecht Organization: apache.org User-Agent: Thunderbird 2.0.0.9 (X11/20071116) MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: [ApacheDS] Version tag in the server.xml file ? References: <98d8c0860712171028r3305d291lfd412d7b0ebfbcfe@mail.gmail.com> <98d8c0860712270847g4a0295c8v986396544398dc69@mail.gmail.com> <4773D891.7090607@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Alex Karasulu schrieb: > Hey sorry I missed this one. +1 to doing this - its a great idea. > Perhaps even a section where we have: > > > 1 > 5 > 1 > > > > verses ... > > 1.5.1-SNAPSHOT > > This may be overkill though. WDYT? Not having much knowledge about the server.xml file, but it's an xml file. So what about a namespace, e.g. xmlns:adsver="http://directory.apache.org/apacheds/1.5.1/server" ? Looking at the server.xml a bit closer it looks like a spring-bean definition file. If this configuration file is just 'thrown' in spring it probably makes more sense having a (factory-)bean returning just the version and then injecting the bean in other beans where ever this could be needful. > > My thought WRT this idea was to avoid having to parse the version from > 1.5.1-SNAPSHOT. > > Alex > > On Dec 27, 2007 11:53 AM, Emmanuel Lecharny > wrote: > > Pierre-Arnaud Marcelot wrote: > > Up... > > > > Anyone? > +1 > > > > Regards, > > Pierre-Arnaud > > > > On Dec 17, 2007 7:28 PM, Pierre-Arnaud Marcelot < pa@marcelot.net > > > >> wrote: > > > > Hi Dev, > > > > We were chatting with Stefan Seelmann some time ago about Apache > > Directory Studio and more particularly about the Apache DS > > Configuration plugins and we came to the conclusion that it could > > be a great thing if the server.xml file could be tagged (in some > > way) with the version number of the Apache DS Server it defines > > (e.g. 1.5.1, 1.5.2, etc.). > > > > It could help us know when we are parsing the file which kind of > > configuration ( 1.5.0 , 1.5.1, 1.5.2) we are dealing with. > > > > WDYT ? > > > > Regards, > > Pierre-Arnaud Marcelot > > > > > > > -- > -- > cordialement, regards, > Emmanuel L�charny > www.iktek.com > directory.apache.org > > >