Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 84504 invoked from network); 6 Mar 2004 22:32:23 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 6 Mar 2004 22:32:23 -0000 Received: (qmail 56930 invoked by uid 500); 6 Mar 2004 22:32:08 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 56730 invoked by uid 500); 6 Mar 2004 22:32:07 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 56695 invoked from network); 6 Mar 2004 22:32:05 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by daedalus.apache.org with SMTP; 6 Mar 2004 22:32:05 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AzkL5-0007JF-00 for ; Sat, 06 Mar 2004 23:32:11 +0100 Received: from pd9eb8da6.dip0.t-ipconnect.de ([217.235.141.166]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Mar 2004 23:32:11 +0100 Received: from joerg.schaible by pd9eb8da6.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Mar 2004 23:32:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: commons-dev@jakarta.apache.org To: commons-dev@jakarta.apache.org From: =?ISO-8859-15?Q?J=F6rg?= Schaible Subject: RE: [configuration] Roadmap Date: Sat, 06 Mar 2004 23:32:08 +0100 Lines: 58 Message-ID: References: Reply-To: joerg.schaible@gmx.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pd9eb8da6.dip0.t-ipconnect.de Mail-Copies-To: never User-Agent: KNode/0.7.6 Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N J�rg Schaible wrote: > Emmanuel Bourg wrote on Thursday, March 04, 2004 2:48 PM: > >> There has been some good ideas coming around [configuration] lately, >> I'd like to suggest a roadmap to sort what needs to be done >> before the 1.0 >> release and what could be added later: >> >> configuration 1.0 >> >> - make PropertiesConfiguration a full replacement for >> ExtendedProperties: add headers to .properties files (Bug 26092) and >> make Configuration extend Map. > > remove here also the dependency to StringUtils (just used to handle an > empty String). Basic idea - if I just use properties and DOM, I would like > to have the least number of dependencies as possible. If other lang > functionality would have been used here, no problem - but *not* for an > empty String test ... > >> - comma separated values revamp >> - DOM4J dependency removal > > Working on this. I understand correctly, that this just means support of > DOM, but no deprecation of JDOM ? Had less time this weekend than expected, but here it is at least the DOM support: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27498 > Working also on a "pluggable" ConfigurationFactory. What is the intension > for the functionality of the current ConfigurationFactory ? Support any > Configuration type (= backward compatibility) ? I would introduce an > AbtractConfigurationFactory refactoring the common parts. Name of the > PluggableConfigurationFactory (ConfigurableConfigurationFactory ) ? > Introduce a Jdk14ConfigurationFactory (with least number of dependencies) > ? I have another idea: We stay with the current class, but change its configuration files. We could define factory elements: and use them now in config elements: Then we could deprecate all of the current elements reading a configuration and may provide a DTD even if a customer writes his own configuration format. Additionally we remove the direct dependency for all the implementations from the ConfigurationFactory (no DOM4J, no DB, no JNDI if not used or needed). What do you think? IMHO better now than after release. Regards, J�rg --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org