RE: [collections] New methods

2006-07-03 Thread Jörg Schaible
Hi James & Stephen, James Carman wrote on Monday, July 03, 2006 6:31 PM: > You can't do a resize method because the code won't know > which way you want > to go with it. For instance, if you ask it to resize(list, 10) and > the list has 20 elements in it, does that mean that you want it to > tri

svn commit: r418918 - /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/time/DurationFormatUtilsTest.java

2006-07-03 Thread bayard
Author: bayard Date: Mon Jul 3 22:38:56 2006 New Revision: 418918 URL: http://svn.apache.org/viewvc?rev=418918&view=rev Log: Removing trace statement Modified: jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/time/DurationFormatUtilsTest.java Modified: jakarta/commons/pr

[lang] Heading towards a Lang 2.2 release?

2006-07-03 Thread Henri Yandell
Is anyone opposed to my starting to put together an rc1 distribution for Lang 2.2? The current state of play can be seen at: http://issues.apache.org/jira/browse/LANG There is one issue left in 2.2; a bug that sometimes passes tests and sometimes fails - regardless of which, I'm not sure how to

[all] Nightlies are back...mostly

2006-07-03 Thread Phil Steitz
Nightlies are back up and running for most components. I still think maven2 + continuum is the way to go long term, but to get the nightlies back up, I hacked together a little bash script based on Craig's and set it up to run as a crontab on vmbuild.apache.org. It would be great if people could

Problem using FileUpload with Jsp page

2006-07-03 Thread Patrick Fulgence G.A.
Hi, I'm working on a project using JSP and Apache Tomcat. I'm new to this technology and I'm getting some problems when trying to upload a file from the client post to my server. I want to allow users to browse their computer for a file and upload it on my server. After that, I want to have a ref

svn commit: r418903 - /jakarta/commons/proper/commons-build/trunk/commons_nightly.sh

2006-07-03 Thread psteitz
Author: psteitz Date: Mon Jul 3 20:10:10 2006 New Revision: 418903 URL: http://svn.apache.org/viewvc?rev=418903&view=rev Log: Initial commit. Added: jakarta/commons/proper/commons-build/trunk/commons_nightly.sh (with props) Added: jakarta/commons/proper/commons-build/trunk/commons_nightly

[jira] Updated: (LANG-269) Shouldn't Commons Lang's StringUtils have a "common" string method?

