Re: [configuration] request for comments on refactoring

2004-05-22 Thread Brent Verner
[2004-05-19 11:30] Emmanuel Bourg said: | Brent Verner wrote: | | >After looking at [vfs], I'm not sure which parts of it would be | Yes the idea is to use [vfs] to retrieve the configuration file, not to | parse it. right on. forthcoming implementation will use vfs as the default

Re: [configuration] request for comments on refactoring

2004-05-18 Thread Brent Verner
[2004-05-18 17:23] Emmanuel Bourg said: | Brent Verner wrote: | | > CURL - entry point for loading configurations. basically, | > a CURL is a primitive URL-like object takes a | > Configuration URL, i.e., | >file:/path/to/file.${EXTENSION} | >

Re: [configuration] Accessing from EL script

2004-05-18 Thread Brent Verner
[2004-05-18 09:20] Mark R. Diggory said: | Brent Verner wrote: | | >[2004-05-18 08:43] Mark R. Diggory said: | >| To extend the subject of refactoring. I want to be able to access | >| Configuration objects from EL references in JSP 2.0. | >| | >| ${sessionScope.config.foo.b

Re: [configuration] Accessing from EL script

2004-05-18 Thread Brent Verner
[2004-05-18 08:43] Mark R. Diggory said: | To extend the subject of refactoring. I want to be able to access | Configuration objects from EL references in JSP 2.0. | | ${sessionScope.config.foo.bar} I do something similar _with_ properties configuration. The syntax I use is ${sessionScope.

Re: [configuration] request for comments on refactoring

2004-05-18 Thread Brent Verner
[2004-05-18 12:35] Emmanuel Bourg said: | Brent Verner wrote: | | >org.apache.commons.configuration.event | > ConfigurationChangedListener - receives notification when a | > Configuration has changed | > ConfigurationChangedEvent - sent by a ConfigurationProvider | >

[configuration] request for comments on refactoring

2004-05-18 Thread Brent Verner
Hi all. I've been itching to use commons-configuration as the backend for my own config system, but I've found myself refactoring the heck out of commons-configuration along the way :-) So here goes what I'd think like to see commons-configuration look like at the end of it all. I'd apprecia

Re: [DBCP] proposal for activationStatement and passivationStatement in PoolableConnectionFactory

2003-12-22 Thread Brent Verner
[2003-12-22 15:01] Dirk Verbeeck said: | Good start, but it will be really usefull when the new feature is | available through the BasicDataSource. (and tested with JUnit test of | course) right on. I'll update the patch to enable use via BasicDataSource. I'm not well-versed in junit testing,

Re: [DBCP] proposal for activationStatement and passivationStatement in PoolableConnectionFactory

2003-12-22 Thread Brent Verner
[2003-12-21 21:36] Dirk Verbeeck said: | Yes this would be a nice feature, a couple of days ago there was | somebody else requesting a similar thing on commons-user. | A patch is very welcome. patch attached. While cleaning this up, I realized that activation/passivation was executed each time

Re: [patch] use File.separator instead of "/" in DefaultFileItem.java

2003-02-24 Thread Brent Verner
uhmm, here's the patch :-) b -- "Develop your talent, man, and leave the world something. Records are really gifts from people. To think that an artist would love you enough to share his music with anyone is a beautiful thing." -- Duane Allman diff -rc commons-fileupload-1.0-beta-1.orig/src/

[patch] use File.separator instead of "/" in DefaultFileItem.java

2003-02-24 Thread Brent Verner
Hi, This patch fixes a x-plat problem, where "/" was used instead of the File.separator value. Also, if DefaultFileItem has no repositoryPath defined, try to use system property "ava.io.tmpdir". Is there any interest in providing a Filter/HttpServletRequestWrapper to use with FileUpload? I