Re: [dbcp] JDBC 3.0 and JDK 1.4

2002-03-18 Thread John McNally
Here is a patch that allows dbcp to be compiled under jdk 1.3 and 1.4. The TesterXXX classes are Lev's noop versions. I implemented working versions for the DelegatingXXX classes. The new methods are surrounded by comments. I modified the build system to copy the src to a build directory and

Re: [dbcp] Works with JNDI, but some remarks...

2002-03-18 Thread Lev Assinovsky
Hello Craig! Craig R. McClanahan wrote: On Sun, 17 Mar 2002, Lev Assinovsky wrote: That's two separate issues. First, the JNDI namespace that Tomcat 4 gives you is indeed read only -- it is populated from resources that are configured in server.xml, as described in the Tomcat

Digester/BuanUtils Error trapping ...

2002-03-18 Thread Greg McCreath
Hi All, This is my first posting here. I'm looking at using the Digester class to construct object trees from a config XML file. I looks like a handy tool. I've been investigating it this morning and noticed that no error/exception is thrown by beanutils when a property setter does not exist

Logging promo action

2002-03-18 Thread Tomasz Pik
Hi there, I have to use FOP and POI in one project. And I've found, that I have to include Avalon LogKit and Log4j - one for FOP and one for POI. Maybe 'Commons' team should take the action of promote Commons Logging through various Jakarta projects as a standard of perfoming loging in the code?

Re: [dbcp] JDBC 3.0 and JDK 1.4

2002-03-18 Thread Lev Assinovsky
John! Good job! John McNally wrote: Here is a patch that allows dbcp to be compiled under jdk 1.3 and 1.4. The TesterXXX classes are Lev's noop versions. I implemented working versions for the DelegatingXXX classes. The new methods are surrounded by comments. I modified the build

cvs commit: jakarta-commons-sandbox/periodicity build.xml

2002-03-18 Thread prickett
prickett02/03/17 22:16:47 Modified:periodicity build.xml Log: Added an update-dependencies build task Submitted by: Jeff Prickett Revision ChangesPath 1.10 +6 -1 jakarta-commons-sandbox/periodicity/build.xml Index: build.xml

cvs commit: jakarta-commons-sandbox/jdbc2pool/src/java/org/apache/commons/jdbc2pool/adapter DriverAdapterCPDS.java

2002-03-18 Thread jmcnally
jmcnally02/03/17 22:33:01 Modified:jdbc2pool/src/java/org/apache/commons/jdbc2pool/adapter DriverAdapterCPDS.java Log: added the properties related to the PreparedStatement pool to the Referenceable and ObjectFactory implementations. unsynchronized

cvs commit: jakarta-commons-sandbox/jdbc2pool build.xml default.properties

2002-03-18 Thread jmcnally
jmcnally02/03/17 22:40:49 Modified:jdbc2pool build.xml default.properties Log: changes due to package reorganization from commons-util to commons-lang added commons-collections as a dependency for use of FastHashMap added some test properties Revision Changes

cvs commit: jakarta-commons-sandbox/jdbc2pool/src/java/org/apache/commons/jdbc2pool Jdbc2PoolDataSource.java

2002-03-18 Thread jmcnally
jmcnally02/03/17 22:49:32 Modified:jdbc2pool/src/java/org/apache/commons/jdbc2pool Jdbc2PoolDataSource.java Log: modified the mapped properties to follow the format given by commons-beanutils. added all the properties to the Referenceable and

cvs commit: jakarta-commons-sandbox/jdbc2pool/src/java/org/apache/commons/jdbc2pool TorqueClassicDataSource.java

2002-03-18 Thread jmcnally
jmcnally02/03/17 22:51:31 Modified:jdbc2pool/src/java/org/apache/commons/jdbc2pool TorqueClassicDataSource.java Log: class movement from commons-util to commons-lang Revision ChangesPath 1.2 +5 -5

cvs commit: jakarta-commons-sandbox/jdbc2pool/src/test - New directory

2002-03-18 Thread jmcnally
jmcnally02/03/17 22:52:16 jakarta-commons-sandbox/jdbc2pool/src/test - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons-sandbox/jdbc2pool/src/test/org - New directory

2002-03-18 Thread jmcnally
jmcnally02/03/17 22:52:20 jakarta-commons-sandbox/jdbc2pool/src/test/org - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons-sandbox/jdbc2pool/src/test/org/apache - New directory

2002-03-18 Thread jmcnally
jmcnally02/03/17 22:52:25 jakarta-commons-sandbox/jdbc2pool/src/test/org/apache - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons-sandbox/jdbc2pool/src/test/org/apache/commons - New directory