2006-07-03 Thread Henri Yandell (JIRA)
[ http://issues.apache.org/jira/browse/LANG-269?page=all ] Henri Yandell updated LANG-269: --- Fix Version: 3.0 Sounds attractive. It needs to be coded etc, so I've put it in 3.0 for the moment. Patches with unit tests are welcomed so it can go in an earlier

Re: svn commit: r418646 - /jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/random/RandomDataTest.java

2006-07-03 Thread Phil Steitz
On 7/3/06, Luc Maisonobe <[EMAIL PROTECTED]> wrote: Martin van den Bemt wrote : > I read somewhere that linux will speed up doing encryption when eg the > keyboard is used (those tokens are used in the linux SecureRandom > generator. Hmm...I guess I would have to really fess up to my *real* st

[jira] Created: (LANG-269) Shouldn't Commons Lang's StringUtils have a "common" string method?

2006-07-03 Thread Michael Dang (JIRA)
Shouldn't Commons Lang's StringUtils have a "common" string method? --- Key: LANG-269 URL: http://issues.apache.org/jira/browse/LANG-269 Project: Commons Lang Type: New Feature Environment: generic

Re: svn commit: r418646 - /jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/random/RandomDataTest.java

2006-07-03 Thread Luc Maisonobe
Martin van den Bemt wrote : I read somewhere that linux will speed up doing encryption when eg the keyboard is used (those tokens are used in the linux SecureRandom generator. It is true when the generator is based on bytes read from the /dev/random device, false when /dev/urandom device is

[jira] Updated: (LANG-267) Support char array converters on ArrayUtils

2006-07-03 Thread Henri Yandell (JIRA)
[ http://issues.apache.org/jira/browse/LANG-267?page=all ] Henri Yandell updated LANG-267: --- Fix Version: 2.3 They seem like fine additions. Patches definitely welcomed (then I can push it in to the 2.2 release). > Support char array converters on ArrayUt

Re: svn commit: r418646 - /jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/random/RandomDataTest.java

2006-07-03 Thread Martin van den Bemt
Don't laugh :) I read somewhere that linux will speed up doing encryption when eg the keyboard is used (those tokens are used in the linux SecureRandom generator. Disclaimer : I ain't no expert on this, just read something somewhere.. Mvgr, Martin [EMAIL PROTECTED] wrote: Author: psteitz Dat

[jira] Updated: (LANG-268) StringUtils.join should allow you to pass a range for it (so it only joins a part of the array)

2006-07-03 Thread Will Pugh (JIRA)
[ http://issues.apache.org/jira/browse/LANG-268?page=all ] Will Pugh updated LANG-268: --- Attachment: addRangeToJoin.patch A patch with the new methods as well as new unit tests > StringUtils.join should allow you to pass a range for it (so it only joins a > p

[jira] Created: (LANG-268) StringUtils.join should allow you to pass a range for it (so it only joins a part of the array)

2006-07-03 Thread Will Pugh (JIRA)
StringUtils.join should allow you to pass a range for it (so it only joins a part of the array) --- Key: LANG-268 URL: http://issues.apache.org/jira/browse/LANG-268 Project: Commons

[jira] Updated: (LANG-267) Support char array converters on ArrayUtils

2006-07-03 Thread Andres Almiray (JIRA)
[ http://issues.apache.org/jira/browse/LANG-267?page=all ] Andres Almiray updated LANG-267: Attachment: ArrayUtils.txt Implementation based on similar methods > Support char array converters on ArrayUtils > --- >

[jira] Created: (LANG-267) Support char array converters on ArrayUtils

2006-07-03 Thread Andres Almiray (JIRA)
Support char array converters on ArrayUtils --- Key: LANG-267 URL: http://issues.apache.org/jira/browse/LANG-267 Project: Commons Lang Type: New Feature Versions: 2.2 Reporter: Andres Almiray Priority: Minor

[jira] Commented: (LANG-59) [lang] DateUtils.truncate method is buggy when dealing with DST switching hours

2006-07-03 Thread Henri Yandell (JIRA)
[ http://issues.apache.org/jira/browse/LANG-59?page=comments#action_12419010 ] Henri Yandell commented on LANG-59: --- Most frustatingly, sometimes the test passes and sometimes it fails. Possibly based on time of day the test is run. > [lang] DateUtils.tru

svn commit: r418834 - /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/time/DateUtilsTest.java

2006-07-03 Thread bayard
Author: bayard Date: Mon Jul 3 12:21:14 2006 New Revision: 418834 URL: http://svn.apache.org/viewvc?rev=418834&view=rev Log: Adding unit test for LANG-59. Sometimes passes, sometimes fails Modified: jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/time/DateUtilsTest.java

svn commit: r418833 - /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java

2006-07-03 Thread bayard
Author: bayard Date: Mon Jul 3 12:19:51 2006 New Revision: 418833 URL: http://svn.apache.org/viewvc?rev=418833&view=rev Log: Fixed escaping of backslash-u in javadoc notes for issue reported in LANG-66 Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscape

[jira] Updated: (LANG-66) [lang] StringEscaper.escapeXml() escapes characters > 0x7f

2006-07-03 Thread Henri Yandell (JIRA)
[ http://issues.apache.org/jira/browse/LANG-66?page=all ] Henri Yandell updated LANG-66: -- Bugzilla Id: (was: 38210) Fix Version: (was: 2.2) Commented for 2.2: svn ci -m "Added note in javadoc of issue reported in LANG-66" src/java/org/apache/com

[jira] Updated: (LANG-66) [lang] StringEscaper.escapeXml() escapes characters > 0x7f

2006-07-03 Thread Henri Yandell (JIRA)
[ http://issues.apache.org/jira/browse/LANG-66?page=all ] Henri Yandell updated LANG-66: -- Bugzilla Id: (was: 38210) Fix Version: 2.3 > [lang] StringEscaper.escapeXml() escapes characters > 0x7f > ---

svn commit: r418831 - /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java

2006-07-03 Thread bayard
Author: bayard Date: Mon Jul 3 12:11:02 2006 New Revision: 418831 URL: http://svn.apache.org/viewvc?rev=418831&view=rev Log: Added note in javadoc of issue reported in LANG-66 Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java Modified: jak

[jira] Updated: (LANG-69) [lang] ToStringBuilder throws StackOverflowError when an Object cycle exists

2006-07-03 Thread Henri Yandell (JIRA)
[ http://issues.apache.org/jira/browse/LANG-69?page=all ] Henri Yandell updated LANG-69: -- Bugzilla Id: (was: 36061) Fix Version: 2.3 (was: 2.2) Pushing back to 2.3 as it needs quite a bit of investigation to determine the problem

[jira] Updated: (LANG-266) Wish for StringUtils.join(Collection, *)

2006-07-03 Thread Henri Yandell (JIRA)
[ http://issues.apache.org/jira/browse/LANG-266?page=all ] Henri Yandell updated LANG-266: --- Fix Version: 2.3 Seems like a lot to save on 11 characters, though it would add null protecting. The modification to String.join needs a bit of investigation, qui

Re: [collections] New methods

2006-07-03 Thread Stephen Colebourne
> ListUtils.forceSize(List list, int size) > - trims list size to size if too large > - adds extra nulls to the list if its too small My original proposal was to have one method that trims if too large and grows if too small. So, perhaps there are three methods in total - trim, grow, forceSize

[jira] Resolved: (LANG-265) [patch] Cannot build tests from latest SVN

2006-07-03 Thread Henri Yandell (JIRA)
[ http://issues.apache.org/jira/browse/LANG-265?page=all ] Henri Yandell resolved LANG-265: Fix Version: Nightly Builds Resolution: Fixed Looks like this has been applied/fixed separately. Thanks Stepan. r418568 | scolebourne | 2006-07-02 03:4

[jira] Commented: (COLLECTIONS-110) [collections] Support parametized classes with commons.collections.

2006-07-03 Thread Henri Yandell (JIRA)
[ http://issues.apache.org/jira/browse/COLLECTIONS-110?page=comments#action_12418990 ] Henri Yandell commented on COLLECTIONS-110: --- My thinking is that Commons Collections 4.x should be 1.5 dependent (rolling in whatever community/code we can fro

RE: [collections] New methods

2006-07-03 Thread James Carman
You can't do a resize method because the code won't know which way you want to go with it. For instance, if you ask it to resize(list, 10) and the list has 20 elements in it, does that mean that you want it to trim it back so that it only contains 10 elements? Or, does that mean that it's okay, b

svn commit: r418796 - in /jakarta/commons/proper/commons-build/trunk: nightly_proper_ant_list.txt nightly_proper_maven_list.txt nightly_sandbox_ant_list.txt nightly_sandbox_maven_list.txt

2006-07-03 Thread psteitz
Author: psteitz Date: Mon Jul 3 09:22:23 2006 New Revision: 418796 URL: http://svn.apache.org/viewvc?rev=418796&view=rev Log: Initial commit - nightly build component lists. Old nightly list split depending on a) working maven dist (no -> ant build) b) non-dormant status. Added: jakarta/co

Re: [collections] New methods

2006-07-03 Thread Henri Yandell
On 7/3/06, Stephen Colebourne <[EMAIL PROTECTED]> wrote: Some possible new methods for [collections] ListUtils.trimSize(List list, int size) - trims list size to size if too large ListUtils.forceSize(List list, int size) - trims list size to size if too large - adds extra nulls to the list if i

[collections] New methods

2006-07-03 Thread Stephen Colebourne
Some possible new methods for [collections] ListUtils.trimSize(List list, int size) - trims list size to size if too large ListUtils.forceSize(List list, int size) - trims list size to size if too large - adds extra nulls to the list if its too small ListUtils.copy(List,Object[]) - copy a colle

[EMAIL PROTECTED]: Project commons-jelly-test (in module commons-jelly) failed

2006-07-03 Thread commons-jelly development
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project commons-jelly-test has an issue affecting its community integration. This issue a

[EMAIL PROTECTED]: Project commons-jelly-test (in module commons-jelly) failed

2006-07-03 Thread commons-jelly development
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project commons-jelly-test has an issue affecting its community integration. This issue a

[EMAIL PROTECTED]: Project commons-jelly (in module commons-jelly) failed

2006-07-03 Thread commons-jelly development
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project commons-jelly has an issue affecting its community integration. This issue affect

[EMAIL PROTECTED]: Project commons-jelly (in module commons-jelly) failed

2006-07-03 Thread commons-jelly development
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project commons-jelly has an issue affecting its community integration. This issue affect

RE: JIRA is b0rged for anonymous users

2006-07-03 Thread Jörg Schaible
Luc Maisonobe wrote on Saturday, July 01, 2006 9:54 AM: > Dennis Lundberg wrote : > >> If we want users to log in before they post issues, and I think we >> do, then the user who clicks on the link mentioned above should > end up on a > > page that tells the user to log in or create an account >

RE: JIRA is b0rged for anonymous users

2006-07-03 Thread Jörg Schaible
Hi Dennis, Dennis Lundberg wrote on Saturday, July 01, 2006 12:22 AM: > Jörg Schaible wrote: >> Hi Dennis, >> >> Dennis Lundberg wrote on Thursday, June 29, 2006 6:44 PM: [snip] >>> Here's a snippet from ASF JIRA frontpage: >>> >>> "Welcome to Apache's JIRA issue tracker! >>> >>> Anyone is fre

[EMAIL PROTECTED]: Project commons-id (in module jakarta-commons-sandbox) failed

2006-07-03 Thread Adam Jack
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project commons-id has an issue affecting its community integration. This issue affects 1

[EMAIL PROTECTED]: Project commons-id (in module jakarta-commons-sandbox) failed

2006-07-03 Thread Adam Jack
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project commons-id has an issue affecting its community integration. This issue affects 1