BUILD FAILED: The element type target must be terminated by the matching end-tag /target

2004-05-04 Thread Janek Bogucki
Just did a cvs update and got this $ ant Buildfile: build.xml BUILD FAILED file:/home/yan/cvs.apache.org/jakarta-commons/collections/build.xml:584: The element type target must be terminated by the matching end-tag /target. Total time: 2 seconds Looks like line 282 is the culprit: /target--

RE: Enhance performance by generating jar file with -0 option

2004-03-24 Thread Janek Bogucki
On Mon, 2004-03-22 at 18:02, Gary Gregory wrote: I cannot say that I am in favor of this change for several reasons. (1) No performance benchmarks. This sounds like a thought optimization. (2) If the classes do take some amount of time T longer load, so what? Context is what matters, for

Re: [collections] ReferenceMap changed for WeakIdentityMap but now broken

2004-03-24 Thread Janek Bogucki
On Tue, 2004-03-23 at 23:01, Stephen Colebourne wrote: I can't spot the problem, so I'm posting it in case someone else wants to take a look and tell me my stupid mistake ;-) Stephen The error message from the batch test was unhelpful. This is what I get with this task added before the

Re: [collections] ReferenceMap changed for WeakIdentityMap but now broken

2004-03-24 Thread Janek Bogucki
On Wed, 2004-03-24 at 21:57, Janek Bogucki wrote: At the end there is this which you did not mention in your original post so it might be new information [junit] Testcase: testPurgeValues took 4.903 sec [junit] Caused an ERROR [junit] null [junit

Re: [collections] ReferenceMap changed for WeakIdentityMap but now broken

2004-03-24 Thread Janek Bogucki
On Tue, 2004-03-23 at 23:01, Stephen Colebourne wrote: I can't spot the problem, so I'm posting it in case someone else wants to take a look and tell me my stupid mistake ;-) Sorry this isn't expressed as unit test but just in case this is enough to go on I've posted it. I added a

Re: [poll][all] A very brief poll on your usage of javascript.

2004-02-20 Thread Janek Bogucki
On Friday 20 Feb 2004 3:24 pm, you wrote: To satisfy our interest on an issue being discussed in [commons-build] please answer this question. Question: Do you disable javascript in your favorite browser? [ X]No [ ]Yes -Mark It's unrealistic to expect main stream sites to have to

Re: [lang] build fails on JDK 1.4.1, okay on JDK 1.3.1

2004-02-15 Thread Janek Bogucki
On Fri, 2004-02-13 at 18:25, Stephen Colebourne wrote: Change made, hopefully that will sort it, but ideally Janek needs to test Yep, no apparent problem now. -Janek - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[lang] build fails on JDK 1.4.1, okay on JDK 1.3.1

