RE: [Lang] ToStringBuilder Question

2007-04-19 Thread Gary Gregory
Hello Ben: It should be possible indeed. This is the kind of thing with which this builder was designed and tested. Make sure you are using the current version of lang (2.3). Does it happen if you use the single arg method? If you take a peek at the unit tests you'll see that the class is

RE: [commons-lang] seek information regarding commons-lang package

2006-06-27 Thread Gary Gregory
Hello Venkat: 1.Is Commons-lang version 2.0 compatible with websphere6.0 or JDK 1.4 or J2EE 1.4? I am running [lang] (a.k.a. Commons Lang) version 2.1 on Sun Java 1.4.2 without any issues. 2. Do you provide commercial support for this version of Commons-lang . or else can you give me the

RE: [Lang] escapeXML() - Not escaping low characters

2006-04-18 Thread Gary Gregory
Here is an excerpt from the XML 1.1 spec (http://www.w3.org/TR/xml11/): -- The ampersand character () and the left angle bracket () MUST NOT appear in their literal form, except when used as markup delimiters, or within a comment, a processing instruction, or a CDATA section. If they are needed

RE: [pool] Announcing Release Candidate 2 for Pool 1.3

2006-03-23 Thread Gary Gregory
+1 Build ok with: - Ant 1.6.5 - Maven 1.0.2 - Sun Java 1.4.2_11 - Windows XP SP2 Gary -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sandy McArthur Sent: Wednesday, March 22, 2006 5:03 PM To: Jakarta Commons Developers List; Jakarta Commons Users

RE: [POLL][VFS] how to resolve relative filenames

2005-08-19 Thread Gary Gregory
[ ] Use URI style [X] Keep current behaviour [X] Minimum jdk 1.4 [ ] Minimum jdk 1.3 I think that for a new release, you must provide backwards compatible behavior unless you are fixing an obvious bug. This does not sound like a bug. If it were up to me, I would release your next version

RE: [io][lang] CSV parser contribution

2005-06-02 Thread Gary Gregory
Hello: You may want to check the following implementation: http://issues.apache.org/bugzilla/show_bug.cgi?id=31355 I am not sure what the best place for this is [io], [lang], [codec]? Gary -Original Message- From: Stefan Rufer [mailto:[EMAIL PROTECTED] Sent: Thursday, June 02, 2005

RE: Runtime.exec() Utilities?

2005-03-30 Thread Gary Gregory
How about Commons-Launcher [1]? Gary [1] http://jakarta.apache.org/commons/launcher/ -Original Message- From: Christian Aust [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 30, 2005 7:51 AM To: Jakarta Commons Users List Subject: Re: Runtime.exec() Utilities? Hi, Lukas Bradley

RE: [lang] Bugs of StringEscapeUtils.escapeHtml()?

2005-03-16 Thread Gary Gregory
Hm, can't quite recall why we do it that way. I agree that we should focus on getting 2.1 out the door and fix this for a 2.2 release. At that point I'd like us to lazy load the various tables like HTML32 which is not used directly right now. I'm out of town this week for work, so I can't get

RE: [lang] Additions to StringUtils ?

2004-11-19 Thread Gary Gregory
If you factor ORO-RegExp calls into a single method, you'll have your one-liners ;-) Gary -Original Message- From: Ha ryon [mailto:[EMAIL PROTECTED] Sent: Friday, November 19, 2004 2:30 AM To: [EMAIL PROTECTED] Subject: [lang] Additions to StringUtils ? - I would like to be able to

RE: [HttpClient] Screen Scraping Components?

2004-11-19 Thread Gary Gregory
Another approach would be to use a util to turn it into XHTML (XML) and then using Xpath to get to anything. Gary -Original Message- From: Brant Hahn [mailto:[EMAIL PROTECTED] Sent: Friday, November 19, 2004 2:30 PM To: 'Jakarta Commons Users List' Subject: [HttpClient] Screen Scraping

RE: Commons ISO8601DateFormat class?

2004-10-14 Thread Gary Gregory
FYI, the CVS version of [lang] contains the time package: http://jakarta.apache.org/commons/lang/apidocs/org/apache/commons/lang/t ime/package-summary.html Gary -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Digby Sent: Thursday, October 14, 2004 16:18 To:

RE: [Clazz] Is anybody maintaining this?

2004-09-09 Thread Gary Gregory
I am jumping into this a little late but I would just like to offer that if there are features someone needs from [clazz], perhaps we should consider them for [lang]? Gary -Original Message- From: Stephen Colebourne [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 13:26

RE: [lang] FastNumberFormat?

2004-08-10 Thread Gary Gregory
Why not give each thread its own DecimalFormat instance in a thread local variable? Then you do not have to worry about it. Gary -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 10, 2004 14:19 To: Jakarta Commons Users List Subject: Re: [lang]

[ANNOUNCEMENT] Commons Codec 1.3 Released

2004-07-21 Thread Gary Gregory
The commons-codec team is pleased to announce the Codec 1.3 release! http://jakarta.apache.org/commons/codec/ The codec package contains simple encoder and decoders for various formats such as Base64 and Hexadecimal. In addition to these widely used encoders and decoders, the codec package also

[ANNOUNCEMENT] Commons Codec Release 1.3-RC1

2004-06-30 Thread Gary Gregory
The Commons Codec team announces the release of Commons Codec 1.3-RC1. This is a preview of v1.3 to enable users to test the release against their own code. We advise waiting for the formal 1.3 release before putting the code into production. Read the Release Notes:

RE: [ANOUNCEMENT] Commons Collections 3.1-RC1 and 2.1.1 released

2004-06-14 Thread Gary Gregory
For [codec], doing a maven jdiff works (well, it invokes JDiff but the report is not correct) but how do I get that report linked to from the Project Reports? Thank you, Gary -Original Message- From: Gary Gregory [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 15:42

RE: [ANNOUNCEMENT] Commons Pool 1.2 released

2004-06-08 Thread Gary Gregory
This page is out of date: http://jakarta.apache.org/commons/pool/downloads.html Thank you, Gary -Original Message- From: Dirk Verbeeck [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 13:15 To: [EMAIL PROTECTED]; Jakarta Commons Developers List; Jakarta Commons Users List

RE: [VFS] Crashing when trying to set username

2004-05-03 Thread Gary Gregory
Here is what I suggest for getting better feedback from this list: - Use a current build, and refer to it by it's date in communications. - Provide the stack trace Even better: create a Bugzilla ticket with above info on how to reproduce. Thank you, Gary -Original Message- From:

RE: sytem task

2004-03-17 Thread Gary Gregory
AFAIK, there is no JRE API to support doing this directly. This is something you'd expects to see in java.lang.System or Runtime. You might want to google for any JNI based library code that uses OS APIs to do this. A quick and dirty solution would be to use j.l.System to execute OS specific

RE: Info about packages

2004-02-04 Thread Gary Gregory
Consider using a tool like Eclipse which lets you find a class by name. Other IDEs provide a similar feature. But if you are using Notepad or vi... Gary -Original Message- From: Voyer Henry [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 12:33 To: 'Jakarta Commons Users

RE: [vfs] problem with multiple Ant v-copy's to the same filena me

2003-12-26 Thread Gary Gregory
Hello, I've tried to duplicate a simple version of this problem in a unit test in but could not simulate this problem (See ProviderWriteTests.testOverwriteSameFileSystem method in CVS or the next build). Perhaps you could provide a standalone test case? Thanks, Gary PS: I am not one of the

RE: [vfs] problem with multiple Ant v-copy's to the same filena me

2003-12-26 Thread Gary Gregory
I have not heard much on this list from the original developers in a while. While it is possible that they monitor this list, they might be too busy with other things... I have also been able to reproduce this issue in a unit test. The basic problem is that VFS caches all file information (if you

[cli] status?

2003-12-16 Thread Gary Gregory
Hello, How stable are the v2 CLI APIs? Can anyone (John?) give any hints as to scheduling? Thanks, Gary

[VFS] pushing for a 1.0?

2003-12-16 Thread Gary Gregory
Hello, I am finding [VFS] more and more attractive I as work on various projects. Is there any interest here into pushing VFS out of the sandbox? I am somewhat reluctant to use an unreleased sandbox project even though all of my testing has shown this component to be very reliable and feature

RE: Thread Pool?

2003-12-04 Thread Gary Gregory
You should also check out the pre-Java 1.5 implementation here: http://gee.cs.oswego.edu/dl/concurrency-interest/index.html Note that the current release requires JRE 1.4 I think, while previous versions did not. Gary -Original Message- From: Lukas Bradley [mailto:[EMAIL PROTECTED]

RE: Question on Threadpool

2003-11-19 Thread Gary Gregory
FYI, You should also be aware of the Java 1.5 preview in this area: http://gee.cs.oswego.edu/dl/concurrency-interest/index.html Gary -Original Message- From: Serge Knystautas [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 07:30 To: Jakarta Commons Users List Subject:

RE: [lang][codec] DigestUtils?

2003-10-01 Thread Gary Gregory
If we add such a thing to Codec, I would suggest a class hierarchy like: Digest (Abstract) Md5Digest ShaDigest gg -Original Message- From: Henri Yandell [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 10:33 To: Jakarta Commons Users List Subject: Re:

RE: [lang] Reusable Builder classes

2003-09-30 Thread Gary Gregory
Hi, I am always very weary of doing anything in the name of performance without any measurements based on a real usage scenario. Old motto on performance improvements: First, don't' do it. Second, think about it, then don't do it. ;-) I think it would be interesting to discuss this if/when the

RE: Best thread pool (was: [Q] Is it safe to create threads in Tomcat web-apps?)

2003-08-01 Thread Gary Gregory
The unit.concurrent work that is slated to go into Tiger aka Java 1.5 can be found here: http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.h tml Gary -Original Message- From: Anton Tagunov [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 23:00 To: Jakarta

RE: [lang] ToStringBuilder.reflectionToString

2003-07-16 Thread Gary Gregory
org.apache.commons.lang.builder.ReflectionToStringBuilder; /** * @author a href=mailto:[EMAIL PROTECTED]Gary Gregory/a * @version $Id: $ */ public class TestRTSB { private Date myDate = new Date(); private int foo= 22; public static void main(String[] arguments) { System.out.println(new TestRTSB()); } public

RE: [lang] ToStringBuilder.reflectionToString

2003-07-16 Thread Gary Gregory
FYI, the issue is being tracked here: http://issues.apache.org/bugzilla/show_bug.cgi?id=21663 You can add yourself to the email list if you'd like. Gary -Original Message- From: Gary Gregory [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 11:39 To: 'Jakarta Commons Users List

RE: [Logging] Want to submit my updates to support JSR47/Lumberjack in JDK 1.3

2003-06-27 Thread Gary Gregory
Hi Craig, I would: 1. Get the latest from CVS. 2. Patch this local copy and add/update unit tests as needed. Unit tests are a MUST. 3. Create patch files (eclipse does this from the UI or you can use the CVS CLI). 4. Create an Enhancement bug report on Bugzilla and attach the patches. 5. Hope

RE: HttpClient - Use as a server

2003-06-05 Thread Gary Gregory
I guess I should ask on the Tomcat list, but maybe someone knows here... In the same vein, a while back, we looked into pulling apart Tomcat 3.x to just get the HTTP server piece out of it (no JSPs, servlets, etc). I did not look into it but it is my understanding that this was not really

RE: ToStringBuilder.reflectionToString() problem

2003-06-04 Thread Gary Gregory
Message- From: Gary Gregory [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 16:43 To: 'Jakarta Commons Users List' Subject: RE: ToStringBuilder.reflectionToString() problem Hello, Currently, we do not allow: new ToStringBuilder(null) We throw an IllegalArgumentException(The object

RE: ToStringBuilder.reflectionToString() problem

2003-06-02 Thread Gary Gregory
. Are there any objections to this? Thanks, Gary -Original Message- From: Gary Gregory [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 16:12 To: 'Jakarta Commons Users List' Subject: RE: ToStringBuilder.reflectionToString() problem Right, this is a good idea that I have considered

RE: [lang] ToStringBuilder.reflectionToString() problem

2003-05-29 Thread Gary Gregory
- Original Message - From: Gary Gregory [EMAIL PROTECTED] To: 'Jakarta Commons Users List' [EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 12:11 AM Subject: RE: ToStringBuilder.reflectionToString() problem Right, this is a good idea that I have considered in the past. The way we specify

RE: ToStringBuilder.reflectionToString() problem

2003-05-27 Thread Gary Gregory
Hello, The quick answer to your question (without adding features to ToStringBuilder) is to use the non-reflection APIs. For example: public String toString() { return new ToStringBuilder(this). append(name, name). append(age, age). append(smoker, smoker).

RE: ToStringBuilder.reflectionToString() problem

2003-05-27 Thread Gary Gregory
of extension of the mechanism that specifies whether or not to use transients? Cheers, Shorn. -Original Message- From: Gary Gregory [mailto:[EMAIL PROTECTED] Sent: Wednesday, 28 May 2003 2:37 AM To: 'Jakarta Commons Users List' Subject: RE: ToStringBuilder.reflectionToString() problem

RE: [DBCP] Proposal for additional metrics in DBCP and Pool - long

2003-04-04 Thread Gary Gregory
In our server, we've found it useful to keep track of totals using a pair of numbers for each kind of total: the real total and a resetable total. This is quite useful for trouble shooting. Each pair is wrapped in an object of course and named. Gary -Original Message- From: Chris

RE: [Lang] Omitting a field in ToStringBuilder

2003-02-14 Thread Gary Gregory
] Omitting a field in ToStringBuilder from: Gary Gregory [EMAIL PROTECTED] I need to exclude a given field with ToStringBuilder.reflectionToString(Object). The Object I pass in is a javax.jms.Message which is a JMS abstract interface which can be implemented with all sorts of fields. I know

[lang] Is there a schedule?

2003-01-21 Thread Gary Gregory
Hello All, Is there a released schedule for a Commons-Lang 1.0.2 or 1.1? Thank you, Gary

RE: [lang] Is there a schedule?

2003-01-21 Thread Gary Gregory
need sorting. I would expect that the reflect and time subpackages would definitely be excluded as not being ready. Have you any particular things you want fixed, etc.? Stephen - Original Message - From: Gary Gregory [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 21, 2003

RE: Hierarchies not supported in ToStringBuilder.reflectionToString(this)?

2002-12-26 Thread Gary Gregory
Gregory Subject: Re: Hierarchies not supported in ToStringBuilder.reflectionToString(this)? From: Gary Gregory [EMAIL PROTECTED] The first question I have towards implementing this is whether or not to define this as a bug or a feature request WRT backwards compatibility. (1) Simplest

RE: Hierarchies not supported in ToStringBuilder.reflectionToString(this)?

2002-12-11 Thread Gary Gregory
in the right place. So, (1) or (2)? Thanks, Gary -Original Message- From: Stephen Colebourne [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 10:14 AM To: Jakarta Commons Users List Cc: Gary Gregory Subject: Re: Hierarchies not supported in ToStringBuilder.reflectionToString