From dev-return-25416-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Wed Jun 11 16:07:54 2008 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 27195 invoked from network); 11 Jun 2008 16:07:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jun 2008 16:07:53 -0000 Received: (qmail 26929 invoked by uid 500); 11 Jun 2008 16:07:55 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 26892 invoked by uid 500); 11 Jun 2008 16:07:55 -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 26881 invoked by uid 99); 11 Jun 2008 16:07:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jun 2008 09:07:55 -0700 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.198.236 as permitted sender) Received: from [209.85.198.236] (HELO rv-out-0506.google.com) (209.85.198.236) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jun 2008 16:07:06 +0000 Received: by rv-out-0506.google.com with SMTP id g37so3327771rvb.25 for ; Wed, 11 Jun 2008 09:07:24 -0700 (PDT) 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=gaAzItcckOPpt57gcry38gFBnGUgyLTAENP75h6i/Oo=; b=B0D/K1CktuDKXfGIj1Mj/6q1NeJDZ/sr76e8Tkl/GKxND/ZG3irT9POcUaZEhW+3w1 qEthrhf6wZpquwW62G7cpLpnbzX6HkAZmbOArubisKYEnPwHBoEHS+d0PAwoQmNYvjXX wKeSoVkuciMbgEPLu72wFHF6OaEzvqK8GleYI= 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=abccbMKTu9ePySR8P72HqZT33w8UD52qfTKp6H2Ckqmc6U1Vr0e+umhJ2I6uN2sMsq 4r5L1kTJgpZkqI49jCtHWJNQDNZq5rFu8xJiE2evylA3bNhXZV6Hdq+Chrna5a4H65Hs 1Z/e4sYDd5iXHcCm0yLcvD1DT4r8UuIolqWuw= Received: by 10.140.139.3 with SMTP id m3mr4051774rvd.244.1213200443042; Wed, 11 Jun 2008 09:07:23 -0700 (PDT) Received: by 10.141.113.13 with HTTP; Wed, 11 Jun 2008 09:07:22 -0700 (PDT) Message-ID: Date: Wed, 11 Jun 2008 12:07:22 -0400 From: "Alex Karasulu" Sender: akarasulu@gmail.com To: "Apache Directory Developers List" Subject: Re: Hardcoded Version (was Continuum deployment of studio) In-Reply-To: <484FCFAC.50508@apache.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_32645_24354880.1213200443028" References: <484FC7B3.9040309@otego.com> <98d8c0860806110553t696f8a70p143a71fddf0850fc@mail.gmail.com> <484FCFAC.50508@apache.org> X-Google-Sender-Auth: b6629c0899386a8e X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_32645_24354880.1213200443028 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline FYI, this is what we do for ADS. Alex On Wed, Jun 11, 2008 at 9:14 AM, Felix Knecht wrote: > Pierre-Arnaud Marcelot schrieb: > >> Hi Felix, >> >> Actually, it would be better if we don't change the version number on >> > this project. > >> It is used and bundled in the Apache DS plugin, and the version is >> > hardcoded in the coded of the plugin (sorry but it was needed and I had no > other solution)... > > Is it in the apacheds/.../ApacheDsPluginUtils.java? > > What about reading this things > - String APACHEDS_VERSION = "1.5.2" > - String[] apachedsLibraries > from a properties file located somewhere in the resource folder and having > the resource file filtered with the wanted version? > > Felix > > ------=_Part_32645_24354880.1213200443028 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline FYI, this is what we do for ADS.

Alex

On Wed, Jun 11, 2008 at 9:14 AM, Felix Knecht <felixk@apache.org> wrote:
Pierre-Arnaud Marcelot schrieb:
 Hi Felix,

 Actually, it would be better if we don't change the version number on
this project.
 It is used and bundled in the Apache DS plugin, and the version is
hardcoded in the coded of the plugin (sorry but it was needed and I had no other solution)...

Is it in the apacheds/.../ApacheDsPluginUtils.java?

What about reading this things
- String APACHEDS_VERSION = "1.5.2"
- String[] apachedsLibraries
from a properties file located somewhere in the resource folder and having the resource file filtered with the wanted version?

Felix


------=_Part_32645_24354880.1213200443028--