2002-03-18 Thread jmcnally
jmcnally02/03/17 22:52:34 jakarta-commons-sandbox/jdbc2pool/src/test/org/apache/commons - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons-sandbox/jdbc2pool/src/test/org/apache/commons/jdbc2pool - New directory

2002-03-18 Thread jmcnally
jmcnally02/03/17 22:52:41 jakarta-commons-sandbox/jdbc2pool/src/test/org/apache/commons/jdbc2pool - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons-sandbox/jdbc2pool/src/test/org/apache/commons/jdbc2pool Jdbc2PoolTest.java

2002-03-18 Thread jmcnally
jmcnally02/03/17 22:53:29 Added: jdbc2pool/src/test/org/apache/commons/jdbc2pool Jdbc2PoolTest.java Log: tests of the Jdbc2PoolDataSource Revision ChangesPath 1.1

Re: cvs commit: jakarta-commons-sandbox/periodicity/conf/torquebuild.jars.properties deps.list

2002-03-18 Thread Jason van Zyl
On Mon, 2002-03-18 at 00:26, Jeff Prickett wrote: On 17 Mar 2002, Jason van Zyl wrote: On Sun, 2002-03-17 at 12:57, [EMAIL PROTECTED] wrote: snip If you're trying to use the turbine stuff you can toss almost everything if you use maven. All you need is a project descriptor file and

RE: Digester/BuanUtils Error trapping ...

2002-03-18 Thread Scott Sanders
I suppose you could write a Property setter rule to do this. The general theory behind Digester is not for validation, but configuration. It will try and match as many properties from the XML to the actual bean as it can, but it was actually designed to not care if it can't. Hope this helps.

RE: Logging promo action

