cvs commit: jakarta-commons-sandbox/io/src/java/org/apache/commons/io IOUtil.java

2003-11-26 Thread bayard
bayard 2003/11/26 22:54:58 Removed: io/src/java/org/apache/commons/io IOUtil.java Log: Removing the 4 month deprecated IOUtil class - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

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

2003-11-26 Thread bayard
bayard 2003/11/26 22:40:26 Modified:io/xdocs tasks.xml Log: updated tasks, going to start listing stuff without test cases. Revision ChangesPath 1.6 +5 -1 jakarta-commons-sandbox/io/xdocs/tasks.xml Index: tasks.xml ==

cvs commit: jakarta-commons-sandbox/io/src/java/org/apache/commons/io EndianUtils.java

2003-11-26 Thread bayard
bayard 2003/11/26 22:32:26 Modified:io/src/java/org/apache/commons/io EndianUtils.java Log: Removed comment about unit tests coming soon. It's been 2 years and the other stuff never had ut's anyway. I hope. Else I just wasted a lot of time. Revision ChangesPath 1.7

cvs commit: jakarta-commons-sandbox/io/src/test/org/apache/commons/io EndianUtilsTest.java

2003-11-26 Thread bayard
bayard 2003/11/26 22:30:26 Modified:io/src/test/org/apache/commons/io EndianUtilsTest.java Log: added read/write double byte methods Revision ChangesPath 1.6 +25 -4 jakarta-commons-sandbox/io/src/test/org/apache/commons/io/EndianUtilsTest.java Index: Endi

cvs commit: jakarta-commons-sandbox/io/src/test/org/apache/commons/io EndianUtilsTest.java

2003-11-26 Thread bayard
bayard 2003/11/26 22:27:52 Modified:io/src/test/org/apache/commons/io EndianUtilsTest.java Log: removed unused line and added the read/write float byte methods Revision ChangesPath 1.5 +23 -5 jakarta-commons-sandbox/io/src/test/org/apache/commons/io/EndianUtil

cvs commit: jakarta-commons-sandbox/io/src/test/org/apache/commons/io EndianUtilsTest.java

2003-11-26 Thread bayard
bayard 2003/11/26 20:08:14 Modified:io/src/test/org/apache/commons/io EndianUtilsTest.java Log: Added unit tests for the read/write methods for short/int/long with byte[]. Revision ChangesPath 1.4 +50 -4 jakarta-commons-sandbox/io/src/test/org/apache/commons/i

cvs commit: jakarta-commons-sandbox/io/src/java/org/apache/commons/io EndianUtils.java

2003-11-26 Thread bayard
bayard 2003/11/26 20:07:09 Modified:io/src/java/org/apache/commons/io EndianUtils.java Log: The byte array element when shifted is only in an 'int' scope I believe, so when it's shifted by more than 24, it goes off the end. My solution is to break in two parts and then shift

cvs commit: jakarta-commons-sandbox/io/src/java/org/apache/commons/io EndianUtils.java

2003-11-26 Thread bayard
bayard 2003/11/26 18:58:10 Modified:io/src/java/org/apache/commons/io EndianUtils.java Log: It seems that the values passed into writeShort methods should be shorts not ints. Revision ChangesPath 1.5 +3 -3 jakarta-commons-sandbox/io/src/java/org/apache/common

Re: [VOTE] New committer - Neil O'Toole

2003-11-26 Thread peter royal
[X] +1, Yes let him commit -pete - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [collections][PROPOSAL] Remove Observable subpackage

2003-11-26 Thread Neil O'Toole
--- Stephen Colebourne <[EMAIL PROTECTED]> wrote: > We've had all positives so far. I'm going to take this as agreed and > move > the code to a new sandbox project. I reckon [observable] is probably > the > best name, although I'm open to offers. I don't have strongly held opinions on the naming,

RE: [lang][PATCH] ArrayUtil.subarray(Object, startIndex, endIndex) implementatio

2003-11-26 Thread Ash ..
Some comments: 1) You should try to match the style of the surrounding code. For your submission this means spaces after if and for, brackets around the if statements, and brackets at the end of lines. In many cases I just use eclipse to reformat new code, but the missing if statement brackets wo

Re: [configuration]Re: Stranger error when I parse XML file

2003-11-26 Thread Mai,Nguyen Huu
Hi Oliver I made an hard-code of pathname, but it still doesn't work Below is my error log org.dom4j.DocumentException: file:/c:/mvncore.xml:1: XML file has no top-element. All well-formed XML files have a single top-level element. Nested exception: file:/c:/mvncore.xml:1: XML file has no top-ele

