[HttpClient] HttpMultiClient vs. HttpClient

2002-06-10 Thread Svante Kleist
Dear all, Recent discussions on this list have made me wonder whether HttpClient is about to become obsolete. Should one use HttpMultiClient instead, regardless if multiple connections will be used or not? Thanks for any tips. Svante Kleist, NEMESIS systemDesign, Stockholm -- To

Re: [betwixt] beanutils dependency and other stuff

2002-06-10 Thread James Strachan
From: robert burrell donkin [EMAIL PROTECTED] hi james the new mavenized build is very cool. at the moment we're listed as depending on a nightly build for beanutils. any objections if i see if we can replace this with the latest beanutils release? I can't remember if it'll work or not.

[cli] default values for arguments?

2002-06-10 Thread dion
I'd like to see a way of providing default values for options if the option is not present. Would this be a useful feature for others? I'm happy to do the work. -- dIon Gillard, Multitask Consulting Work: http://www.multitask.com.au Developers:

Digester can retrieve CDDATA ?

2002-06-10 Thread emmanuel.boudrant
Hi, I use digester to retrive a xml repository like that: listing table name=customer script CREATE TABLE CUSTOMER ... /script fields field name=id type=number(15) / ... /fields /table /listing Is it possible, with digester, to retrive the script CDDATA in my bean named

Re: [Latka] Setting a cookie

2002-06-10 Thread Morgan Delagrange
Latka will retain any cookies set by the server within the session. So, if you want to retain a cookie over more than one request, you can wrap those requests in the session tag. You can test for the values of those cookies with the responseHeader validator. - Original Message - From:

Re: Digester can retrieve CDDATA ?

2002-06-10 Thread Janek Bogucki
Hi Emmanuel, Do you want to use CDATA like this: listing table name=customer script![CDATA[ CREATE TABLE CUSTOMER ... ]] /script fields field name=id type=number(15) / ... /fields /table /listing I have used CDATA with Digester with no problem. The CDATA stuff is

Re: Digester can retrieve CDDATA ?

2002-06-10 Thread emmanuel.boudrant
Yes. But what rule I need to use (ex setPropertyRule(...) ). Thanx --- Janek Bogucki [EMAIL PROTECTED] a écrit : Hi Emmanuel, Do you want to use CDATA like this: listing table name=customer script![CDATA[ CREATE TABLE CUSTOMER ... ]] /script fields field name=id

[admin] CLI and Betwixt moving to jakarta-commons in 30 minutes...

2002-06-10 Thread James Strachan
Please stop using these 2 CVS repositories in the sandbox for the next hour or so. I'll be moving them in about 30 minutes; I'll mail again when they've been moved. James _ Do You Yahoo!? Get your free @yahoo.com address at

RE: Digester can retrieve CDDATA ?

