[configuration][PATCH]HierarchicalConfiguration

2003-10-20 Thread Oliver Heger
Hi, I have now created a patch with my first implementation of HierarchicalConfiguration and related classes. Here are some remarks to the new classes: HierarchicalConfiguration This is a base class for configuration classes that use a hierarchical schema to store their properties. The class is

DO NOT REPLY [Bug 23940] New: - [Chain][PATCH] tabs to spaces, Log name fix

2003-10-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23940. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 23940] - [Chain][PATCH] tabs to spaces, Log name fix

2003-10-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23940. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: Re: [Chain] [PATCH] tabs to spaces, log name fix

2003-10-20 Thread otisg
Of course they prefer that. This was easier. :) The patch is now in Bugzilla. Otis Get your own 800 number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag On Thu, 16 Oct 2003, Sgarlata Matt ([EMAIL PROTECTED]) wrote:

[digester] Feature addition to digester

2003-10-20 Thread Remy Maucherat
Hi, I'd like to add a feature to the digester, allowing property replacement, similar to Ant. Basically, ${...} in an attribute value would get replaced by a property value. The following elements would be added: * PropertySource interface, containing a String getProperty(String key) method

Doing a rollback() in PoolableConnectionFactory.passivateObject

2003-10-20 Thread Richard Bielak
Hi, We are using BasicDataSource for managing db connections to Postgresql (v7.3). By default our connections have autoCommit set to false and we manage our transactions so that no connection is ever returned to the pool while transaction is active. In the Postgresql log we saw tons of

[dbutils] Enhanced* classes

2003-10-20 Thread David Graham
The Enhanced* classes don't really seem to be enhanced versions of their standard counterparts. For example, EnhancedResultSet has this method: public Long getLongObject(String column) throws SQLException { return new Long(getLong(column)); } How is that enhanced over the standard

Re: [digester] Feature addition to digester

2003-10-20 Thread Scott Sanders
I could see how it could be useful. If you are willing to commit and support it, and the code is backwards-compatible (should be), then I am +1. Go for it. Scott On Monday, October 20, 2003, at 08:13 AM, Remy Maucherat wrote: Hi, I'd like to add a feature to the digester, allowing property

Re: [dbutils] Enhanced* classes

2003-10-20 Thread Tomasz Pik
David Graham wrote: The Enhanced* classes don't really seem to be enhanced versions of their standard counterparts. For example, EnhancedResultSet has this method: public Long getLongObject(String column) throws SQLException { return new Long(getLong(column)); } What about: public Long

Re: [VOTE][Pool] Release Commons-Pool v1.1

2003-10-20 Thread David Graham
+0 David --- Dirk Verbeeck [EMAIL PROTECTED] wrote: This is a call for a vote to release version 1.1 of Commons Pool. After a three week review/test period, it's now time to make the final release. There are no unresolved issues, more info below. your votes, please: Release

Re: [VOTE][DBCP] Release Commons-DBCP v1.1

2003-10-20 Thread David Graham
+1 David --- Dirk Verbeeck [EMAIL PROTECTED] wrote: This is a call for a vote to release version 1.1 of Commons DBCP. After a three week review/test period, it's now time to make the final release. There are no unresolved issues, more info below. your votes, please: Release

Re: [VOTE][Pool] Release Commons-Pool v1.1

2003-10-20 Thread Serge Knystautas
Dirk Verbeeck wrote: This is a call for a vote to release version 1.1 of Commons Pool. After a three week review/test period, it's now time to make the final release. There are no unresolved issues, more info below. your votes, please: Release Commons-Pool 1.1

Re: [VOTE][DBCP] Release Commons-DBCP v1.1

2003-10-20 Thread Serge Knystautas
Dirk Verbeeck wrote: This is a call for a vote to release version 1.1 of Commons DBCP. After a three week review/test period, it's now time to make the final release. There are no unresolved issues, more info below. your votes, please: Release Commons-DBCP 1.1

RE: [VOTE][DBCP] Release Commons-DBCP v1.1