[Collections] map for 1-to-N relationships both ways

2003-11-26 Thread Ryan Schutt
I have an idea for a Map that I think would fit nicely in the commons collections library. The idea is to add a method Set keySetForValue(Object value) that would return the set of key's that are mapped to the given value. For example: map.put("1", "2"); map.put("2", "1"); map.put("3", "3"); m

Re: [digester] [PATCH] Adding Ant-like properties support

2003-11-26 Thread Simon Kitching
On Thu, 2003-11-27 at 00:01, Simon Kitching wrote: > Attached is a complete implementation of the "variable expansion" > feature. I do also have some unit tests for it, but unfortunately they > are still on my home PC so I will have to send them tomorrow. And here it is (plus a patch to add the te

RE: [VOTE] New committer - Neil O'Toole

2003-11-26 Thread Arun Thomas
+1 -Original Message- From: Stephen Colebourne [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 2:35 PM To: Jakarta Commons Developers List Subject: [VOTE] New committer - Neil O'Toole I would like to nominate Neil O'Toole as an Apache Jakarta Commons committer. Neil has be

Re: [collections] CaseInsensitiveHashMap

2003-11-26 Thread Stephen Colebourne
Something like this would be required, yes. I'm kindof hoping someone will volunteer to write the HashMapA class so we can get this started. For reasons related to the new MapIterator it needs to go into v3.0. Stephen - Original Message - From: "Keith Bennett" <[EMAIL PROTECTED]> > A rela

Re: [collections] CaseInsensitiveHashMap

2003-11-26 Thread Keith Bennett
A relatively minor point in most situations, but one that could be important with cross-locale applications: would you want to provide a way for the user to set the locale with which toLowerCase() will do the case conversion in the map? Perhaps an alternate constructor? - Keith

Re: [VOTE] New committer - Neil O'Toole

2003-11-26 Thread __matthewHawthorne
+1 Stephen Colebourne wrote: I would like to nominate Neil O'Toole as an Apache Jakarta Commons committer. Neil has been a regular contributer to discssions on commons for a long time, and recently made a large contribution in the form of the collections observable package. I feel the time has com

Re: Commons-collections on Gump

2003-11-26 Thread Stefan Bodewig
On Wed, 26 Nov 2003, Adam R. B. Jack <[EMAIL PROTECTED]> wrote: > Could you suggest a target that only does compilation, and perhaps > unit tests? And builds the jar, of course. Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Commons-collections on Gump

2003-11-26 Thread Adam R. B. Jack
> Fixed in CVS, although I have to admit that I wasn't aware that gump was > building javadocs. Yup, it is overkill. Somebody set the Gump descriptor to have an ant target of 'dist'. Could you suggest a target that only does compilation, and perhaps unit tests? regards, Adam ---

RE: File Upload does not work....

2003-11-26 Thread Shah, Mehul - Contractor
Craig, I am not including the servlet.jar file in my war file and I have the common jar file "commons-fileupload-1.0.jar" in the WEB-INF\lib folder. I appreciate your help. -Mehul Shah -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 2

DO NOT REPLY [Bug 25019] New: - ConcurrentModificationException thrown in ValidatorResources

2003-11-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 25018] - CommandLine getArgList() serves no options but args, only

2003-11-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 25018] New: - CommandLine getArgList() serves no options but args, only

2003-11-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 24997] - [dbutils] Implement Pluggable Adaptors to Make BeanHandler Smarter

2003-11-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

[jira] Updated: (JELLY-98) [patch] forEach items cannot handle comma-separated String

2003-11-26 Thread jira
The following issue has been updated: Updater: Jörg Schaible (mailto:[EMAIL PROTECTED]) Date: Wed, 26 Nov 2003 7:51 AM Comment: Update patch to support commons-lang-1.0. CAUTION: Please ignore patch to project.xml, since usage of commons-lang-2.0 breaks a lot of unit tests for Jell

[jira] Updated: (JELLY-98) [patch] forEach items cannot handle comma-separated String

2003-11-26 Thread jira
The following issue has been updated: Updater: Jörg Schaible (mailto:[EMAIL PROTECTED]) Date: Wed, 26 Nov 2003 7:22 AM Comment: patch suite.jelly with a new test case Changes: Attachment changed to suite.jelly.diff ---

Re: [latka]Project alive?

2003-11-26 Thread Janek Bogucki
On Wed, 2003-11-26 at 04:59, Oliver Heger wrote: > Fine! Then would there be interest for the following feature: > > I have written a simple HTML parser that is able to extract links ( > tags, forms, frames) from HTML pages. My tool that I have mentioned in > my first mail, stores these links fo