2004-02-04 Thread Janek Bogucki
With latest CVS '$ ant clean test' fails on JDK 1.4.1. However the tests complete on JDK 1.3.1 Fails with this: [EMAIL PROTECTED] lang]$ java -version java version 1.4.1_03 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_03-b02) Java HotSpot(TM) Client VM (build 1.4.1_03-b02, mixed

RE: [lang] Array concat?

2004-01-29 Thread Janek Bogucki
On Thu, 2004-01-29 at 12:05, Gary Gregory wrote: Ah, I do recall join now, much better. Thanks, Gary concat is the best choice because join implies the introduction of a delimiter between the two arrays which is not the outcome, while append implies the extension of an existing object

Re: [collections] RC2 available - STATUS.html

2004-01-18 Thread Janek Bogucki
On Wed, 2004-01-14 at 17:22, Stephen Colebourne wrote: RC2(ish - as I haven't labelled CVS) is now up Distributions http://jakarta.apache.org/~scolebourne/dist3/ Website http://jakarta.apache.org/~scolebourne/collections3/ If no-one has any issues with this, then we should proceed to a

Re: [collections] RC2 available

2004-01-15 Thread Janek Bogucki
On Wed, 2004-01-14 at 17:22, Stephen Colebourne wrote: RC2(ish - as I haven't labelled CVS) is now up Distributions http://jakarta.apache.org/~scolebourne/dist3/ Website http://jakarta.apache.org/~scolebourne/collections3/ If no-one has any issues with this, then we should proceed to a

[collections] EnumerationUtils IteratorUtils have private ctors unlike other *Utils classes

2004-01-05 Thread Janek Bogucki
Just looking through a some classes and I noticed that EnumerationUtils and IteratorUtils supply a private constructor while the remainder (apart from ./functors/FunctorUtils.java) supply a explicit public constructor. ./BagUtils.java ./BufferUtils.java ./ClosureUtils.java ./CollectionUtils.java

Re: [latka]Project alive?

2003-11-26 Thread Janek Bogucki
On Wed, 2003-11-26 at 04:59, Oliver Heger wrote: Fine! Then would there be interest for the following feature: I have written a simple HTML parser that is able to extract links (a tags, forms, frames) from HTML pages. My tool that I have mentioned in my first mail, stores these links for

Re: [collections] CaseInsensitiveHashMap

2003-11-25 Thread Janek Bogucki
On Tue, 2003-11-25 at 10:37, Phil Steitz wrote: Thinking about this some more, the semantics of keySet() would be difficult with CompositeMap approach that I have suggested above. We would either have to require that T be idempotent - i.e., T(T(x)) = T(x) or have the user supply a

Re: [collections] CaseInsensitiveHashMap

2003-11-24 Thread Janek Bogucki
On Sun, 2003-11-23 at 21:53, Phil Steitz wrote: A few weeks back, David Graham submitted code for a CaseInsensitiveHashMap here: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24537 This looks like a good addition to [collections] to me. Any objections to my coding up some tests and

Re: [collections] CaseInsensitiveHashMap

2003-11-24 Thread Janek Bogucki
On Sun, 2003-11-23 at 22:25, Brian S O'Neill wrote: This implementation converts the key to lowercase on every get and put, which adds a bit of object allocation overhead. Also, simply converting to lowercase does not make it fully case-insensitive. There is a comment in

Re: [collections] CaseInsensitiveHashMap

2003-11-24 Thread Janek Bogucki
On Mon, 2003-11-24 at 10:15, David Graham wrote: --- Janek Bogucki [EMAIL PROTECTED] wrote: On Sun, 2003-11-23 at 21:53, Phil Steitz wrote: A few weeks back, David Graham submitted code for a CaseInsensitiveHashMap here: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24537

Re: [codec][collections][dbcp] incorrect license for some source files

2003-10-05 Thread Janek Bogucki
On Sun, 2003-10-05 at 14:43, robert burrell donkin wrote: a number of components in the commons contain one or more source files with licenses which do not match http://jakarta.apache.org/commons/license. (hint: 'Apache Group') these include codec, collections and dbcp.

Re: [collections] testing

2003-10-02 Thread Janek Bogucki
On Thu, 2003-10-02 at 02:12, Henri Yandell wrote: I'm a bit confused with Collections atm. 'ant test' calls src/test/org/apache/commons/collections/TestAll.java. However this does not list tests in sub-packages that I can see [though I imagine things like the iterators package could be

Re: [collections] testing

2003-10-02 Thread Janek Bogucki
On Thu, 2003-10-02 at 16:42, Henri Yandell wrote: On 2 Oct 2003, Janek Bogucki wrote: On Thu, 2003-10-02 at 02:12, Henri Yandell wrote: I'm a bit confused with Collections atm. 'ant test' calls src/test/org/apache/commons/collections/TestAll.java. However this does not list

RE: [collections] New Collection

2003-09-20 Thread Janek Bogucki
On Fri, 2003-09-19 at 12:51, Oxley, David wrote: Ok. The list won't accept the attachment. If anyone wants to review it, I will email it to you directly. Dave. You could attach it to a bugzilla entry which might be easier. -Janek

Re: idea for quick map creation method(s)

2003-09-12 Thread Janek Bogucki
On Fri, 2003-09-12 at 18:36, __matthewHawthorne wrote: One thing that I've always wanted is the ability to create a Map in one line of code. For example, it would allow initialization of a static Map without having to resort to static blocks of code. I'm thinking of something like:

RE: [collections] CollectionUtils.getCardinalityMap JavaDoc

2003-09-08 Thread Janek Bogucki
On Mon, 2003-09-08 at 16:08, Arun Thomas wrote: I'm not sure if it makes sense to call it an entry that maps to null but consider that the the cardinal map returned by this function will be accessed in the following manner: Integer x = returnedMap.get(obj); That statement may just be

[collections] CollectionUtils.getCardinalityMap JavaDoc

2003-09-06 Thread Janek Bogucki
In CollectionUtils.getCardinalityMap the documentation notes the meaning of an entry that maps to null but I don't see how any such entry can exist in the returned map as all the keys in the map come from the collection parameter and will map to =1. Have I missed something? From

RE: [lang] Pre 2.0 StringUtils NPE changes

2003-07-18 Thread Janek Bogucki
On Fri, 2003-07-18 at 13:49, Hope, Matthew wrote: interesting problem... empty string has a very clear meaning in java, it is a non null String object of zero length. Does the entrenched user base merit retaining a non standard naming convention. or is Empty sufficiently entrenched to

Re: [Friday] General question on OO database design

2003-07-18 Thread Janek Bogucki
On Fri, 2003-07-18 at 16:15, Yansheng Lin wrote: Is there a standard spec on OO database modeling? Is there a project that facilitates OO database access layer in Commons? It would be so good if we can do something like getPerson(id) to a database directly instead of structured SQL

Re: [HiveMind] Question about HiveMind scope and purpose

2003-07-07 Thread Janek Bogucki
On Mon, 2003-07-07 at 15:29, Berin Loritsch wrote: Berin Loritsch wrote: Someone pointed out to me that there is a Commons Sandbox project called HiveMind, and according to the docs at http://cvs.apache.org/viewcvs.cgi/jakarta-commons-sandbox/hivemind/xdocs/index.xml it sounds a

Re: web.xml/validator question

2003-07-04 Thread Janek Bogucki
On Fri, 2003-07-04 at 06:59, Jayati wrote: Hi, I am facing the below mentioned problem == Based on the installation instructions at: http://home.earthlink.net/~dwinterfeldt/installation.html, I added this code to

[collections] {@link} tag for constructor with parameters?

2003-06-20 Thread Janek Bogucki
Does anyone know how to make a [EMAIL PROTECTED] work for a constructor with parameters? I tried fixing a [EMAIL PROTECTED] tag in DefaultMapBag: * (or invoke the [EMAIL PROTECTED] #DefaultMapBag(java.util.Map) Map-constructor}) but I couldn't make it work. This is the warning generated when

Re: [collections] {@link} tag for constructor with parameters?

2003-06-20 Thread Janek Bogucki
On Fri, 2003-06-20 at 09:23, [EMAIL PROTECTED] wrote: Maybe #init(java.util.Map) ?? Stephen There is nothing wrong with the [EMAIL PROTECTED] tag. Changing the constructor access modifier from protected to public allowed the [EMAIL PROTECTED] tag to work. -Janek

Re: [collections] {@link} tag for constructor with parameters?

2003-06-20 Thread Janek Bogucki
On Fri, 2003-06-20 at 11:16, Janek Bogucki wrote: There is nothing wrong with the [EMAIL PROTECTED] tag. Changing the constructor access modifier from protected to public allowed the [EMAIL PROTECTED] tag to work. -Janek This diff gets it working without having to modify

Re: Silly Build question

2003-03-24 Thread Janek Bogucki
On Saturday 22 March 2003 4:45 pm, Gary Gregory wrote: Hello, I the various commons project, we have project/src/conf/manifest.mf. What does conf stand for? Why not use ant's manifest? Thanks, Gary conf stands for 'configuration'. -Janek

Re: [latka] ways to handle common tests

2003-02-07 Thread Janek Bogucki
Hi Richard, Does anyone have any ideas on good ways to handle units of common test code in Latka? For example: login to an application. You may need to have a test user log in to an application before running certain tests, and it would be good to be able to code this common HTTP request

Re: [Collections] [SUBMIT] Trie

2002-12-02 Thread Janek Bogucki
Hi, From: Rich Dougherty [EMAIL PROTECTED] Reply-To: Jakarta Commons Developers List [EMAIL PROTECTED] Date: Mon, 2 Dec 2002 20:36:13 +1300 (NZDT) To: [EMAIL PROTECTED] Subject: [Collections] [SUBMIT] Trie Hi I've written an implementation for a trie which I'd like to contribute. I've

Re: [general] Killing projects (Was: [pattern] Proposed removalof project)

2002-11-25 Thread Janek Bogucki
From: Morgan Delagrange [EMAIL PROTECTED] Reply-To: Jakarta Commons Developers List [EMAIL PROTECTED] Date: Mon, 25 Nov 2002 08:11:47 -0800 (PST) To: Jakarta Commons Developers List [EMAIL PROTECTED] Subject: Re: [general] Killing projects (Was: [pattern] Proposed removal of project)

Re: Conversion utilities

2002-11-14 Thread Janek Bogucki
Hi Travis, On Thursday 14 November 2002 4:21 am, [EMAIL PROTECTED] wrote: I also have a package of conversion classes that convert different measurements from imperial to metric and vice versa for things like Length, Pressure, Force, etc. And along with that I have a Fraction and

[lang] API Doc patch for EqualsBuilder

2002-11-01 Thread Janek Bogucki
Lazily I cut'n'pasted the example usage of EqualsBuilder and found it did not compile. Attached in a patch for this. (!o instanceof MyClass) - (!(o instanceof MyClass)) -Janek EqualsBuilder.api-doc.patch Description: Mac BinHex archive -- To unsubscribe, e-mail:

[digester] RulesBase, tail match API doc patch

2002-11-01 Thread Janek Bogucki
This patch fixes a typo in the example tail match pattern in RulesBase.java. -Janek Index: RulesBase.java === RCS file: /home/cvspublic/jakarta-commons/digester/src/java/org/apache/commons/digeste r/RulesBase.java,v retrieving

Re: [latka][anteater][jelly] possible integration... (was Re:Latka Anteater)

2002-10-30 Thread Janek Bogucki
Latka does allow parameterization of tests via preprocessing of the test suite document. It goes like this From test-suite.xml suite defaultHost=${DEFAULT_HOST} defaultPort=80 label=foo then on the command line $ latka.sh test-suite-url prop:DEFAULT_HOST=foo.example.com

Re: [collections] Primitive collections

2002-10-15 Thread Janek Bogucki
Here's an example of a primitive collections library which uses a separate class heirarchy and the same method names http://trove4j.sourceforge.net/ http://trove4j.sourceforge.net/javadocs/ My 0.2 cents, Janek Bogucki -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

[latka] [PATCH] responseHeader CVS issues and docs

2002-10-09 Thread Janek Bogucki
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13390 Basically o.a.c.latka.validators.ResponseHeaderHandler.java and ResponseHeaderValidator.java have been removed from the repository but other parts of latka assume the validator is present. Many Thanks, Janek Bogucki -- To unsubscribe, e-mail

[latka] UTF-16 - ISO-8859-1

2002-09-25 Thread Janek Bogucki
Hey dIon, Could you commit this patch? http://issues.apache.org/bugzilla/show_bug.cgi?id=12846 Cheers, Janek -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

[latka] [PATCH] for [GUMP] Build Failure

2002-09-24 Thread Janek Bogucki
the compiler error output for details. Can someone apply this patch which swaps the order of the catch statements causing this build failure? Many Thanks, Janek Bogucki Index: src/java/org/apache/commons/latka/http/RequestImpl.java

[latka] [PATCH] x 2 Update build.xml to use commons-logging.jar

2002-09-19 Thread Janek Bogucki
patches I submitted. Many Thanks, Janek Bogucki -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

[latka] UTF-16 was wrong encoding choice

2002-09-19 Thread Janek Bogucki
changed to use ISO-8859-1 but would like some other opinions before I post a patch to undo the UTF-16 mistake. Is ISO-8859-1 the right choice? Thanks, Janek Bogucki -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

[latka] [PATCH] RequestImpl.setVersion () throws NPE

2002-09-17 Thread Janek Bogucki
to fix this, maybe the invoker of RequestImpl.setVersion should be fixed to never pass in null. Can someone review my patch and apply it or not. http://issues.apache.org/bugzilla/show_bug.cgi?id=12727 Thanks, Janek Bogucki From above URL: --- The CVS version of latka using the CVS

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: SequencedHashMap: This class is thread-safe (was Re: Silly Question)

2002-01-25 Thread Janek Bogucki
Message- From: Janek Bogucki [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 24, 2002 5:28 PM To: Jakarta Commons Developers List Subject: SequencedHashMap: This class is thread-safe (was Re: Silly Question) Hi John, --- John McNally [EMAIL PROTECTED] wrote: Remove

/build.xml needs year changing to 2002

2002-01-25 Thread Janek Bogucki
The root level build.xml has property name=year value=2001/ -Janek -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

SequencedHashMap: This class is thread-safe (was Re: Silly Question)

2002-01-24 Thread Janek Bogucki
Hi John, --- John McNally [EMAIL PROTECTED] wrote: Remove the This class is thread-safe declaration in SequencedHashMap. When I first read this class through I thought I'd spotted a race condition in freshenSequence but a rethink convinced me it was not thread-unsafe. Am I wrong here? If

[DIGESTER] Patch for SetTopRule.java,v 1.10

2002-01-18 Thread Janek Bogucki
Hi, This patch is for SetTopRule.java,v 1.10. It's essentially a clarification to the API documentation although it includes edits on the end() method. The edit on this method is to swap the names of the variables 'parent' and 'child' to match the roles of these variables have. It also