2002-06-10 Thread Scott Sanders
Use the BeanPropertySetterRule. Digester.addBeanPropertySetter(script), or something similar. Scott -Original Message- From: emmanuel.boudrant [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 9:19 AM To: Jakarta Commons Developers List Subject: Re: Digester can retrieve CDDATA ?

Re: [cli] default values for arguments?

2002-06-10 Thread dion
Thanksmissed this one in the docs. I've used it and it makes the code a lot more readable. -- dIon Gillard, Multitask Consulting Work: http://www.multitask.com.au Developers: http://adslgateway.multitask.com.au/developers John Keyes [EMAIL PROTECTED] 06/10/02 08:48 PM Please respond

cvs commit: jakarta-commons-sandbox/messenger build-gump.xml

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:17:58 Modified:messenger build-gump.xml Log: generated the gump build using a modified Maven distro that works again now Revision ChangesPath 1.2 +1 -0 jakarta-commons-sandbox/messenger/build-gump.xml Index: build-gump.xml

cvs commit: jakarta-commons/cli/xdocs - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:24:41 jakarta-commons/cli/xdocs - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/cli - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:24:40 jakarta-commons/cli - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/cli/src - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:24:41 jakarta-commons/cli/src - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/betwixt/src - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:47:23 jakarta-commons/betwixt/src - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/betwixt - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:47:23 jakarta-commons/betwixt - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/betwixt/xdocs - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:47:23 jakarta-commons/betwixt/xdocs - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/betwixt/src/conf - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:52:58 jakarta-commons/betwixt/src/conf - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/betwixt/src/java - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:52:58 jakarta-commons/betwixt/src/java - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/id - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:52:59 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/id - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/expression - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:52:59 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/expression - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/betwixt/src/java/org/apache - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:52:58 jakarta-commons/betwixt/src/java/org/apache - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:52:59 jakarta-commons/betwixt/src/java/org/apache/commons - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:52:59 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/digester - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:52:59 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/digester - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/betwixt/src/test/org/apache/commons/digester/rss - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:53:00 jakarta-commons/betwixt/src/test/org/apache/commons/digester/rss - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/betwixt/src/test/org/apache - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:52:59 jakarta-commons/betwixt/src/test/org/apache - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/scarab - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:53:00 jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/scarab - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/betwixt/src/test/org - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:52:59 jakarta-commons/betwixt/src/test/org - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/betwixt/src/test - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:52:59 jakarta-commons/betwixt/src/test - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/betwixt/src/test/org/apache/commons/digester - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:53:00 jakarta-commons/betwixt/src/test/org/apache/commons/digester - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/strategy - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:53:00 jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/strategy - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:52:59 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/betwixt/src/test/org/apache/commons/betwixt - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:53:00 jakarta-commons/betwixt/src/test/org/apache/commons/betwixt - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:52:59 jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/betwixt project.xml

2002-06-10 Thread jstrachan
jstrachan2002/06/10 10:54:23 Modified:betwixt project.xml Log: move of betwixt from the sandbox over to the commons proper Revision ChangesPath 1.2 +5 -5 jakarta-commons/betwixt/project.xml Index: project.xml

cvs commit: jakarta-commons/cli/src/java/org/apache/commons/cli - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 11:00:42 jakarta-commons/cli/src/java/org/apache/commons/cli - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/cli/src/test/org - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 11:00:42 jakarta-commons/cli/src/test/org - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/cli/src/java/org/apache - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 11:00:42 jakarta-commons/cli/src/java/org/apache - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/cli/src/test - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 11:00:42 jakarta-commons/cli/src/test - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/cli/src/java/org/apache/commons - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 11:00:42 jakarta-commons/cli/src/java/org/apache/commons - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/cli/src/java/org - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 11:00:42 jakarta-commons/cli/src/java/org - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/cli/src/test/org/apache/commons - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 11:00:42 jakarta-commons/cli/src/test/org/apache/commons - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/cli/src/test/org/apache/commons/cli - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 11:00:42 jakarta-commons/cli/src/test/org/apache/commons/cli - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/cli/src/conf - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 11:00:41 jakarta-commons/cli/src/conf - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/cli/src/java - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 11:00:41 jakarta-commons/cli/src/java - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons/cli/src/test/org/apache - New directory

2002-06-10 Thread jstrachan
jstrachan2002/06/10 11:00:42 jakarta-commons/cli/src/test/org/apache - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons-sandbox/betwixt/src/conf MANIFEST.MF

2002-06-10 Thread jstrachan
jstrachan2002/06/10 11:03:25 Removed: betwixt/xdocs overview.xml todo.xml navigation.xml index.xml faq.xml betwixt/src/java/org/apache/commons/betwixt/expression StringExpression.java EmptyExpression.java

cvs commit: jakarta-commons-sandbox/cli/src/conf MANIFEST.MF

2002-06-10 Thread jstrachan
jstrachan2002/06/10 11:06:51 Removed: cli/src/java/org/apache/commons/cli MissingArgumentException.java TypeHandler.java HelpFormatter.java UnrecognizedOptionException.java Option.java overview.html

cvs commit: jakarta-commons/cli/xdocs navigation.xml usage.xml

2002-06-10 Thread jstrachan
jstrachan2002/06/10 11:20:39 Added: cli/xdocs navigation.xml usage.xml Log: applied John's documentation patches Revision ChangesPath 1.1 jakarta-commons/cli/xdocs/navigation.xml Index: navigation.xml

cvs commit: jakarta-commons/xdocs/stylesheets project.xml

2002-06-10 Thread jstrachan
jstrachan2002/06/10 11:27:48 Modified:xdocssandbox.xml components.xml xdocs/stylesheets project.xml Log: updated documentation links to new commons proper CLI and Betwixt Revision ChangesPath 1.18 +0 -5 jakarta-commons/xdocs/sandbox.xml

cvs commit: jakarta-commons/docs contributors.html sandbox.html versioning.html cli.html betwixt.html index.html charter.html commons.html modeler.html digester.html releases.html logging.html components.html license.html beanutils.html directory.html collections.html

2002-06-10 Thread jstrachan
jstrachan2002/06/10 11:28:21 Modified:docs contributors.html sandbox.html versioning.html cli.html betwixt.html index.html charter.html commons.html modeler.html digester.html releases.html logging.html

[Collections] ReadOnly Collection decorators

2002-06-10 Thread Jonathan Carlson
I'd really like to see some ReadOnly Collection decorators for all of the Collection and Iterator interfaces and subinterfaces. When I return a collection or iterator from a framework I don't want to trust that no one will modify those collections if they represent something internal. Using

RE: [Collections] ReadOnly Collection decorators

2002-06-10 Thread Jack, Paul
Um, the JDK already provides what you're looking for: java.util.Collections.unmodifiableSet(Set set) Collections.unmodifiableList(List list) Collections.unmodifiableMap(Map map) and so on. We should probably provide similar things for Bag, SortedBag and MultiMap though. -Paul -Original

Re: [Collections] ReadOnly Collection decorators

2002-06-10 Thread Michael A. Smith
On Mon, 10 Jun 2002, Jonathan Carlson wrote: I'd really like to see some ReadOnly Collection decorators for all of the Collection and Iterator interfaces and subinterfaces. When I return a collection or iterator from a framework I don't want to trust that no one will modify those

RE: [Collections] ComparableComparator - nulls OK

2002-06-10 Thread Jack, Paul
I too like the ComparatorUtils concept outlined below. However, we might want to consider whether the method names are nullFirst(Comparator) or nullFirstComparator(Comparator) etc. I raise this because PredicateUtils uses the latter at the moment, and it would be nice to be consistent

cvs commit: jakarta-commons/betwixt/xdocs todo.xml

2002-06-10 Thread rdonkin
rdonkin 2002/06/10 14:27:20 Modified:betwixt/src/java/org/apache/commons/betwixt package.html betwixt/xdocs todo.xml Log: Replaced TODO message in package doc comments with entry in mavenized project TODO list. Revision ChangesPath 1.2 +0 -1

RE: [COLLECTIONS/BEANUTILS] Is there a comparator that can dynamically pick a method to call on a bean?

2002-06-10 Thread Eric Pugh
Good suggestion... I guess I could do that, except for when the object is some random weird object with it's own specialized compareTo method... Like maybe some sort of tree being compared to some other tree...? I am not sure how often that would come up though! Does any one have any

RE: [COLLECTIONS/BEANUTILS] Is there a comparator that can dynamically pick a method to call on a bean?

2002-06-10 Thread Henri Yandell
Yeah, I'm not in favour of adding setComparator. I wasn't thinking clearly, think we've gone over that point before. On Mon, 10 Jun 2002, Michael A. Smith wrote: On Mon, 10 Jun 2002, Eric Pugh wrote: This way you can just daisy chain the decorators in one line.. Also, I was modeling it on

RE: [COLLECTIONS/BEANUTILS] Is there a comparator that can dynamicallypick a method to call on a bean?

2002-06-10 Thread Henri Yandell
On Mon, 10 Jun 2002, Eric Pugh wrote: The other reason, and why I started down this path was the original big decimals: 2, 12, and 22, when compared as strings come out as 12, 2, 22! I still don't get this. Why are they compared as strings?? Is it if a Comparator isn't passed in the

[betwixt] web site updates

2002-06-10 Thread robert burrell donkin
i'm a little unclear about the current right way to update the web site. i thought i'd be best for me to ask now rather than muck it up later... i don't think that the betwixt web site documentation is in CVS so i guess that the old way (CVS update) isn't right. is the right way now to use

RE: [COLLECTIONS/BEANUTILS] Is there a comparator that can dynamically pick a method to call on a bean?

2002-06-10 Thread Eric Pugh
I see your question.. If there is no Comparator passed in then the ComparableComparator is used.. The reason I was getting weird results was that for the method getPrimaryKey() in my objects, there where two matching methods, one that returned String objects, the other returned BigDecimal

Re: [betwixt] web site updates

2002-06-10 Thread dion
robert, it should be ok to just run maven:deploy-site whenever you feel the urge. -- dIon Gillard, Multitask Consulting Work: http://www.multitask.com.au Developers: http://adslgateway.multitask.com.au/developers robert burrell donkin [EMAIL PROTECTED] 06/11/02 07:49 AM Please respond

[PATCH][Collections] New testing framework, junit compatible

2002-06-10 Thread Jack, Paul
http://www.geocities.com/apachecollections/june10 Rewrote BulkTest so that it extends TestCase. It now provides a static makeSuite(Class) method that can be used to create a TestSuite that's displayed as a hierarchy in the swingui. The other code's all the same, except less files needed to be

cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections package.html

2002-06-10 Thread mas
mas 2002/06/10 19:40:52 Modified:collections/src/java/org/apache/commons/collections package.html Log: Add some collections that were missing from the package documentation. Revision ChangesPath 1.6 +6 -3

cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections/comparators TestNullComparator.java

2002-06-10 Thread mas
mas 2002/06/10 19:41:47 Modified:collections/src/java/org/apache/commons/collections DefaultMapBag.java collections/src/java/org/apache/commons/collections/comparators NullComparator.java

Re: [Patch] handle folded response headers

2002-06-10 Thread otisg
Hello, Was this ever folded (pun intended) into the repository? Looks useful to me. Thanks, Otis ___ Sign up for FREE iVillage newsletters http://s.ivillage.com/rd/16705 . From health and pregnancy to shopping and relationships,

Re: [commons-sandbox-http] BrowserDetector.java patch for programmatic HTTP clie

2002-06-10 Thread otisg
This looks right for any User Agent without a '/' in its name. I don't have the priviledges to apply this simple patch, so hopefully somebody else can do it. Otis ___ Sign up for FREE iVillage newsletters