2002-03-18 Thread Scott Sanders
It will happen :) Scott -Original Message- From: Tomasz Pik [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 4:13 AM To: [EMAIL PROTECTED] Subject: Logging promo action Hi there, I have to use FOP and POI in one project. And I've found, that I have to include

Re: [COLLECTIONS] [VOTE] Release Collections 2.0

2002-03-18 Thread Morgan Delagrange
- Original Message - From: Michael A. Smith [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED]; Morgan Delagrange [EMAIL PROTECTED] Sent: Sunday, March 17, 2002 11:00 PM Subject: Re: [COLLECTIONS] [VOTE] Release Collections 2.0 On Fri, 15 Mar 2002, Morgan

Re: [COLLECTIONS] [VOTE] Release Collections 2.0

2002-03-18 Thread Michael A. Smith
On Mon, 18 Mar 2002, Morgan Delagrange wrote: For example, ArrayEnumeration takes an Object as a parameter, but does not provide checking on that to ensure that it is actually an Array. The checking would eventually be provided when the hasNext or next methods are called (in the form of

Re: [COLLECTIONS] [VOTE] Release Collections 2.0

2002-03-18 Thread Morgan Delagrange
- Original Message - From: Michael A. Smith [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED]; Morgan Delagrange [EMAIL PROTECTED] Sent: Monday, March 18, 2002 5:09 PM Subject: Re: [COLLECTIONS] [VOTE] Release Collections 2.0 On Mon, 18 Mar 2002, Morgan

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

2002-03-18 Thread morgand
morgand 02/03/18 15:49:20 Modified:collections/src/java/org/apache/commons/collections ArrayEnumeration.java Log: deprecated ArrayEnumeration Revision ChangesPath 1.3 +9 -4

cvs commit: jakarta-commons/collections RELEASE-NOTES-2.0.html

2002-03-18 Thread morgand
morgand 02/03/18 15:51:05 Modified:collections RELEASE-NOTES-2.0.html Log: deprecated ArrayEnumeration Revision ChangesPath 1.8 +8 -0 jakarta-commons/collections/RELEASE-NOTES-2.0.html Index: RELEASE-NOTES-2.0.html

RE: [COLLECTIONS] [VOTE] Release Collections 2.0

2002-03-18 Thread Tim Vernum
From: Michael A. Smith [mailto:[EMAIL PROTECTED]] ArrayIterator was fail-fast. Unfortunately I can't think of a way to do it that's not really hokey. ArrayIterator can take an array of primitives, and there is no specific operation I know of to determine if an Object is an array of

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

2002-03-18 Thread morgand
morgand 02/03/18 16:05:16 Modified:collections/src/test/org/apache/commons/collections TestArrayIterator2.java Log: using the setArray(Object) method no longer produces an out of bounds exception Revision ChangesPath 1.3 +29 -4

cvs commit: jakarta-commons/collections RELEASE-NOTES-2.0.html

2002-03-18 Thread morgand
morgand 02/03/18 16:11:56 Modified:collections RELEASE-NOTES-2.0.html Log: using the ArrayIterator.setArray(Object) method no longer produces an out of bounds exception Revision ChangesPath 1.9 +3 -1 jakarta-commons/collections/RELEASE-NOTES-2.0.html

RE: [COLLECTIONS] [VOTE] Release Collections 2.0

2002-03-18 Thread Michael A. Smith
On Tue, 19 Mar 2002, Tim Vernum wrote: yeah, I think I did mean ArrayIterator. The simple way of doing this would be to use Array.getLength(array). That does the checking for you. Doesn't obj.getClass().isArray() work? Yup, but we need to calculate the length of the array anyway to

DO NOT REPLY [Bug 7226] New: - Nested Bean Collection

2002-03-18 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=7226. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

cvs commit: jakarta-commons build.properties.sample

2002-03-18 Thread jefft
jefft 02/03/18 16:46:16 Modified:.build.properties.sample Log: Parametrize properties a bit more. Revision ChangesPath 1.5 +5 -4 jakarta-commons/build.properties.sample Index: build.properties.sample

cvs commit: jakarta-commons-sandbox/periodicity build.xml

2002-03-18 Thread prickett
prickett02/03/18 16:54:39 Modified:periodicity build.xml Log: Added a war target to the build file Added a javadoc-clean target to the build file Added a real clean target tothe build file Fixed the javadoc target to make the javadoc directory Submitted by:Jeff Prickett

DO NOT REPLY [Bug 7226] - Nested Bean Collection

2002-03-18 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=7226. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: [dbcp] JDBC 3.0 and JDK 1.4

2002-03-18 Thread Craig R. McClanahan
On Mon, 18 Mar 2002, Lev Assinovsky wrote: Date: Mon, 18 Mar 2002 17:02:44 +0300 From: Lev Assinovsky [EMAIL PROTECTED] Reply-To: Jakarta Commons Developers List [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Subject: Re: [dbcp] JDBC 3.0 and JDK 1.4 John! Good

cvs commit: jakarta-commons-sandbox/periodicity build.xml

2002-03-18 Thread prickett
prickett02/03/18 19:37:40 Modified:periodicity build.xml Log: Added a value for build.sysclasspath. The system classpath is first and the defined classpaths are next Added a dependency on extract-torque-files for update-id-xml. Added a project-create-mysql-db task Added a

Re: cvs commit: jakarta-commons/digester build.properties.sample

2002-03-18 Thread Daniel Rall
Why not use lib.repo instead of root? Many other projects are already using this variable to point to the location where Java libraries are rooted. [EMAIL PROTECTED] writes: jefft 02/03/18 17:30:59 Modified:digester build.properties.sample Log: More properties

cvs commit: jakarta-commons-sandbox/periodicity build.xml

2002-03-18 Thread prickett
prickett02/03/18 19:51:00 Modified:periodicity build.xml Log: Added a generate-create-sql target to the build file. This separates out the creation of the db creation schema from the execution of the schema against the database. Added a project-create-postgresql-db task

Re: [collections] PriorityQueue

2002-03-18 Thread Michael A. Smith
On Mon, 18 Mar 2002, otisg wrote: Take a look at this: http://marc.theaimsgroup.com/?l=lucene-devm=101356466003978w=2 http://marc.theaimsgroup.com/?l=lucene-devm=101484185405376w=2 (PrioerityQueue is mentioned further down in this second message) I'm not sure the relevance. Most of the

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

2002-03-18 Thread mas
mas 02/03/18 20:34:18 Modified:collections RELEASE-NOTES-2.0.html collections/src/java/org/apache/commons/collections BinaryHeap.java PriorityQueue.java collections/src/test/org/apache/commons/collections

property naming (Re: cvs commit: jakarta-commons/digester build.properties.sample)

2002-03-18 Thread Jeff Turner
On Mon, Mar 18, 2002 at 07:49:29PM -0800, Daniel Rall wrote: Why not use lib.repo instead of root? Many other projects are already using this variable to point to the location where Java libraries are rooted. By library repository, do you mean a directory full of random jars, copied or

Re: property naming (Re: cvs commit: jakarta-commons/digesterbuild.properties.sample)

2002-03-18 Thread Craig R. McClanahan
On Tue, 19 Mar 2002, Jeff Turner wrote: Date: Tue, 19 Mar 2002 15:33:28 +1100 From: Jeff Turner [EMAIL PROTECTED] Reply-To: Jakarta Commons Developers List [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Subject: property naming (Re: cvs commit:

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

2002-03-18 Thread mas
mas 02/03/18 20:49:00 Modified:collections/src/java/org/apache/commons/collections BinaryHeap.java collections/src/test/org/apache/commons/collections TestBinaryHeap.java Log: Fixed copyright date in license of

Re: property naming (Re: cvs commit: jakarta-commons/digester build.properties.sample)

2002-03-18 Thread Jeff Turner
On Mon, Mar 18, 2002 at 08:41:22PM -0800, Craig R. McClanahan wrote: On Tue, 19 Mar 2002, Jeff Turner wrote: On Mon, Mar 18, 2002 at 07:49:29PM -0800, Daniel Rall wrote: Why not use lib.repo instead of root? Many other projects are already using this variable to point to the location

cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections/comparators ComparableComparator.java

2002-03-18 Thread mas
mas 02/03/18 21:09:05 Modified:collections/src/java/org/apache/commons/collections/comparators ComparableComparator.java Log: Added static method to retrieve a shared instance. Revision ChangesPath 1.4 +16 -1

[collections] ReverseComparator

2002-03-18 Thread Michael A. Smith
I just noticed that ReverseComparator has a no-arg constructor which essentially returns -1 for all comparisons. This is the same as if a null comparator is passed to the single-arg constructor. Doing so breaks the contract for a comparator [sgn(compare(x, y)) == -sgn(compare(y, x))]. I

Re: [collections] PriorityQueue

2002-03-18 Thread otisg
http://marc.theaimsgroup.com/?l=lucene-devm=101356466003978w=2 http://marc.theaimsgroup.com/?l=lucene-devm=101484185405376w=2 (PrioerityQueue is mentioned further down in this second message) I'm not sure the relevance. Most of the discussion is centered around Lucene's implementation of a

Re: property naming (Re: cvs commit: jakarta-commons/digester build.properties.sample)

2002-03-18 Thread Martin Cooper
[+1] Standardize on the project-centric 'base.path' approach. [ ] Standardize on the repository-centric 'lib.repo' approach. [ ] Leave as is. (I'm expressing a personal preference, not declaring that it's better.) -- Martin Cooper - Original Message - From: Jeff Turner [EMAIL

cvs commit: jakarta-commons/dbcp/src/test/org/apache/commons/dbcp TesterConnection.java TesterPreparedStatement.java TesterResultSet.java TesterStatement.java

2002-03-18 Thread craigmcc
craigmcc02/03/18 22:05:34 Modified:dbcp build.xml dbcp/src/java/org/apache/commons/dbcp DelegatingConnection.java DelegatingPreparedStatement.java DelegatingStatement.java

Re: Digester/BuanUtils Error trapping ...

2002-03-18 Thread Craig R. McClanahan
On Mon, 18 Mar 2002, Greg McCreath wrote: Date: Mon, 18 Mar 2002 13:04:56 +0100 From: Greg McCreath [EMAIL PROTECTED] Reply-To: Jakarta Commons Developers List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Digester/BuanUtils Error trapping ... Hi All, This is my

Re: cvs commit: jakarta-commons-sandbox/periodicity/conf/torquebuild.jars.properties deps.list

2002-03-18 Thread Jeff Prickett
On 18 Mar 2002, Jason van Zyl wrote: On Mon, 2002-03-18 at 00:26, Jeff Prickett wrote: On 17 Mar 2002, Jason van Zyl wrote: snip We have some pretty hairy builds in Turbine, dealing with code generation as you are and performing run time tests that are complicated in themselves. I will

cvs commit: jakarta-commons-sandbox/periodicity/conf/torque build.db.properties build.mysql.properties

2002-03-18 Thread prickett
prickett02/03/18 22:10:37 Added: periodicity/conf/torque build.db.properties Removed: periodicity/conf/torque build.mysql.properties Log: Changed the name of build.mysql.properties to a more appropriate build.db.properties Revision ChangesPath 1.1

cvs commit: jakarta-commons/validator/src/share/org/apache/commons/validator Field.java

2002-03-18 Thread dwinterfeldt
dwinterfeldt02/03/18 22:18:43 Modified:validator/src/share/org/apache/commons/validator Field.java Log: The isIndexed only checks if indexedListProperty is set and indexedListProperty is used instead of indexedProperty when generating the key. PropertyUtils works with just

Can't build Collections

2002-03-18 Thread Martin Cooper
Attempting to build jakarta-collections tonight results in the following: build-java: [mkdir] Created dir: C:\src\jakarta\jakarta-commons\collections\dist\classes [javac] Compiling 43 source files to C:\src\jakarta\jakarta-commons\collecti ons\dist\classes [javac]