Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 98929 invoked from network); 5 Aug 2007 07:50:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Aug 2007 07:50:14 -0000 Received: (qmail 49554 invoked by uid 500); 5 Aug 2007 07:50:10 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 49491 invoked by uid 500); 5 Aug 2007 07:50:10 -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 49482 invoked by uid 99); 5 Aug 2007 07:50:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Aug 2007 00:50:09 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [212.159.14.133] (HELO pih-relay06.plus.net) (212.159.14.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Aug 2007 07:50:06 +0000 Received: from [80.229.150.39] (helo=mansionfamily.plus.com) by pih-relay06.plus.net with esmtp (Exim) id 1IHarv-0002SK-Tb for user@commons.apache.org; Sun, 05 Aug 2007 08:49:44 +0100 Received: from [192.168.0.87] ([192.168.0.87]:3479) by mansionfamily.plus.com with [XMail 1.22 ESMTP Server] id for from ; Sun, 5 Aug 2007 08:51:56 +0100 Message-ID: <46B58236.50403@mansionfamily.plus.com> Date: Sun, 05 Aug 2007 08:54:30 +0100 From: James Mansion User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Jakarta Commons Users List Subject: Re: problems with configuration References: <46B49756.6@mansionfamily.plus.com> <46B497AB.8020802@oliver-heger.de> In-Reply-To: <46B497AB.8020802@oliver-heger.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Oliver Heger wrote: > Try builder.getConfiguration().configurationAt(...) instead of > builder.configurationAt(). > > Only the getConfiguration() method causes the configuration sources to > be loaded. The object returned here contains all the properties. > Surely getConfiguration returns a Configuration, which doesn't have a configurationAt() member? I had to cast to HierachicalConfiguration first. Now I get 'Property verbose cannot be set!' which does at least suggest that the bean is being constructed. I'll debug to find out why. Thanks! --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org