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
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
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
+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
[ ] 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
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
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
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
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
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
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:
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
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]
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
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:
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
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
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:
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
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
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
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
Hello,
How stable are the v2 CLI APIs?
Can anyone (John?) give any hints as to scheduling?
Thanks,
Gary
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
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]
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:
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:
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
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
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
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
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
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
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
.
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
- 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
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).
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
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
] 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
Hello All,
Is there a released schedule for a Commons-Lang 1.0.2 or 1.1?
Thank you,
Gary
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
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
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
44 matches
Mail list logo