Re: [lang] StringUtils.containsOnly

2002-09-27 Thread scolebourne
from:Steve Downey [EMAIL PROTECTED] Also, this is a case of 'fixing' the standard Java library. String.indexOf(String str) will throw a NPE if str is null. [That's where indexOfAny will throw] It also can't be called on a null string. IMO StringUtils is a different proposition to a

Re: [Jelly]Expression as an attribute

2002-09-27 Thread James Strachan
Hi Kurt From: Kurt Rush [EMAIL PROTECTED] Hey, Sorry about the double post :( I forgot to put Jelly in the subject... I cannot seem to get this right... In my custom tag I would like to have the value of an attribute be an expression like this: ejb:create var=bean ejb:param

next possible commons project [regexp]

2002-09-27 Thread Tomasz Pik
My summary of the discussion that I started: 1 Many thanks to everybody, who responds; 2 I didn't know about 'pluggable' ORO possibilty, I'll take a look at this (puting something in commons only to have 'commons' in package name is not a good idea); 3 I agree that totally 'bootstraping'

[GUMP] Build Failure - commons-httpclient

2002-09-27 Thread Stefan Bodewig
This email is autogenerated from the output from: http://jakarta.apache.org/builds/gump/2002-09-27/commons-httpclient.html Buildfile: build.xml init: [echo] HttpClient Library

Re: [Jelly]Expression as an attribute

2002-09-27 Thread Kurt Rush
Hey James, Thanks for the feedback. I found the problem elsewhere. I was creating a context for the tag before I executed it and I did not set the old context to be the parent of the new context. So the attribute 'value' could not find a variable called 'name'. Hence no value in 'value'.

RE: [VOTE] Validator 1.0 Release (Second Call)

2002-09-27 Thread Scott Sanders
You are volunteering to be the Release Manager? If so, I am +1, and willing the help with publishing if you don't have access. Scott -Original Message- From: James Turner [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 9:23 AM To: [EMAIL PROTECTED] Subject: [VOTE]

Re: [beanutils] Question about BeanComparator

2002-09-27 Thread robert burrell donkin
On Thursday, September 26, 2002, at 11:05 PM, [EMAIL PROTECTED] wrote: I think Ola and Robert and Henri are all correct.. I think I was just looking for a bit of a push in the right direction! Should I submit my test case for BeanComparator now (with my test on booleans removed), or wait

[beanutils] plan for 1.5 release

2002-09-27 Thread robert burrell donkin
release plan release manager: scott sanders version number: 1.5 features:localization support and bug fixes to do: fix bug #12458 (since no one's volunteered) i'll take a look at this fix bug #12728 scott - you're handling this.

Re: Released Commons Logging 1.0.2

2002-09-27 Thread robert burrell donkin
good work richard. - robert On Friday, September 27, 2002, at 05:08 PM, Richard Sitze wrote: The Commons team is proud to announce a release of Commons Logging 1.0.2. This release introduces bug fixes for various NullPointerExceptions, and Security Exceptions in J2EE environments.

RE: [VOTE] Validator 1.0 Release (Second Call)

2002-09-27 Thread James Turner
At 12:34 PM 9/27/2002, Scott Sanders wrote: You are volunteering to be the Release Manager? If so, I am +1, and willing the help with publishing if you don't have access. I am in fact volunteering to RM the release. So thanks for the vote, and the offer of help. James -- To unsubscribe,

RE: [VOTE] Validator 1.0 Release (Second Call)

2002-09-27 Thread Martin Cooper
+1 I think it would be great if we could get a DTD into the first release, as Taras Tielkes suggested. It'd be nice to see his other comments addressed also, but I wouldn't hold up the first release for them. I can help with the release process if needed. -- Martin Cooper -Original

DO NOT REPLY [Bug 12888] - [jelly] JDBC sql result set leak

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

Re: [beanutils] plan for 1.5 release

2002-09-27 Thread Gregory M. Messner
Attached is a small patch for MethodUtils.java. It simply changes the visibility of getMatchingAccessibleMethod() from private to public. This is needed for a patch I submitted for digester, so I'm hoping to get it into the 1.5 release. I have twice previously submitted this patch using the

Re: [beanutils] plan for 1.5 release

2002-09-27 Thread robert burrell donkin
On Friday, September 27, 2002, at 06:54 PM, Gregory M. Messner wrote: Attached is a small patch for MethodUtils.java. It simply changes the visibility of getMatchingAccessibleMethod() from private to public. This is needed for a patch I submitted for digester, so I'm hoping to get it

[lang] proposal to add a couple of methods to StringUtils

2002-09-27 Thread Steven Caswell
I'd like to add the following methods to StringUtils: String defaultString(Object obj) - behaves the same as defaultString(String), invoking toString() on the obj to return the string, or blank if obj is null String defaultString(Object obj, String defaultString) - same as defaultString(String,

cvs commit: jakarta-commons/logging STATUS.html

2002-09-27 Thread rdonkin
rdonkin 2002/09/27 11:39:12 Modified:logging STATUS.html Log: Updated STATUS document with release information. Revision ChangesPath 1.9 +22 -3 jakarta-commons/logging/STATUS.html Index: STATUS.html

Re: [lang] proposal to add a couple of methods to StringUtils

2002-09-27 Thread Henri Yandell
I'd like to hold it off til after the release. Just add to the TODO and let it lie. Else we'll be doing this all over the place :) Mainly I just want to get the null/NPE/IAE thing agreed upon and then the main release pushed out. While we're an API project, so not quite like many other

Re: [beanutils] plan for 1.5 release

2002-09-27 Thread Gregory M. Messner
(i've been ill and other people have been tied up with tomcat and structs releases. i'm slowing getting round to reviewing all the emails i've flagged but it will take time.) i'm actually a little reluctant to apply this patch since MethodUtil API is (unofficially) frozen since it will

RE: [lang] proposal to add a couple of methods to StringUtils

2002-09-27 Thread Steven Caswell
I was actually hoping that would be the response, because I am +1 on getting out the release as soon as possible. I'll add to TODO and be ready when the release is out :) Steven Caswell [EMAIL PROTECTED] a.k.a Mungo Knotwise of Michel Delving One ring to rule them all, one ring to find them...

Re: [beanutils] Question about BeanComparator

2002-09-27 Thread robert burrell donkin
On Friday, September 27, 2002, at 06:20 PM, [EMAIL PROTECTED] wrote: Would it be acceptable to get my testcase for the existing BeanComparator in in time for the release? Of, if not, should I wait till after Monday, or put it in via bugzilla? it's probably easiest to leave them until

Re: [lang] proposal to add a couple of methods to StringUtils

2002-09-27 Thread Henri Yandell
Btw... can you not just use: StringUtils.defaultString(+obj) for now? On Fri, 27 Sep 2002, Steven Caswell wrote: I'd like to add the following methods to StringUtils: String defaultString(Object obj) - behaves the same as defaultString(String), invoking toString() on the obj to return the

Re: [beanutils] plan for 1.5 release

2002-09-27 Thread robert burrell donkin
On Friday, September 27, 2002, at 07:39 PM, Gregory M. Messner wrote: (i've been ill and other people have been tied up with tomcat and structs releases. i'm slowing getting round to reviewing all the emails i've flagged but it will take time.) i'm actually a little reluctant to apply

cvs commit: jakarta-commons-sandbox/scaffold STATUS.txt build.xml

2002-09-27 Thread husted
husted 2002/09/27 12:11:01 Modified:scaffold STATUS.txt build.xml Log: + ConvertUtils: Add blankValue to test Strings for 0, empty, or null. (For beanutil behavior when converting numerics). + Tokens: Add ERRORS_REQUIRED; + StorageBeanBase: change marked default to 1

cvs commit: jakarta-commons-sandbox/scaffold/src/java/org/apache/commons/scaffold/text ConvertUtils.java

2002-09-27 Thread husted
husted 2002/09/27 12:11:20 Modified:scaffold/src/java/org/apache/commons/scaffold/text ConvertUtils.java Log: + ConvertUtils: Add blankValue to test Strings for 0, empty, or null. (For beanutil behavior when converting numerics). + Tokens: Add

Released Commons Logging 1.0.2

2002-09-27 Thread Richard Sitze
The Commons team is proud to announce a release of Commons Logging 1.0.2. This release introduces bug fixes for various NullPointerExceptions, and Security Exceptions in J2EE environments. Binary/Source: http://jakarta.apache.org/builds/jakarta-commons/release/commons-logging/v1.0.2

cvs commit: jakarta-commons/lang STATUS.html

2002-09-27 Thread stevencaswell
stevencaswell2002/09/27 12:24:11 Modified:lang STATUS.html Log: Added StringUtils defaultString variation TODO Revision ChangesPath 1.20 +3 -1 jakarta-commons/lang/STATUS.html Index: STATUS.html

RE: cvs commit: jakarta-commons/logging STATUS.html

2002-09-27 Thread Scott Sanders
Somebody want to patch the release HOWTO to reflect the need to update this type of thing? Scott -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 11:39 AM To: [EMAIL PROTECTED] Subject: cvs commit: jakarta-commons/logging

DO NOT REPLY [Bug 13098] New: - Digester Performance

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

[jelly] FileTag for move/copy/rename/delete/etc

2002-09-27 Thread Jason Horman
I am attaching a FileTag that is able to move/copy/delete/rename files and create directories. I am also attaching a jelly script to demonstrate how the FileTag is used. The package this file is currently in is: org.apache.commons.jelly.tags.io It may make sense to try and mirror the jdk

Re: cvs commit: jakarta-commons/logging STATUS.html

2002-09-27 Thread robert burrell donkin
On Friday, September 27, 2002, at 08:50 PM, Scott Sanders wrote: Somebody want to patch the release HOWTO to reflect the need to update this type of thing? committed - robert -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: [VOTE] Validator 1.0 Release (Second Call)

2002-09-27 Thread robert burrell donkin
might i suggestion that the validator component considers asking martin and scott to be committers? they've both volunteered to help with the release and are commons committers of good repute but (at the moment) their votes are non-binding. this means that you're still 2 votes short of the

DO NOT REPLY [Bug 13098] - Digester Performance

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

DO NOT REPLY [Bug 9226] - Add methods to find and invoke constructor methods

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

[lang] StringUtils.CHAR_BUFFER_SIZE

2002-09-27 Thread Steve Downey
This public constant isn't used anywhere in [lang], and doesn't seem to be used anywhere in Jakarta. It looks like a leftover from earlier refactoring. This patch cuts it out. Alternatively, if someone likes it, could they explain it's intended use, and I'll post a doc patch for it.

Re: [GUMP][httpclient] Build Failure - commons-httpclient

2002-09-27 Thread Adrian Sutton
I didn't see that before I checked in your patch. In general it is a bad idea to use the com.sun packages directly. Can you do this more genericly? I don't believe so though I'm not an expert on JCE so I'd love to hear corrections if I'm wrong about that. The best option that I can see is

CharRange UNSET ?

2002-09-27 Thread Steve Downey
CharRange uses an unassigned static character, UNSET, as a flag value for testing if the range is a range or a single value. This looks a little odd to me. I had the distinct impression that accessing an unassigned value was an error. However, the comparison works. I'm just not sure it's working

Re: [lang] proposal to add a couple of methods to StringUtils

2002-09-27 Thread Daniel Rall
+1 Steven Caswell [EMAIL PROTECTED] writes: I was actually hoping that would be the response, because I am +1 on getting out the release as soon as possible. I'll add to TODO and be ready when the release is out :) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Re: CharRange UNSET ?

2002-09-27 Thread Henri Yandell
Weird. I'd thought all values in Java were set to a defined value. Thought we got rid of the unassigned stuff with C. But I don't delve into the JVM and language spec enough so could be wrong very easily. Hen On 27 Sep 2002, Steve Downey wrote: CharRange uses an unassigned static character,

[jelly] include inherit

2002-09-27 Thread Jason Horman
The inherit tag for include doesn't seem to do anything, variables are inherited either way. include inherit=true uri=import.jelly/ -jason horman This email message and any attachments are for the sole use of the intended recipient(s) and may contain confidential and privileged

DO NOT REPLY [Bug 9931] - Base64 decoder chokes on a whitespace

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

JOCLContextHandler and Object arrays

2002-09-27 Thread Poola, Thyagu
I need to construct an object that requires an array of objects as a parameter to its constructor. For example: mypackage.Foo (int i, ScoresClass[] soccerScores) Does JOCLContextHandler support that? If so, could I have a sample JOCL and DTD grammar for the JOCL? Thanks -Thyagu Poola

Re: CharRange UNSET ?

2002-09-27 Thread Steve Downey
public class TestDefAssign { public static char UNSET; public static void main(String[] args) { char c; char d = 0; //System.out.println(d == c); //System.out.println(d != c); //System.out.println(c); System.out.println(d != UNSET); System.out.println(d == UNSET);

Re: [GUMP][httpclient] Build Failure - commons-httpclient

2002-09-27 Thread Jeff Dever
Stefan, I guess we could fix this by replacing the offending line with: Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider()); So that the BouncyCastle implementation is used instead, but that should not be forced on us. At the moment Adrian is the only one using

DO NOT REPLY [Bug 13098] - Digester Performance

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

Re: [GUMP][httpclient] Build Failure - commons-httpclient

2002-09-27 Thread Steve Downey
Untested code ahead: String provider = System.getProperty(JCEProvider); Class jceProvider = Class.forName(provider); Security.addProvider(jceProvider.newInstance()); Although, really, I think the right answer is [discovery] On Friday 27 September 2002 09:23 pm, Jeff Dever wrote: Stefan, I

RE: [GUMP][httpclient] Build Failure - commons-httpclient

2002-09-27 Thread Dennis Cook
How about something like the following: String secProviderClass = System.getProperty(httpclient.security.provider,org.bouncycastle.jce.prov ider.BouncyCastleProvider); java.security.Provider = (java.security.Provider) Class.forName(secProviderClass).newInstance(); Security.addProvider(new

[lang] CharSet javadoc patch

2002-09-27 Thread Steve Downey
document throws in CharSet, and a bubbled up NPE in CharSetUtil Index: CharSet.java === RCS file: /home/cvspublic/jakarta-commons/lang/src/java/org/apache/commons/lang/CharSet.java,v retrieving revision 1.1 diff -u -w -r1.1

Re: [jelly] FileTag for move/copy/rename/delete/etc

2002-09-27 Thread dion
What's the advantage of these tags over Ant's existing copy delete etc? -- dIon Gillard, Multitask Consulting Work: http://www.multitask.com.au Developers: http://adslgateway.multitask.com.au/developers Jason Horman [EMAIL PROTECTED] wrote on 28/09/2002 06:28:15 AM: I am attaching a

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

2002-09-27 Thread jsdever
jsdever 2002/09/27 20:02:46 Modified:httpclient/src/java/org/apache/commons/httpclient NTLM.java Log: Fix for the GUMP compliation failure. Allow for runtime determination of which security provider to use for NTLM authentication. The provider is chosen through the

Re: CharRange UNSET ?

2002-09-27 Thread Henri Yandell
Yeah, method variables are that way. I don't think instance/class variables are public class Bob { private String name = null; .. is overkill. For example, I commonly see standard bean code like: public Person { private int age; public int getAge() { return this.age;

[lang] NumberUtils javadoc patch

2002-09-27 Thread Steve Downey
Slight misordering in double comparison --- NumberUtils.java15 Sep 2002 10:26:42 - 1.2 +++ NumberUtils.java28 Sep 2002 03:11:33 - @@ -491,8 +491,8 @@ * liNormal positve numbers * li+0.0 * li-0.0 - * liMinimum double (-Double.MAX_VALUE) * liNormal

Re: [jelly] include inherit

2002-09-27 Thread Peter Lynch
Yeah there are several issues with both the include and import tags. Please add any new ones to issue tracker. For instance, declare a filterset in the first script file and you can't reference it in a copy in the included script. Some related bugs:

[lang] RandomStringUtils javadoc patch

2002-09-27 Thread Steve Downey
Does : public static String random(int count, int start, int end, boolean letters, boolean numbers, char[] set) really need to be public? Odds of correct use seem to be pretty low. It's a nice as a shared implementation, but it doesn't look like something that someone would really use.