2003-10-20 Thread Gary Gregory
+0 -Original Message- From: Dirk Verbeeck [mailto:[EMAIL PROTECTED] Sent: Monday, October 20, 2003 11:28 To: Jakarta Commons Developers List; [EMAIL PROTECTED] Subject: [VOTE][DBCP] Release Commons-DBCP v1.1 This is a call for a vote to release version 1.1 of Commons DBCP. After

RE: [VOTE][Pool] Release Commons-Pool v1.1

2003-10-20 Thread Gary Gregory
+0 Gary -Original Message- From: Dirk Verbeeck [mailto:[EMAIL PROTECTED] Sent: Monday, October 20, 2003 11:27 To: Jakarta Commons Developers List Cc: [EMAIL PROTECTED] Subject: [VOTE][Pool] Release Commons-Pool v1.1 This is a call for a vote to release version 1.1 of Commons

RE: [VOTE][DBCP] Release Commons-DBCP v1.1

2003-10-20 Thread Noel J. Bergman
Are you planning to include the changes made yesterday by John McNally? I believe that those were the first non-test changes since RC2 was cut. As a basic statement, the code going into a release (not the CVS) should be frozen. Considering the importance of getting this out with Tomcat 5, if

Re: [VOTE][Pool] Release Commons-Pool v1.1

2003-10-20 Thread Dirk Verbeeck
The release itself is no problem, I'll only have to install some PGP software to sign the release. Remains the jakarta-site update and the commons site to list the new releases. I haven't done that before (I don't have karma for the main jakarta site yet, I think) I'll try the update locally

Re: [VOTE][DBCP] Release Commons-DBCP v1.1

2003-10-20 Thread Dirk Verbeeck
I'll tag build 1.1 final right now and wait 2-3 days for the result of the vote. I don't think the last commit from John demands for a new release candidate/review cycle. If there are no -1 votes (blocking issues in final build) then I'll announce v1.1 on wednesday evening. -- Dirk Noel J.

cvs commit: jakarta-commons/pool/xdocs downloads.xml

2003-10-20 Thread dirkv
dirkv 2003/10/20 12:48:37 Modified:pool/xdocs downloads.xml Log: prepare for 1.1 final Revision ChangesPath 1.8 +4 -1 jakarta-commons/pool/xdocs/downloads.xml Index: downloads.xml ===

cvs commit: jakarta-commons/pool project.xml

2003-10-20 Thread dirkv
dirkv 2003/10/20 12:49:01 Modified:pool project.xml Log: prepare for 1.1 final Revision ChangesPath 1.17 +4 -9 jakarta-commons/pool/project.xml Index: project.xml === RCS file:

cvs commit: jakarta-commons/dbcp/xdocs downloads.xml

2003-10-20 Thread dirkv
dirkv 2003/10/20 12:49:57 Modified:dbcp/xdocs downloads.xml Log: prepare for 1.1 final Revision ChangesPath 1.3 +5 -2 jakarta-commons/dbcp/xdocs/downloads.xml Index: downloads.xml ===

cvs commit: jakarta-commons/dbcp project.xml

2003-10-20 Thread dirkv
dirkv 2003/10/20 12:50:25 Modified:dbcp project.xml Log: prepare for 1.1 final Revision ChangesPath 1.18 +5 -10 jakarta-commons/dbcp/project.xml Index: project.xml === RCS file:

RE: [VOTE][DBCP] Release Commons-DBCP v1.1

2003-10-20 Thread Noel J. Bergman
I'll tag build 1.1 final right now and wait 2-3 days for the result of the vote. I'm in the process of uploading the new James test build, and will grab the new Commons jars as soon as you post that they are available. --- Noel

Re: [digester] Feature addition to digester

2003-10-20 Thread Simon Kitching
On Tue, 2003-10-21 at 05:16, Craig R. McClanahan wrote: Remy Maucherat wrote: Hi, I'd like to add a feature to the digester, allowing property replacement, similar to Ant. Basically, ${...} in an attribute value would get replaced by a property value. And +1 from me. Could you

Re: How to call a constructor with my own values (rather than the XML attributes or elements)

2003-10-20 Thread Simon Kitching
Hi Kumar, You can use the ObjectParamRule to pass literal strings (or other objects) to methods. There is also a PathCallParamRule class in CVS, but it was added since the last release so you would need to download it from CVS. Regards, Simon On Tue, 2003-10-21 at 03:03, Kumar Pankaj wrote:

Re: [VOTE][Pool] Release Commons-Pool v1.1

2003-10-20 Thread John McNally
On Mon, 2003-10-20 at 11:27, Dirk Verbeeck wrote: This is a call for a vote to release version 1.1 of Commons Pool. After a three week review/test period, it's now time to make the final release. There are no unresolved issues, more info below. your votes, please: Release Commons-Pool

Re: [VOTE][DBCP] Release Commons-DBCP v1.1

2003-10-20 Thread John McNally
On Mon, 2003-10-20 at 11:27, Dirk Verbeeck wrote: This is a call for a vote to release version 1.1 of Commons DBCP. After a three week review/test period, it's now time to make the final release. There are no unresolved issues, more info below. your votes, please: Release Commons-DBCP

[digester] why private XXXRule in DigesterRuleParser?

2003-10-20 Thread Ricky Panaglucci
hello, why do classes like PatternRule have private access? now, for adding my own rules which may use surrounding pattern, i just copied the PatternRule source [very brown imho] why not make them protected or public? ricardo

Re: [digester] why private XXXRule in DigesterRuleParser?

2003-10-20 Thread Simon Kitching
Hi Ricky, You must be referring to xmlrules/DigesterRuleParser.java I'm no expert on the xmlrules package. However it is normal practice for classes created solely for the purpose of implementing function X to be declared private. The PatternRule class appears to have been created *not* with

cvs commit: jakarta-commons-sandbox/cli/src/java/org/apache/commons/cli2/validation Validator.java

2003-10-20 Thread jkeyes
jkeyes 2003/10/20 14:23:57 Modified:cli/src/java/org/apache/commons/cli2/validation Validator.java Log: - added Apache License - fixed author tag - added javadoc Revision ChangesPath 1.2 +80 -19

Re: [digester] plugins module ready for evaluation

2003-10-20 Thread robert burrell donkin
On Sunday, October 5, 2003, at 10:53 PM, Simon Kitching wrote: snip Hmm .. but calling Digester.setLogger probably doesn't override the object known to the LogFactory... What exactly is the purpose of being able to set the Log object used by a class or instance? so the instance used to log by

cvs commit: jakarta-commons-sandbox/cli/src/java/org/apache/commons/cli2/validation StringValidator.java

2003-10-20 Thread jkeyes
jkeyes 2003/10/20 14:26:56 Added: cli/src/java/org/apache/commons/cli2/validation StringValidator.java Log: - a validator for string values, when constructing the validator pass in the list of permitted values Revision ChangesPath 1.1

cvs commit: jakarta-commons-sandbox/cli/src/test/org/apache/commons/cli2/apps - New directory

2003-10-20 Thread jkeyes
jkeyes 2003/10/20 14:28:08 jakarta-commons-sandbox/cli/src/test/org/apache/commons/cli2/apps - New directory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

cvs commit: jakarta-commons-sandbox/cli/src/test/org/apache/commons/cli2 ApplicationTest.java

2003-10-20 Thread jkeyes
jkeyes 2003/10/20 14:28:18 Modified:cli/src/test/org/apache/commons/cli2 ApplicationTest.java Added: cli/src/test/org/apache/commons/cli2/apps LsTest.java Log: - factored out ls test from ApplicationTest - WIP LsTest Revision ChangesPath 1.1

Re: [digester] plugins module ready for evaluation

2003-10-20 Thread robert burrell donkin
On Sunday, October 5, 2003, at 10:53 PM, Simon Kitching wrote: On Sun, 2003-10-05 at 00:43, robert burrell donkin wrote: snip 7. Logs at the moment, each plugin class uses it's own and the log cannot be set. i'm not in favour of this pattern for several reasons. most rules implementations use

cvs commit: jakarta-commons-sandbox/cli/src/java/org/apache/commons/cli2/validation UrlValidator.java FileValidator.java DateValidator.java NumberValidator.java InvalidArgumentException.java ClassValidator.java

2003-10-20 Thread jkeyes
jkeyes 2003/10/20 14:40:44 Modified:cli/src/java/org/apache/commons/cli2/validation UrlValidator.java FileValidator.java DateValidator.java NumberValidator.java InvalidArgumentException.java ClassValidator.java

Re: [digester] why private XXXRule in DigesterRuleParser?

2003-10-20 Thread Ricky Panaglucci
simon, nevermind, i don't remember what i did, but pattern value=child object-create-rule classname=xxx/ set-generic-properties-rule/ set-next-rule methodname=addChild/ /pattern now works with [d instanceof Digester] d.addFactoryCreate(*/set-generic-properties-rule, new

cvs commit: jakarta-commons-sandbox/cli/src/java/org/apache/commons/cli2/validation UrlValidator.java FileValidator.java NumberValidator.java InvalidArgumentException.java

2003-10-20 Thread jkeyes
jkeyes 2003/10/20 14:46:13 Modified:cli/src/java/org/apache/commons/cli2/validation UrlValidator.java FileValidator.java NumberValidator.java InvalidArgumentException.java Log: - removed TABs Revision ChangesPath 1.3

Re: [VOTE][DBCP] Release Commons-DBCP v1.1

2003-10-20 Thread Dirk Verbeeck
New jars are available from the usual place http://cvs.apache.org/~dirkv/builds/ PS: can you check if the signature commons-dbcp-1.1-src.tar.gz.asc is OK? -- Dirk Noel J. Bergman wrote: I'll tag build 1.1 final right now and wait 2-3 days for the result of the vote. I'm in the process of

Re: [digester] plugins module ready for evaluation

2003-10-20 Thread Simon Kitching
On Tue, 2003-10-21 at 10:29, robert burrell donkin wrote: On Sunday, October 5, 2003, at 10:53 PM, Simon Kitching wrote: snip Hmm .. but calling Digester.setLogger probably doesn't override the object known to the LogFactory... What exactly is the purpose of being able to set the Log

Re: [primitives] First steps

2003-10-20 Thread Rodney Waldhoff
If everyone else is OK with releasing the 1.0 version under org.apache.commons.collections.primitives (rather than o.a..commons.primitives), that sounds OK to me. If we were to repackage along the type-of-collection lines, we'd likely be able to deprecate-and-move from o.a.c.primitives as well,

An recurring problem(extracting one property out of an ArrayList containing a Bean)

2003-10-20 Thread Yansheng Lin
Hi, Is there a method in the BeanUtils package that allows you to extract one property as a String[] out of an ArrayList containing a collection of Beans? The only thing I found that was close to what I want is: public static String[] getArrayProperty(Object bean, String

cvs commit: jakarta-commons/httpclient/src/test/org/apache/commons/httpclient TestCookie.java TestWebappCookie.java

2003-10-20 Thread olegk
olegk 2003/10/20 15:17:12 Modified:httpclient/src/examples CookieDemoApp.java FormLoginDemo.java httpclient/src/java/org/apache/commons/httpclient Cookie.java HttpMethodBase.java HttpState.java

cvs commit: jakarta-commons-sandbox/primitives/src/java/org/apache/commons/primitive/list/impl StringBufferCharList.java

2003-10-20 Thread scolebourne
scolebourne2003/10/20 15:19:40 Added: primitives/src/java/org/apache/commons/primitive/list/impl StringBufferCharList.java Log: Specialised list implementatoin Revision ChangesPath 1.1

Re: [digester] plugins module ready for evaluation

2003-10-20 Thread Craig R. McClanahan
Simon Kitching wrote: On Tue, 2003-10-21 at 10:29, robert burrell donkin wrote: On Sunday, October 5, 2003, at 10:53 PM, Simon Kitching wrote: snip Hmm .. but calling Digester.setLogger probably doesn't override the object known to the LogFactory... What exactly is the purpose of being

cvs commit: jakarta-commons/httpclient/src/test/org/apache/commons/httpclient TestCookie.java

2003-10-20 Thread olegk
olegk 2003/10/20 15:26:28 Modified:httpclient/src/java/org/apache/commons/httpclient/cookie CookieSpecBase.java httpclient/src/test/org/apache/commons/httpclient TestCookie.java Log: PR# 23866 (Invalid cookie causing

Re: [primitives] First steps

2003-10-20 Thread Stephen Colebourne
I'm +1 to this, as it gets the release out quickly for users, and clears the way for [collections]. Discussion can wait a while. Stephen PS. There are 'how to do a release' notes on the commons website, although I don't fancy executing them for collections! - Original Message - From:

cvs commit: jakarta-commons/httpclient/src/test/org/apache/commons/httpclient TestCookie.java

2003-10-20 Thread olegk
olegk 2003/10/20 15:27:37 Modified:httpclient/src/java/org/apache/commons/httpclient/cookie Tag: HTTPCLIENT_2_0_BRANCH CookieSpecBase.java httpclient/src/test/org/apache/commons/httpclient Tag: HTTPCLIENT_2_0_BRANCH

cvs commit: jakarta-commons-sandbox/primitives/src/java/org/apache/commons/primitive/list/impl StringBufferCharList.java

2003-10-20 Thread scolebourne
scolebourne2003/10/20 15:35:52 Modified:primitives/src/java/org/apache/commons/primitive/list/impl StringBufferCharList.java Log: Javadoc fix Revision ChangesPath 1.2 +2 -2

Re: [digester] plugins module ready for evaluation

2003-10-20 Thread Simon Kitching
On Tue, 2003-10-21 at 11:26, Craig R. McClanahan wrote: Simon Kitching wrote: Regarding your tomcat example, I will have to have a think about this. I'm no expert on complex container architectures, nor on Tomcat, so if you and the Avalon team say the setLog() approach is the only way to go,

cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections AbstractTestList.java

2003-10-20 Thread scolebourne
scolebourne2003/10/20 15:58:28 Modified:collections/src/test/org/apache/commons/collections AbstractTestList.java Log: Handle testing data of size 1 Revision ChangesPath 1.3 +18 -7

cvs commit: jakarta-commons-sandbox/dbutils/src/java/org/apache/commons/dbutils QueryRunner.java

2003-10-20 Thread dgraham
dgraham 2003/10/20 17:12:58 Modified:dbutils/src/java/org/apache/commons/dbutils QueryRunner.java Log: Added javadoc and more versions of query() and update(). There are now methods that take 0, 1, or an array of replacement parameters. Revision ChangesPath 1.6

Re: [primitives] First steps

2003-10-20 Thread Henri Yandell
+1 to the collections.primitives package. The releasing for collections was not too bad last time. One part of it is special to collections, though I don't remember why without looking at the site. I'm still happy to do the sys-adminning if you need. Hen On Mon, 20 Oct 2003, Stephen Colebourne

cvs commit: jakarta-commons/net project.xml

2003-10-20 Thread brekke
brekke 2003/10/20 20:21:41 Modified:net project.xml Log: version number for release to 1.1.0 Revision ChangesPath 1.33 +4 -4 jakarta-commons/net/project.xml Index: project.xml ===

[RESULTS][VOTE] Release Jakarta/Commons v1.1.0

2003-10-20 Thread Jeffrey D. Brekke
Voting results: +1 Daniel F. Savarese [EMAIL PROTECTED] +1 Bruno D'Avanzo [EMAIL PROTECTED] +1 Jeffrey D. Brekke [EMAIL PROTECTED] +1 Matthew Hawthorne [EMAIL PROTECTED] +0 Henri Yandell [EMAIL PROTECTED] +0 Yoav Shapira [EMAIL PROTECTED] This satisfies the Jakarta/Commons Charter and I will

Re: [dbutils] Enhanced* classes

2003-10-20 Thread Henri Yandell
I object to deleting them, but agree they don't offer much. They really exist as an example of the 'driver' package, and should move into some kind of example documentation. They would make a better example if the setLong/getLong methods do the null checking. Switching to using DynamicProxies

Re: [digester] plugins module ready for evaluation

2003-10-20 Thread Craig R. McClanahan
Simon Kitching wrote: On Tue, 2003-10-21 at 11:26, Craig R. McClanahan wrote: Simon Kitching wrote: Regarding your tomcat example, I will have to have a think about this. I'm no expert on complex container architectures, nor on Tomcat, so if you and the Avalon team say the setLog()

cvs commit: jakarta-commons-sandbox/io/xdocs navigation.xml

2003-10-20 Thread matth
matth 2003/10/20 21:37:15 Modified:io/src/java/org/apache/commons/io/input package.html io/src/java/org/apache/commons/io/output package.html io/xdocs navigation.xml Log: Added self to STATUS, fixed bad HTML in package descriptions, updated navigation

cvs commit: jakarta-commons-sandbox/io STATUS.html

2003-10-20 Thread matth
matth 2003/10/20 21:37:50 Modified:io STATUS.html Log: Added self to STATUS Revision ChangesPath 1.12 +25 -24jakarta-commons-sandbox/io/STATUS.html Index: STATUS.html === RCS file:

DO NOT REPLY [Bug 15435] - New Preferences Architecture

2003-10-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15435. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.