Re: [configuration]Re: Stranger error when I parse XML file

2003-11-26 Thread Oliver Heger
I don't think this error is related to configuration either, it appears directly in dom4j when the XML file is loaded. Perhaps you could try to parse the file with dom4j directly. And one other thing: The error message says "org.dom4j.DocumentException: file:/C:/resin-2.1.9:1". I would expect

RE: [configuration]Re: Stranger error when I parse XML file

2003-11-26 Thread Eric Pugh
It sounds like xml parser hell! Try creating the simplest possible file that will run.. You could also try and run the unit tests for commons-configuration in your debugger/IDE to see if it is passing in something odd... ERic > -Original Message- > From: Mai,Nguyen Huu [mailto:[EMAIL PR

Re: [configuration]Re: Stranger error when I parse XML file

2003-11-26 Thread Mai,Nguyen Huu
Hello Oli Below is my error trace org.dom4j.DocumentException: file:/C:/resin-2.1.9:1: XML file has no top-element. All well-formed XML files have a single top-level element. Nested exception: file:/C:/resin-2.1.9:1: XML file has no top-element. All well-formed XML files have a single top-level

Re: [latka]Project alive?

2003-11-26 Thread Oliver Heger
Fine! Then would there be interest for the following feature: I have written a simple HTML parser that is able to extract links ( tags, forms, frames) from HTML pages. My tool that I have mentioned in my first mail, stores these links for all pages that it has loaded. It then allows to define r

[configuration]Re: Stranger error when I parse XML file

2003-11-26 Thread Oliver Heger
Hm, this is really a bit strange. Could you perhaps provide a full stack trace with the exception that occurs? It may be related to the class path of your servlet container. Is dom4j included? Oli Mai,Nguyen Huu wrote: Hi folks I am a new with configuration Right now, I have problem when load

Re: DBCP problem with Oracle 9i and default isolation settings

2003-11-26 Thread Oliver Zeigermann
Thanks, Dirk, I have now :) Oliver Dirk Verbeeck wrote: Sounds OK, please make a bugzilla issue for it -- Dirk Oliver Zeigermann wrote: Hi! I am currently porting Jakarta-Slide's DB backend to Oracle 9i using DBCP. The problem is Oracle expects the setting of the isolation level to be the f

cvs commit: jakarta-commons-sandbox/io/src/test/org/apache/commons/io EndianUtilsTest.java

2003-11-26 Thread bayard
bayard 2003/11/26 00:15:32 Modified:io/src/test/org/apache/commons/io EndianUtilsTest.java Log: Can't say I understand Float.intBitsToFloat and the Double.longBitsToDouble, but seems to pass the test well enough. I just have this feeling it should be complaining about lost bits.

DO NOT REPLY [Bug 25001] - PATCH: Oracle 9i and default isolation settings

2003-11-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 25001] New: - PATCH: Oracle 9i and default isolation settings

2003-11-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

cvs commit: jakarta-commons-sandbox/io/src/test/org/apache/commons/io EndianUtilsTest.java

2003-11-26 Thread bayard
bayard 2003/11/25 23:56:38 Modified:io/src/test/org/apache/commons/io EndianUtilsTest.java Log: Filled things in a bit more test wise. Revision ChangesPath 1.2 +21 -6 jakarta-commons-sandbox/io/src/test/org/apache/commons/io/EndianUtilsTest.java Index: En

cvs commit: jakarta-commons-sandbox/io/src/test/org/apache/commons/io EndianUtilsTest.java

2003-11-26 Thread bayard
bayard 2003/11/25 23:50:05 Added: io/src/test/org/apache/commons/io EndianUtilsTest.java Log: the beginnings of a unit test for this class Revision ChangesPath 1.1 jakarta-commons-sandbox/io/src/test/org/apache/commons/io/EndianUtilsTest.java Ind

cvs commit: jakarta-commons-sandbox/io/src/java/org/apache/commons/io EndianUtil.java

2003-11-26 Thread bayard
bayard 2003/11/25 23:27:26 Removed: io/src/java/org/apache/commons/io EndianUtil.java Log: Killing this to get to 1.0. The pluralised class has the better javadoc and has been around since July. The only difference is that EndianUtil has 5 constants that EndianUtil(s) itsel

[io] EndianUtil

2003-11-26 Thread Henri Yandell
I've gone ahead and removed this from Commons IO in place of EndianUtils. The pluralised class has the better javadoc and has been around since July. The only difference is that EndianUtil has 5 constants that EndianUtil(s) itself has no need for. Hen ---