Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 14185 invoked from network); 25 Feb 2004 13:19:45 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 25 Feb 2004 13:19:45 -0000 Received: (qmail 65035 invoked by uid 500); 25 Feb 2004 13:19:39 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 64988 invoked by uid 500); 25 Feb 2004 13:19:39 -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 64973 invoked from network); 25 Feb 2004 13:19:38 -0000 Received: from unknown (HELO vertigo-back.micropole.com) (213.41.126.253) by daedalus.apache.org with SMTP; 25 Feb 2004 13:19:38 -0000 Received: by vertigo-back.micropole.com; id OAA12767; Wed, 25 Feb 2004 14:17:22 +0100 (CET) Message-Id: <200402251317.OAA12767@vertigo-back.micropole.com> Date: Wed, 25 Feb 2004 13:53:28 +0100 From: Emmanuel Bourg Organization: Micropole Univers User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: fr, en, en-us MIME-Version: 1.0 To: Jakarta Commons Developers List Subject: Re: [configuration] comma delimited properties References: <200402251024.LAA29028@vertigo-back.micropole.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Stephane Bailliez wrote: > Yes. Thought about that too, but I was wondering if it was really judicious > to start adding such kind of methods here. > > Plus it does not really solve the problem at all because we can have various > properties in the same subset that may need to be handled differently and > I'm not sure it is the way to go to do isSplitString()/setSplitString() in > retrieving properties. Think about this: > > ldap.java.naming.provider.url=ldap://server:390/ou=something,o=else,c=here > ldap.someproperty=this,is,a,real,list,of,values > > Stephane You could work around this issue with : ldap.java.naming.provider.url=ldap://server:390/ou=something,o=else,c=here ldap.someproperty=this ldap.someproperty=is ldap.someproperty=a ldap.someproperty=real ldap.someproperty=list ldap.someproperty=of ldap.someproperty=values I prefer this syntax to the coma separated values. Emmanuel Bourg --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org