Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 97791 invoked from network); 29 Aug 2007 20:12:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Aug 2007 20:12:01 -0000 Received: (qmail 80036 invoked by uid 500); 29 Aug 2007 20:11:53 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 79903 invoked by uid 500); 29 Aug 2007 20:11:52 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 79894 invoked by uid 99); 29 Aug 2007 20:11:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 13:11:52 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [212.227.126.174] (HELO moutng.kundenserver.de) (212.227.126.174) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 20:12:45 +0000 Received: from p5B098A3A.dip0.t-ipconnect.de [91.9.138.58] (helo=[192.168.178.20]) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis), id 0ML31I-1IQTsY45Tc-0001gY; Wed, 29 Aug 2007 22:11:26 +0200 Message-ID: <46D5D2E1.9040903@oliver-heger.de> Date: Wed, 29 Aug 2007 22:11:13 +0200 From: Oliver Heger User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Jakarta Commons Users List Subject: Re: [configuration] sanity checks References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX188ohZcx//6xr3tmkFLKs8eXlg/Xq9wey8URws FK+coaJlSElbKMFPkBWHBR0jhc70Jc7s6r2IvMweTzoFy84i1g 7J1jkUchbJgNRrLecz99Q== X-Virus-Checked: Checked by ClamAV on apache.org Hi Michiel, Michiel Kalkman wrote: > Hi, > Is there any code in configuration which performs sanity checks on a > configuration ? I'm looking for code that checks: > - whether there are unresolved values (i.e. values with ${...} in them) > - whether there are multiple keys with the same value > > after loading the configuration. > > I guess I could make these checks myself, but I think more people > could be interested. > > Thanks, > Michiel > there is no support for such features so far, but I think this is an interesting idea. What would be the best way of providing such checks: as additional methods of the ConfigurationUtils class or as a new dedicated checker class? Patches would be welcome in this area! Oliver --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org