svn commit: r329376 - in /jakarta/commons/proper/pool/trunk: project.xml xdocs/navigation.xml

2005-10-29 Thread rdonkin
Author: rdonkin
Date: Sat Oct 29 00:45:43 2005
New Revision: 329376

URL: http://svn.apache.org/viewcvs?rev=329376view=rev
Log:
Updated site to conform with modern commons conventions.

Modified:
jakarta/commons/proper/pool/trunk/project.xml
jakarta/commons/proper/pool/trunk/xdocs/navigation.xml

Modified: jakarta/commons/proper/pool/trunk/project.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/project.xml?rev=329376r1=329375r2=329376view=diff
==
--- jakarta/commons/proper/pool/trunk/project.xml (original)
+++ jakarta/commons/proper/pool/trunk/project.xml Sat Oct 29 00:45:43 2005
@@ -31,7 +31,7 @@
   organization
 nameThe Apache Software Foundation/name
 urlhttp://jakarta.apache.org/url
-logohttp://jakarta.apache.org/images/jakarta-logo.gif/logo
+logohttp://jakarta.apache.org/images/original-jakarta-logo.gif/logo
   /organization
 
   licenses
@@ -155,11 +155,25 @@
 dependency
   idjunit/id
   version3.8.1/version
+  properties
+  commentOnly required to run unit tests/comment
+  /properties
 /dependency
 
 !-- these two are required by maven --
-dependencyidxml-apis/idversion2.0.2/version/dependency
-dependencyidxerces/idversion2.0.2/version/dependency
+dependency
+   idxml-apis/idversion2.0.2/version
+properties
+   commentAny JAXP compliant parser (1.2 or later)./comment
+/properties
+/dependency
+dependency
+   idxerces/id
+   version2.0.2/version
+properties
+  commentAny JAXP compliant parser (1.2 or later)./comment
+/properties
+/dependency
 !-- /these two are required by maven --
 
   /dependencies

Modified: jakarta/commons/proper/pool/trunk/xdocs/navigation.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/xdocs/navigation.xml?rev=329376r1=329375r2=329376view=diff
==
--- jakarta/commons/proper/pool/trunk/xdocs/navigation.xml (original)
+++ jakarta/commons/proper/pool/trunk/xdocs/navigation.xml Sat Oct 29 00:45:43 
2005
@@ -17,8 +17,15 @@
 !DOCTYPE org.apache.commons.menus SYSTEM 
'../../commons-build/menus/menus.dtd'
 project name=Commons Pool
 titleCommons Pool/title
+organizationLogo href=/images/jakarta-logo-blue.gif
+   Jakarta
+   /organizationLogo
 body
-
+   links
+ item name=Jakarta Commons   
+   href=http://jakarta.apache.org/commons//
+   /links
+
 menu name=Commons#xA0;Pool
 item name=Overview  href=/index.html /
 item name=API#xA0;Documentation
href=/apidocs/index.html/



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r329377 - /jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/

2005-10-29 Thread rdonkin
Author: rdonkin
Date: Sat Oct 29 01:44:49 2005
New Revision: 329377

URL: http://svn.apache.org/viewcvs?rev=329377view=rev
Log:
Created a copy of the trunk before committing changes which will break 
backwards compatibility. There is not certain that there will be a 1.3 release 
of pool but this branch will allow a 1.3 release to be cut later.

Added:
jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/
  - copied from r329376, jakarta/commons/proper/pool/trunk/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Jakarta-commons Wiki] Update of Pool by RobertBurrellDonkin

2005-10-29 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Jakarta-commons Wiki 
for change notification.

The following page has been changed by RobertBurrellDonkin:
http://wiki.apache.org/jakarta-commons/Pool

The comment on the change is:
New page about Pool's future

--
  
  
  
+ PoolRoadMap
+ 
+ 
+ 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Jakarta-commons Wiki] Update of PoolRoadMap by RobertBurrellDonkin

2005-10-29 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Jakarta-commons Wiki 
for change notification.

The following page has been changed by RobertBurrellDonkin:
http://wiki.apache.org/jakarta-commons/PoolRoadMap

The comment on the change is:
What's the future of Pool?

New page:
= Pool Road Map =

== Releases ==

=== Pool 1.3? ===

There are a number of important fixes which have been committed. Therefore, 
cutting a 1.3 release may make sense.

=== Pool 2 ===

This will not fully compatible with the Pool 1.x releases. This has been 
necessitated by some recent changes to semantics. This offers a change to break 
binary compatibility as well (if necessary).

== Performant Implementations ==

The current implementations concentrate on stability and robustness rather than 
performance. It may be possible to create new, more performant implementations. 
This depends on developers stepping up.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r329378 - /jakarta/commons/proper/pool/trunk/project.xml

2005-10-29 Thread rdonkin
Author: rdonkin
Date: Sat Oct 29 01:58:58 2005
New Revision: 329378

URL: http://svn.apache.org/viewcvs?rev=329378view=rev
Log:
Updated version number before committing some changes which break compatibility.

Modified:
jakarta/commons/proper/pool/trunk/project.xml

Modified: jakarta/commons/proper/pool/trunk/project.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/project.xml?rev=329378r1=329377r2=329378view=diff
==
--- jakarta/commons/proper/pool/trunk/project.xml (original)
+++ jakarta/commons/proper/pool/trunk/project.xml Sat Oct 29 01:58:58 2005
@@ -20,7 +20,7 @@
   nameCommons Pool/name
   idcommons-pool/id
   inceptionYear2001/inceptionYear
-  currentVersion1.3-dev/currentVersion
+  currentVersion2.0-dev/currentVersion
   shortDescriptionCommons Object Pooling Library/shortDescription
   descriptionCommons Object Pooling Library/description
   logo/images/pool-logo-white.png/logo



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r329382 - in /jakarta/commons/proper/pool/trunk/src: java/org/apache/commons/pool/impl/ test/org/apache/commons/pool/impl/

2005-10-29 Thread rdonkin
Author: rdonkin
Date: Sat Oct 29 02:45:10 2005
New Revision: 329382

URL: http://svn.apache.org/viewcvs?rev=329382view=rev
Log:
Added missing calls to validate object. Submitted by Sandy McArthur. Issue#36719

Modified:

jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/SoftReferenceObjectPool.java

jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/StackObjectPool.java

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestSoftReferenceObjectPool.java

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestStackObjectPool.java

Modified: 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/SoftReferenceObjectPool.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/SoftReferenceObjectPool.java?rev=329382r1=329381r2=329382view=diff
==
--- 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/SoftReferenceObjectPool.java
 (original)
+++ 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/SoftReferenceObjectPool.java
 Sat Oct 29 02:45:10 2005
@@ -70,9 +70,13 @@
 SoftReference ref = (SoftReference)(_pool.remove(_pool.size() 
- 1));
 obj = ref.get();
 }
-}
-if(null != _factory  null != obj) {
-_factory.activateObject(obj);
+if(null != _factory  null != obj) {
+_factory.activateObject(obj);
+}
+if (null != _factory  null != obj  
!_factory.validateObject(obj)) {
+_factory.destroyObject(obj);
+obj = null;
+}
 }
 _numActive++;
 return obj;

Modified: 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/StackObjectPool.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/StackObjectPool.java?rev=329382r1=329381r2=329382view=diff
==
--- 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/StackObjectPool.java
 (original)
+++ 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/StackObjectPool.java
 Sat Oct 29 02:45:10 2005
@@ -122,17 +122,23 @@
 public synchronized Object borrowObject() throws Exception {
 assertOpen();
 Object obj = null;
-if (!_pool.empty()) {
-obj = _pool.pop();
-} else {
-if(null == _factory) {
-throw new NoSuchElementException();
+while (null == obj) {
+if (!_pool.empty()) {
+obj = _pool.pop();
 } else {
-obj = _factory.makeObject();
+if(null == _factory) {
+throw new NoSuchElementException();
+} else {
+obj = _factory.makeObject();
+}
+}
+if(null != _factory  null != obj) {
+_factory.activateObject(obj);
+}
+if (null != _factory  null != obj  
!_factory.validateObject(obj)) {
+_factory.destroyObject(obj);
+obj = null;
 }
-}
-if(null != _factory  null != obj) {
-_factory.activateObject(obj);
 }
 _numActive++;
 return obj;

Modified: 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java?rev=329382r1=329381r2=329382view=diff
==
--- 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java
 (original)
+++ 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java
 Sat Oct 29 02:45:10 2005
@@ -17,6 +17,9 @@
 package org.apache.commons.pool.impl;
 
 import java.util.NoSuchElementException;
+import java.util.List;
+import java.util.ArrayList;
+import java.util.Arrays;
 
 import junit.framework.Test;
 import junit.framework.TestSuite;
@@ -841,6 +844,75 @@
assertEquals(should be zero active, 0, pool.getNumActive());
 }
 
+private List testFactorySequenceStates = new ArrayList(5);
+public void testFactorySequence() throws Exception {
+// setup
+// We need a factory that tracks method call sequence.
+PoolableObjectFactory pof = new PoolableObjectFactory() {
+public Object makeObject() throws Exception {
+

DO NOT REPLY [Bug 36719] - [pool] Some ObjectPool.borrowObject() implementations do not call validateObject()

2005-10-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36719.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36719


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-10-29 11:47 ---
Committed. Many thanks.

I took a look at the failing test and the test was wrong: it was checking to see
whether invalid objects were retained in the pool when returned. I've split the
test into two cases.

Robert 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r329393 - in /jakarta/commons/proper/pool/trunk/src: java/org/apache/commons/pool/impl/ test/org/apache/commons/pool/ test/org/apache/commons/pool/impl/

2005-10-29 Thread rdonkin
Author: rdonkin
Date: Sat Oct 29 03:19:26 2005
New Revision: 329393

URL: http://svn.apache.org/viewcvs?rev=329393view=rev
Log:
Made GenericObjectPool a FIFO as per documentation. Submitted by Sandy 
McArthur. Issue#33264.

Modified:

jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericObjectPool.java

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestObjectPool.java

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestSoftReferenceObjectPool.java

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestStackObjectPool.java

Modified: 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericObjectPool.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericObjectPool.java?rev=329393r1=329392r2=329393view=diff
==
--- 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericObjectPool.java
 (original)
+++ 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericObjectPool.java
 Sat Oct 29 03:19:26 2005
@@ -925,7 +925,7 @@
 if((_maxIdle = 0)  (_pool.size() = _maxIdle)) {
 shouldDestroy = true;
 } else if(success) {
-_pool.addFirst(new ObjectTimestampPair(obj));
+_pool.addLast(new ObjectTimestampPair(obj));
 }
 notifyAll(); // _numActive has changed
 

Modified: 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestObjectPool.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestObjectPool.java?rev=329393r1=329392r2=329393view=diff
==
--- 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestObjectPool.java
 (original)
+++ 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestObjectPool.java
 Sat Oct 29 03:19:26 2005
@@ -41,6 +41,18 @@
  * object (zero indexed) created by the _pool.
  */
 protected abstract Object getNthObject(int n);
+
+/**
+ * Is the implementations LIFO?
+ * @return
+ */
+protected abstract boolean isLifo();
+
+/**
+ * Is the implementationn FIFO?
+ * @return
+ */
+protected abstract boolean isFifo();
 
 public void setUp() throws Exception {
 }
@@ -105,9 +117,20 @@
 _pool.returnObject(obj0);
 _pool.returnObject(obj2);
 obj2 = _pool.borrowObject();
-assertEquals(getNthObject(2),obj2);
+if (isLifo()) {
+assertEquals(getNthObject(2),obj2);
+}
+if (isFifo()) {
+assertEquals(getNthObject(0),obj2);
+}
+
 obj0 = _pool.borrowObject();
-assertEquals(getNthObject(0),obj0);
+if (isLifo()) {
+assertEquals(getNthObject(0),obj0);
+}
+if (isFifo()) {
+assertEquals(getNthObject(2),obj0);
+}
 }
 
 public void testBaseNumActiveNumIdle() throws Exception {

Modified: 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java?rev=329393r1=329392r2=329393view=diff
==
--- 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java
 (original)
+++ 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java
 Sat Oct 29 03:19:26 2005
@@ -830,7 +830,20 @@
 _complete = true;
 }
 }
-
+
+public void testFIFO() throws Exception {
+pool.addObject(); // 0
+pool.addObject(); // 1
+pool.addObject(); // 2
+assertEquals(Oldest, 0, pool.borrowObject());
+assertEquals(Middle, 1, pool.borrowObject());
+assertEquals(Youngest, 2, pool.borrowObject());
+assertEquals(new-3, 3, pool.borrowObject());
+pool.returnObject(r);
+assertEquals(returned, r, pool.borrowObject());
+assertEquals(new-4, 4, pool.borrowObject());
+}
+
 public void testAddObject() throws Exception {
 assertEquals(should be zero idle, 0, pool.getNumIdle());
pool.addObject();
@@ -998,6 +1011,15 @@
 public void setValidationEnabled(boolean b) {
 enableValidation = b;
 }
+}
+
+protected boolean isLifo() {
+ 
+return false;
+}
+
+protected boolean isFifo() {
+return true;
 }
 }
 

Modified: 

DO NOT REPLY [Bug 33264] - [pool] GenericObjectPool is a LIFO, not a FIFO implementation

2005-10-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=33264.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33264


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-10-29 12:21 ---
Commited. Many thanks.

Robert

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r329395 - in /jakarta/commons/proper/pool/trunk/src: java/org/apache/commons/pool/impl/ test/org/apache/commons/pool/ test/org/apache/commons/pool/impl/

2005-10-29 Thread rdonkin
Author: rdonkin
Date: Sat Oct 29 03:43:01 2005
New Revision: 329395

URL: http://svn.apache.org/viewcvs?rev=329395view=rev
Log:
Made GenericObjectKeyedPool a FIFO as per documentation. Submitted by Sandy 
McArthur. Issue#36904.

Modified:

jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestKeyedObjectPool.java

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestStackKeyedObjectPool.java

jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestStackObjectPool.java

Modified: 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java?rev=329395r1=329394r2=329395view=diff
==
--- 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java
 (original)
+++ 
jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/impl/GenericKeyedObjectPool.java
 Sat Oct 29 03:43:01 2005
@@ -981,7 +981,7 @@
 if(_maxIdle = 0  (pool.size() = _maxIdle)) {
 shouldDestroy = true;
 } else if(success) {
-pool.addFirst(new ObjectTimestampPair(obj));
+pool.addLast(new ObjectTimestampPair(obj));
 _totalIdle++;
 }
 notifyAll();

Modified: 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestKeyedObjectPool.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestKeyedObjectPool.java?rev=329395r1=329394r2=329395view=diff
==
--- 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestKeyedObjectPool.java
 (original)
+++ 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestKeyedObjectPool.java
 Sat Oct 29 03:43:01 2005
@@ -44,6 +44,18 @@
 protected abstract Object getNthObject(Object key, int n);
 
 protected abstract Object makeKey(int n);
+
+/**
+ * Is the implementations LIFO?
+ * @return
+ */
+protected abstract boolean isLifo();
+
+/**
+ * Is the implementationn FIFO?
+ * @return
+ */
+protected abstract boolean isFifo();
 
 public void setUp() throws Exception {
 }
@@ -90,9 +102,19 @@
 _pool.returnObject(keya,obj0);
 _pool.returnObject(keya,obj2);
 obj2 = _pool.borrowObject(keya);
-assertEquals(getNthObject(keya,2),obj2);
+if (isLifo()) {
+assertEquals(getNthObject(keya,2),obj2);
+}
+if (isFifo()) {
+assertEquals(getNthObject(keya,0),obj2);
+}
 obj0 = _pool.borrowObject(keya);
-assertEquals(getNthObject(keya,0),obj0);
+if (isLifo()) {
+assertEquals(getNthObject(keya,0),obj0);
+}
+if (isFifo()) {
+assertEquals(getNthObject(keya,2),obj0);
+}
 }
 
 public void testBaseNumActiveNumIdle() throws Exception {

Modified: 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java?rev=329395r1=329394r2=329395view=diff
==
--- 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java
 (original)
+++ 
jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java
 Sat Oct 29 03:43:01 2005
@@ -591,6 +591,20 @@
 assertTrue(Should be 5 idle, found  + 
pool.getNumIdle(),pool.getNumIdle() == 5);
 }
 
+public void testFIFO() throws Exception {
+final Object key = key;
+pool.addObject(key); // key0
+pool.addObject(key); // key1
+pool.addObject(key); // key2
+assertEquals(Oldest, key0, pool.borrowObject(key));
+assertEquals(Middle, key1, pool.borrowObject(key));
+assertEquals(Youngest, key2, pool.borrowObject(key));
+assertEquals(new-3, key3, pool.borrowObject(key));
+pool.returnObject(key, r);
+assertEquals(returned, r, pool.borrowObject(key));
+assertEquals(new-4, key4, pool.borrowObject(key));
+}
+
 class TestThread implements Runnable {
 java.util.Random _random = new java.util.Random();
 KeyedObjectPool _pool = null;
@@ -670,6 +684,14 @@
 public void passivateObject(Object key, Object obj) { }
  

DO NOT REPLY [Bug 36904] - [pool] GenericKeyedObjectPool is a LIFO, not a FIFO implementation

2005-10-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36904.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36904


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-10-29 12:44 ---
Committed. Many thanks.

Added isLilo and isFifo so that tests that subclass can elect to run the tests
(rather than removing them completely.

Robert

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED]: Project commons-jelly-test (in module commons-jelly) failed

2005-10-29 Thread commons-jelly development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-jelly-test has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 12 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-jelly-test :  Commons Jelly


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on jakarta-servletapi-5-servlet exists, no need to add for 
property maven.jar.servletapi.
 -DEBUG- Dependency on jakarta-taglibs-standard exists, no need to add for 
property maven.jar.jstl.
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -WARNING- Overriding Maven properties: 
[/usr/local/gump/public/workspace/commons-jelly/build.properties]
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/target/test-reports



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-test/gump_work/build_commons-jelly_commons-jelly-test.html
Work Name: build_commons-jelly_commons-jelly-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 55 secs
Command Line: maven --offline jar 
[Working Directory: /usr/local/gump/public/workspace/commons-jelly]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/discovery/dist/commons-discovery.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-29102005.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/forehead/forehead-1.0-beta-5.jar:/usr/local/gump/public/workspace/jakarta-servletapi-5/jsr154/dist/lib/servlet-api.jar:/usr/local/gump/public/workspace/jakarta-taglibs/dist/standard/lib/jstl.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar
-
[junit] Expected expression: ${singleSize*2}
[junit] Actual expression: ${doubleSize} File: 
file:/x1/gump/public/workspace/commons-jelly/target/test-classes/org/apache/commons/jelly/suite.jelly
 At tag test:assertEquals: line: 359 column: 75
[junit] org.apache.commons.jelly.JellyTagException: 
file:/x1/gump/public/workspace/commons-jelly/target/test-classes/org/apache/commons/jelly/suite.jelly:359:75:
 test:assertEquals  expected:[22] but was:[22]
[junit] Expected expression: ${singleSize*2}
[junit] Actual expression: ${doubleSize} File: 
file:/x1/gump/public/workspace/commons-jelly/target/test-classes/org/apache/commons/jelly/suite.jelly
 At tag test:assertEquals: line: 359 column: 75
[junit] at 
org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:712)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:282)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] Caused by: 
org.apache.commons.jelly.tags.junit.JellyAssertionFailedError:  expected:[22] 
but was:[22]
[junit] Expected expression: ${singleSize*2}
[junit] Actual expression: ${doubleSize} File: 
file:/x1/gump/public/workspace/commons-jelly/target/test-classes/org/apache/commons/jelly/suite.jelly
 At tag test:assertEquals: line: 359 column: 75
[junit] at 
org.apache.commons.jelly.tags.junit.AssertTagSupport.fail(AssertTagSupport.java:39)
[junit] at 
org.apache.commons.jelly.tags.junit.AssertTagSupport.failNotEquals(AssertTagSupport.java:62)
[junit] at 
org.apache.commons.jelly.tags.junit.AssertEqualsTag.doTag(AssertEqualsTag.java:55)
[junit] 

[EMAIL PROTECTED]: Project commons-jelly-test (in module commons-jelly) failed

2005-10-29 Thread commons-jelly development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-jelly-test has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 12 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-jelly-test :  Commons Jelly


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on jakarta-servletapi-5-servlet exists, no need to add for 
property maven.jar.servletapi.
 -DEBUG- Dependency on jakarta-taglibs-standard exists, no need to add for 
property maven.jar.jstl.
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -WARNING- Overriding Maven properties: 
[/usr/local/gump/public/workspace/commons-jelly/build.properties]
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/target/test-reports



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-test/gump_work/build_commons-jelly_commons-jelly-test.html
Work Name: build_commons-jelly_commons-jelly-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 55 secs
Command Line: maven --offline jar 
[Working Directory: /usr/local/gump/public/workspace/commons-jelly]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/discovery/dist/commons-discovery.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-29102005.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/forehead/forehead-1.0-beta-5.jar:/usr/local/gump/public/workspace/jakarta-servletapi-5/jsr154/dist/lib/servlet-api.jar:/usr/local/gump/public/workspace/jakarta-taglibs/dist/standard/lib/jstl.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar
-
[junit] Expected expression: ${singleSize*2}
[junit] Actual expression: ${doubleSize} File: 
file:/x1/gump/public/workspace/commons-jelly/target/test-classes/org/apache/commons/jelly/suite.jelly
 At tag test:assertEquals: line: 359 column: 75
[junit] org.apache.commons.jelly.JellyTagException: 
file:/x1/gump/public/workspace/commons-jelly/target/test-classes/org/apache/commons/jelly/suite.jelly:359:75:
 test:assertEquals  expected:[22] but was:[22]
[junit] Expected expression: ${singleSize*2}
[junit] Actual expression: ${doubleSize} File: 
file:/x1/gump/public/workspace/commons-jelly/target/test-classes/org/apache/commons/jelly/suite.jelly
 At tag test:assertEquals: line: 359 column: 75
[junit] at 
org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:712)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:282)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] Caused by: 
org.apache.commons.jelly.tags.junit.JellyAssertionFailedError:  expected:[22] 
but was:[22]
[junit] Expected expression: ${singleSize*2}
[junit] Actual expression: ${doubleSize} File: 
file:/x1/gump/public/workspace/commons-jelly/target/test-classes/org/apache/commons/jelly/suite.jelly
 At tag test:assertEquals: line: 359 column: 75
[junit] at 
org.apache.commons.jelly.tags.junit.AssertTagSupport.fail(AssertTagSupport.java:39)
[junit] at 
org.apache.commons.jelly.tags.junit.AssertTagSupport.failNotEquals(AssertTagSupport.java:62)
[junit] at 
org.apache.commons.jelly.tags.junit.AssertEqualsTag.doTag(AssertEqualsTag.java:55)
[junit] 

DO NOT REPLY [Bug 37153] - [pool] patch to use non-deprecated CursorableLinkedList from Collections

2005-10-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=37153.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37153





--- Additional Comments From [EMAIL PROTECTED]  2005-10-29 12:52 ---
There's a strong argument for breaking the dependency on collections altogether.
Dependencies cause problems for deep libraries and should really be minimized.
One reason is the troubles caused when two deep libraries require differnt
versions of a shared dependency. Another is to reduce the minimum size of 
download.

I know that this is counter-intuitive but deep libraries are different from
application code, frameworks and shallow libraries.

The only collections class that is required is CursorableLinkedList. I've been
thinking of ways to use some fancy footwork to include a repackaged version of
the current released collections version. Alternatively, could just fork the
source. 


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED]: Project commons-jelly-tags-xml-test (in module commons-jelly) failed

2005-10-29 Thread commons-jelly-tags-xml development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-jelly-tags-xml-test has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 6 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-jelly-tags-xml-test :  Commons Jelly


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-xml-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -WARNING- Overriding Maven properties: 
[/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/build.properties]
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-reports



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-xml-test/gump_work/build_commons-jelly_commons-jelly-tags-xml-test.html
Work Name: build_commons-jelly_commons-jelly-tags-xml-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 41 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-29102005.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar
-
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testSetSingleNodeAndAsString(org.apache.commons.jelly.tags.junit.CaseTag$1):
  Caused an ERROR
[junit] 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:294:81:
 x:set You must define an attribute called 'select' for this tag.
[junit] org.apache.commons.jelly.MissingAttributeException: 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:294:81:
 x:set You must define an attribute called 'select' for this tag.
[junit] at 
org.apache.commons.jelly.tags.xml.SetTag.doTag(SetTag.java:86)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testSetStringLists(org.apache.commons.jelly.tags.junit.CaseTag$1):
Caused an ERROR
[junit] 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:339:82:
 x:set You must define an attribute called 'select' for this tag.
[junit] org.apache.commons.jelly.MissingAttributeException: 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:339:82:
 x:set You must define an attribute called 'select' for this tag.
[junit] at 
org.apache.commons.jelly.tags.xml.SetTag.doTag(SetTag.java:86)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testEntities(org.apache.commons.jelly.tags.junit.CaseTag$1):  Caused an 
ERROR
[junit] 

[EMAIL PROTECTED]: Project commons-jelly-tags-xml-test (in module commons-jelly) failed

2005-10-29 Thread commons-jelly-tags-xml development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-jelly-tags-xml-test has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 6 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-jelly-tags-xml-test :  Commons Jelly


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-xml-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -WARNING- Overriding Maven properties: 
[/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/build.properties]
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-reports



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-xml-test/gump_work/build_commons-jelly_commons-jelly-tags-xml-test.html
Work Name: build_commons-jelly_commons-jelly-tags-xml-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 41 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-29102005.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar
-
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testSetSingleNodeAndAsString(org.apache.commons.jelly.tags.junit.CaseTag$1):
  Caused an ERROR
[junit] 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:294:81:
 x:set You must define an attribute called 'select' for this tag.
[junit] org.apache.commons.jelly.MissingAttributeException: 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:294:81:
 x:set You must define an attribute called 'select' for this tag.
[junit] at 
org.apache.commons.jelly.tags.xml.SetTag.doTag(SetTag.java:86)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testSetStringLists(org.apache.commons.jelly.tags.junit.CaseTag$1):
Caused an ERROR
[junit] 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:339:82:
 x:set You must define an attribute called 'select' for this tag.
[junit] org.apache.commons.jelly.MissingAttributeException: 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:339:82:
 x:set You must define an attribute called 'select' for this tag.
[junit] at 
org.apache.commons.jelly.tags.xml.SetTag.doTag(SetTag.java:86)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testEntities(org.apache.commons.jelly.tags.junit.CaseTag$1):  Caused an 
ERROR
[junit] 

[EMAIL PROTECTED]: Project commons-jelly-tags-define-test (in module commons-jelly) failed

2005-10-29 Thread commons-jelly-tags-define development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-jelly-tags-define-test has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 3 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-jelly-tags-define-test :  Commons Jelly


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-define-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/target/test-reports



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-define-test/gump_work/build_commons-jelly_commons-jelly-tags-define-test.html
Work Name: build_commons-jelly_commons-jelly-tags-define-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 15 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/dynabean/target/commons-jelly-tags-dynabean-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-29102005.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar
-
[junit] at 
org.jaxen.saxpath.base.XPathReader.unionExpr(XPathReader.java:1129)
[junit] at 
org.jaxen.saxpath.base.XPathReader.unaryExpr(XPathReader.java:1117)
[junit] at 
org.jaxen.saxpath.base.XPathReader.multiplicativeExpr(XPathReader.java:1039)
[junit] at 
org.jaxen.saxpath.base.XPathReader.additiveExpr(XPathReader.java:982)
[junit] at 
org.jaxen.saxpath.base.XPathReader.relationalExpr(XPathReader.java:902)
[junit] at 
org.jaxen.saxpath.base.XPathReader.equalityExpr(XPathReader.java:850)
[junit] at 
org.jaxen.saxpath.base.XPathReader.andExpr(XPathReader.java:826)
[junit] at 
org.jaxen.saxpath.base.XPathReader.orExpr(XPathReader.java:804)
[junit] at org.jaxen.saxpath.base.XPathReader.expr(XPathReader.java:797)
[junit] at 
org.jaxen.saxpath.base.XPathReader.parse(XPathReader.java:105)
[junit] at org.jaxen.BaseXPath.init(BaseXPath.java:126)
[junit] at org.jaxen.BaseXPath.init(BaseXPath.java:152)
[junit] at org.jaxen.dom4j.Dom4jXPath.init(Dom4jXPath.java:101)
[junit] at 
org.apache.commons.jelly.expression.xpath.XPathExpression.evaluate(XPathExpression.java:78)
[junit] at 
org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:256)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] at junit.framework.TestCase.runBare(TestCase.java:127)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at 

[EMAIL PROTECTED]: Project commons-jelly-tags-define-test (in module commons-jelly) failed

2005-10-29 Thread commons-jelly-tags-define development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-jelly-tags-define-test has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 3 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-jelly-tags-define-test :  Commons Jelly


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-define-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/target/test-reports



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-define-test/gump_work/build_commons-jelly_commons-jelly-tags-define-test.html
Work Name: build_commons-jelly_commons-jelly-tags-define-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 15 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/dynabean/target/commons-jelly-tags-dynabean-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-29102005.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar
-
[junit] at 
org.jaxen.saxpath.base.XPathReader.unionExpr(XPathReader.java:1129)
[junit] at 
org.jaxen.saxpath.base.XPathReader.unaryExpr(XPathReader.java:1117)
[junit] at 
org.jaxen.saxpath.base.XPathReader.multiplicativeExpr(XPathReader.java:1039)
[junit] at 
org.jaxen.saxpath.base.XPathReader.additiveExpr(XPathReader.java:982)
[junit] at 
org.jaxen.saxpath.base.XPathReader.relationalExpr(XPathReader.java:902)
[junit] at 
org.jaxen.saxpath.base.XPathReader.equalityExpr(XPathReader.java:850)
[junit] at 
org.jaxen.saxpath.base.XPathReader.andExpr(XPathReader.java:826)
[junit] at 
org.jaxen.saxpath.base.XPathReader.orExpr(XPathReader.java:804)
[junit] at org.jaxen.saxpath.base.XPathReader.expr(XPathReader.java:797)
[junit] at 
org.jaxen.saxpath.base.XPathReader.parse(XPathReader.java:105)
[junit] at org.jaxen.BaseXPath.init(BaseXPath.java:126)
[junit] at org.jaxen.BaseXPath.init(BaseXPath.java:152)
[junit] at org.jaxen.dom4j.Dom4jXPath.init(Dom4jXPath.java:101)
[junit] at 
org.apache.commons.jelly.expression.xpath.XPathExpression.evaluate(XPathExpression.java:78)
[junit] at 
org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:256)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] at junit.framework.TestCase.runBare(TestCase.java:127)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at 

[EMAIL PROTECTED]: Project commons-jelly-tags-jsl-test (in module commons-jelly) failed

2005-10-29 Thread commons-jelly-tags-jsl development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-jelly-tags-jsl-test has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 3 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-jelly-tags-jsl-test :  Commons Jelly


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on ant exists, no need to add for property 
maven.jar.ant-optional.
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -WARNING- Overriding Maven properties: 
[/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties]
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/test-reports



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/gump_work/build_commons-jelly_commons-jelly-tags-jsl-test.html
Work Name: build_commons-jelly_commons-jelly-tags-jsl-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 17 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/ant/target/commons-jelly-tags-ant-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-29102005.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar
-
[junit] at 
org.apache.commons.jelly.tags.xml.ExprTag.doTag(ExprTag.java:46)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
[junit] at 
org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:234)
[junit] at 
org.apache.commons.jelly.tags.core.SetTag.doTag(SetTag.java:90)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
[junit] at 
org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTag.java:160)
[junit] at org.dom4j.rule.Mode.fireRule(Mode.java:58)
[junit] at org.dom4j.rule.Mode.applyTemplates(Mode.java:79)
[junit] at org.dom4j.rule.RuleManager$1.run(RuleManager.java:171)
[junit] at org.dom4j.rule.Mode.fireRule(Mode.java:58)
[junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:102)
[junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:91)
[junit] at 

[EMAIL PROTECTED]: Project commons-jelly-tags-jsl-test (in module commons-jelly) failed

2005-10-29 Thread commons-jelly-tags-jsl development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-jelly-tags-jsl-test has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 3 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-jelly-tags-jsl-test :  Commons Jelly


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on ant exists, no need to add for property 
maven.jar.ant-optional.
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -WARNING- Overriding Maven properties: 
[/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties]
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/test-reports



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/gump_work/build_commons-jelly_commons-jelly-tags-jsl-test.html
Work Name: build_commons-jelly_commons-jelly-tags-jsl-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 17 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/ant/target/commons-jelly-tags-ant-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-29102005.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar
-
[junit] at 
org.apache.commons.jelly.tags.xml.ExprTag.doTag(ExprTag.java:46)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
[junit] at 
org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:234)
[junit] at 
org.apache.commons.jelly.tags.core.SetTag.doTag(SetTag.java:90)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
[junit] at 
org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTag.java:160)
[junit] at org.dom4j.rule.Mode.fireRule(Mode.java:58)
[junit] at org.dom4j.rule.Mode.applyTemplates(Mode.java:79)
[junit] at org.dom4j.rule.RuleManager$1.run(RuleManager.java:171)
[junit] at org.dom4j.rule.Mode.fireRule(Mode.java:58)
[junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:102)
[junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:91)
[junit] at 

[pool] pool: the future [WAS Re: [pool] synchronization issues in Pool]

2005-10-29 Thread robert burrell donkin
On Thu, 2005-10-27 at 21:05 +0100, robert burrell donkin wrote:
 On Mon, 2005-10-24 at 17:42 -0400, Sandy McArthur wrote:

snip

While I'm at it would it be desirable to transition to the privately
head lock idiom
   it might (however) stop a user doing something equivalent through
   carelessness or naivity. so probably worth doing. would need to add a
   note to the documentation since this would change the semantics.
   opinions?
  
  I have a number of pending patches: http://tinyurl.com/cauwd that I'd
  like to see commited or rejected as I'm starting to feel no one cares
  about them and it's becoming a pain to maintain my own patched pool
  version. 
 
 most of the committers listed in the project.xml aren't that active in
 the commons any more :-/
 
 re: 33264, 36719, 36904, 37153
 
 these all suffer from issues with backward compatibility. i'd like to
 have a little think and then move the discussion to a new thread.

there are a couple of issues which i needed a bit of time to think
about. 

IMHO these changes will improve pool (though some details need more
discussion) but are not backwards compatible with the existing 1.x
releases. so, if these are applied pool would need to be moved forward
to 2.0. moving to 2.0 open doors for other revisions.

the recent synchronization fixes are important so one more 1.x release
would also be needed.

i created a new branch from trunk (before committing the above patches).
the trunk version is now 2.0-dev. all of these patches (save the
collections one) have now been committed. i've haven't committed the
collections patch since i wonder whether it might be better to break the
dependency entirely.

as always, opinions encouraged :)

a more significant issue is that pool really seems short of an active
development community. there are patches from developers out there and
the existing committers haven't been very active for a while. so,
perhaps all that's needed is an effort to restart active development.

i'm stretched pretty thin already. so, i'd need some help from
developers to kick start pool developmen. this might lead to 1.3 and 2.0
releases. any volunteers interested?

- robert


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED]: Project commons-jelly-tags-html (in module commons-jelly) failed

2005-10-29 Thread commons-jelly-tags-html development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-jelly-tags-html has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 3 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-jelly-tags-html :  Commons Jelly


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-html/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-jelly-tags-html-29102005.jar] identifier set to 
project name
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-reports
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-html/gump_work/build_commons-jelly_commons-jelly-tags-html.html
Work Name: build_commons-jelly_commons-jelly-tags-html (Type: Build)
Work ended in a state of : Failed
Elapsed: 14 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/commons-jelly-tags-jsl-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-29102005.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar:/usr/local/gump/packages/nekohtml-0.9.5/nekohtml.jar
-
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testLowerCase(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an 
ERROR
[junit] 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:40:48:
 test:assert You must define an attribute called 'test' for this tag.
[junit] org.apache.commons.jelly.MissingAttributeException: 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:40:48:
 test:assert You must define an attribute called 'test' for this tag.
[junit] at 
org.apache.commons.jelly.tags.junit.AssertTag.doTag(AssertTag.java:54)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testMixedCase(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an 
ERROR
[junit] 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:47:48:
 test:assert You must define an attribute called 'test' for this tag.
[junit] org.apache.commons.jelly.MissingAttributeException: 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:47:48:
 test:assert You must define an attribute called 'test' for this tag.
[junit] at 

[EMAIL PROTECTED]: Project commons-jelly-tags-html (in module commons-jelly) failed

2005-10-29 Thread commons-jelly-tags-html development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-jelly-tags-html has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 3 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-jelly-tags-html :  Commons Jelly


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-html/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-jelly-tags-html-29102005.jar] identifier set to 
project name
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-reports
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-html/gump_work/build_commons-jelly_commons-jelly-tags-html.html
Work Name: build_commons-jelly_commons-jelly-tags-html (Type: Build)
Work ended in a state of : Failed
Elapsed: 14 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/html]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/commons-jelly-tags-jsl-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-29102005.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar:/usr/local/gump/packages/nekohtml-0.9.5/nekohtml.jar
-
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testLowerCase(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an 
ERROR
[junit] 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:40:48:
 test:assert You must define an attribute called 'test' for this tag.
[junit] org.apache.commons.jelly.MissingAttributeException: 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:40:48:
 test:assert You must define an attribute called 'test' for this tag.
[junit] at 
org.apache.commons.jelly.tags.junit.AssertTag.doTag(AssertTag.java:54)
[junit] at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
[junit] at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59)
[junit] 
[junit] 
[junit] Testcase: 
testMixedCase(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an 
ERROR
[junit] 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:47:48:
 test:assert You must define an attribute called 'test' for this tag.
[junit] org.apache.commons.jelly.MissingAttributeException: 
file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:47:48:
 test:assert You must define an attribute called 'test' for this tag.
[junit] at 

[EMAIL PROTECTED]: Project commons-latka (in module jakarta-commons) failed

2005-10-29 Thread Ted Husted
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-latka has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 12 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-latka :  Functional Testing Suite


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-commons/commons-latka/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-latka.jar] identifier set to project name
 -DEBUG- Dependency on packaged-jaxen exists, no need to add for property 
jaxen.jar.
 -INFO- Made directory 
[/usr/local/gump/public/workspace/jakarta-commons/latka/target/classes]
 -INFO- Made directory 
[/usr/local/gump/public/workspace/jakarta-commons/latka/target/test-classes]
 -INFO- Failed with reason build failed
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-commons/commons-latka/gump_work/build_jakarta-commons_commons-latka.html
Work Name: build_jakarta-commons_commons-latka (Type: Build)
Work ended in a state of : Failed
Elapsed: 11 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/xalan-unbundled.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only 
-Djaxen.jar=/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar dist 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/latka]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/latka/target/classes:/usr/local/gump/public/workspace/jakarta-commons/latka/target/test-classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/httpclient/dist/commons-httpclient.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/codec/dist/commons-codec-29102005.jar:/usr/local/gump/public/workspace/logging-log4j/log4j-29102005.jar:/usr/local/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-29102005.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-29102005.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar
-
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.617 sec
[junit] - Standard Output ---
[junit] log4j:INFO Using URL 
[file:/x1/gump/public/workspace/jakarta-commons/latka/target/classes/log4j.properties]
 for automatic log4j configuration of repository named [default].
[junit] ESE

[junit] [message] boo1

[junit] http://example.net:80/
[junit]   REQUEST ERROR (-1 millis)
[junit] java.net.UnknownHostException: example.net

[junit] [message] boo2

[junit] http://example.org:80/
[junit]   REQUEST SKIPPED (-1 millis)

[junit] [message] boo3

[junit] http://example.net:80/
[junit]   REQUEST ERROR (-1 millis)
[junit] java.net.UnknownHostException: example.net


[junit] SUITE FAILED

[EMAIL PROTECTED]: Project commons-latka (in module jakarta-commons) failed

2005-10-29 Thread Ted Husted
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-latka has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 12 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-latka :  Functional Testing Suite


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-commons/commons-latka/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-latka.jar] identifier set to project name
 -DEBUG- Dependency on packaged-jaxen exists, no need to add for property 
jaxen.jar.
 -INFO- Made directory 
[/usr/local/gump/public/workspace/jakarta-commons/latka/target/classes]
 -INFO- Made directory 
[/usr/local/gump/public/workspace/jakarta-commons/latka/target/test-classes]
 -INFO- Failed with reason build failed
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-commons/commons-latka/gump_work/build_jakarta-commons_commons-latka.html
Work Name: build_jakarta-commons_commons-latka (Type: Build)
Work ended in a state of : Failed
Elapsed: 11 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/java/build/xalan-unbundled.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only 
-Djaxen.jar=/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar dist 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/latka]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/latka/target/classes:/usr/local/gump/public/workspace/jakarta-commons/latka/target/test-classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/httpclient/dist/commons-httpclient.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/codec/dist/commons-codec-29102005.jar:/usr/local/gump/public/workspace/logging-log4j/log4j-29102005.jar:/usr/local/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-29102005.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-29102005.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar
-
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.617 sec
[junit] - Standard Output ---
[junit] log4j:INFO Using URL 
[file:/x1/gump/public/workspace/jakarta-commons/latka/target/classes/log4j.properties]
 for automatic log4j configuration of repository named [default].
[junit] ESE

[junit] [message] boo1

[junit] http://example.net:80/
[junit]   REQUEST ERROR (-1 millis)
[junit] java.net.UnknownHostException: example.net

[junit] [message] boo2

[junit] http://example.org:80/
[junit]   REQUEST SKIPPED (-1 millis)

[junit] [message] boo3

[junit] http://example.net:80/
[junit]   REQUEST ERROR (-1 millis)
[junit] java.net.UnknownHostException: example.net


[junit] SUITE FAILED

[EMAIL PROTECTED]: Project commons-jelly-tags-swing (in module commons-jelly) failed

2005-10-29 Thread JellySwing development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-jelly-tags-swing has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 3 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-jelly-tags-swing :  Commons Jelly


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-swing/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-jelly-tags-swing-29102005.jar] identifier set to 
project name
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/swing/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/swing/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/swing/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/swing/target/test-reports
 -WARNING- No directory 
[/usr/local/gump/public/workspace/commons-jelly/jelly-tags/swing/target/test-reports]
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-swing/gump_work/build_commons-jelly_commons-jelly-tags-swing.html
Work Name: build_commons-jelly_commons-jelly-tags-swing (Type: Build)
Work ended in a state of : Failed
Elapsed: 3 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/swing]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/target/commons-jelly-tags-define-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/interaction/target/commons-jelly-tags-interaction-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-29102005.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar
-
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at 
org.apache.commons.jelly.JellyContext.getTagLibrary(JellyContext.java:432)
at 
org.apache.maven.jelly.MavenJellyContext.getTagLibrary(MavenJellyContext.java:171)
at 
org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1033)
at 
org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:647)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown 
Source)
at 
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown 

[EMAIL PROTECTED]: Project commons-jelly-tags-swing (in module commons-jelly) failed

2005-10-29 Thread JellySwing development
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project commons-jelly-tags-swing has an issue affecting its community 
integration.
This issue affects 1 projects,
 and has been outstanding for 3 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- commons-jelly-tags-swing :  Commons Jelly


Full details are available at:

http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-swing/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [commons-jelly-tags-swing-29102005.jar] identifier set to 
project name
 -DEBUG- Dependency on xml-xerces exists, no need to add for property 
maven.jar.xerces.
 -DEBUG- (Gump generated) Maven Properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/swing/build.properties
 -INFO- Failed with reason build failed
 -DEBUG- Maven POM in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/swing/project.xml
 -DEBUG- Maven project properties in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/swing/project.properties
 -INFO- Project Reports in: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/swing/target/test-reports
 -WARNING- No directory 
[/usr/local/gump/public/workspace/commons-jelly/jelly-tags/swing/target/test-reports]
 -INFO- Failed to extract fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-swing/gump_work/build_commons-jelly_commons-jelly-tags-swing.html
Work Name: build_commons-jelly_commons-jelly-tags-swing (Type: Build)
Work ended in a state of : Failed
Elapsed: 3 secs
Command Line: maven --offline jar 
[Working Directory: 
/usr/local/gump/public/workspace/commons-jelly/jelly-tags/swing]
CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/target/commons-jelly-tags-define-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/interaction/target/commons-jelly-tags-interaction-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-29102005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-29102005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-29102005.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar
-
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at 
org.apache.commons.jelly.JellyContext.getTagLibrary(JellyContext.java:432)
at 
org.apache.maven.jelly.MavenJellyContext.getTagLibrary(MavenJellyContext.java:171)
at 
org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1033)
at 
org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:647)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown 
Source)
at 
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown 

svn commit: r329400 - /jakarta/commons/proper/jexl/trunk/xdocs/navigation.xml

2005-10-29 Thread mvdb
Author: mvdb
Date: Sat Oct 29 04:58:00 2005
New Revision: 329400

URL: http://svn.apache.org/viewcvs?rev=329400view=rev
Log:
Change reference from CVS to SVN

Modified:
jakarta/commons/proper/jexl/trunk/xdocs/navigation.xml

Modified: jakarta/commons/proper/jexl/trunk/xdocs/navigation.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jexl/trunk/xdocs/navigation.xml?rev=329400r1=329399r2=329400view=diff
==
--- jakarta/commons/proper/jexl/trunk/xdocs/navigation.xml (original)
+++ jakarta/commons/proper/jexl/trunk/xdocs/navigation.xml Sat Oct 29 04:58:00 
2005
@@ -24,7 +24,7 @@
 menu name=Commons#xA0;Jexl
   item name=Overview  href=/index.html /
   item name=API#xA0;Documentationhref=/apidocs/index.html/
-  item name=Examples  
href=http://cvs.apache.org/viewcvs/jakarta-commons/jexl/examples//
+  item name=Examples  
href=http://svn.apache.org/repos/asf/jakarta/commons/proper/jexl/trunk/examples/;
   item name=Releases and Builds   href=/releases.html/
   item name=Jar Downloads href=/downloads.html/
   item name=Reference href=/reference/index.html
@@ -36,4 +36,4 @@
 /project
 
 
-   
\ No newline at end of file
+   



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 37210] - [logging] Can't find commons-logging-optional.jar

2005-10-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=37210.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37210


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




--- Additional Comments From [EMAIL PROTECTED]  2005-10-29 14:12 ---
AFAIK commons-logging-optional.jar was added later than the 1.0.4 release. Where
did you find it refered to in the 1.0.4 documentation?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [proxy] Moving Proxy to Commons Proper

2005-10-29 Thread robert burrell donkin
ping?

(i didn't really intend this to slow down the momentum)

- robert

On Sat, 2005-10-22 at 14:01 +0100, robert burrell donkin wrote:
 On Thu, 2005-10-20 at 08:14 -0400, James Carman wrote:
   i think that the proposal could be improved. it's usually used as the
   basis of the introduction paragraph for the component. a good proposal
   is a powerful weapon against featuritus and scope drift. so, it's
   important for the long term health of a project. 
  
   The package shall create and maintain a suite of utility classes for
   creating proxy objects seems just a little short. it seems to me that
   proxy is more like a minimal core of bridging API's for constructing
   proxy's (with minimal dependencies) supported by a number of optional
   implementations. 
  
  That's just the first sentence of the proposals Scope of the Package
  section.  Here's the whole paragraph:
  
  The package shall create and maintain a suite of utility classes for
  creating proxy objects written in the Java language to be distributed under
  the ASF license. The package will include many different object provider
  implementations.  The package will also serve as a repository for many
  useful interceptor implementations. The package will provide multiple proxy
  factory implementations, supporting different proxying technologies (JDK
  proxies, CGLIB, and Javassist).
 
 IMHO that sounds more a like a description than a definition.
 
 good scopes are tough but it's best to be declarative rather than
 descriptive. the main use of the scope is to be able to know when a
 particular bit of functionality is in-scope and when it'd be better to
 create a new individual library. 
 
 the problem with descriptive scopes is that if they are taken literally
 then new work is almost always out-of-scope. 
 
 thinking about the scope can really help a component discover it's
 mission. for example, discussing the scope for math really helped to
 define it's niche in the code ecology. 
 
 this is an opertunity you only get once :) 
 
  The Commons Collections PROPOSAL.html file has this in its Scope of the
  Package section:
  
  The package will create and maintain a set of collections and related
  classes designed to be compatible with the Java Collections Framework, and
  to be distributed under the ASF license.
  
  I tried to model proxy's documents after collections, since it is one of the
  most popular commons libraries.
 
 unfortunately, it also has one of the worst scope statements :)
 
 in the past, this lack of clarity resulted in arguments about scope.
 
 - robert
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [pool] pool: the future [WAS Re: [pool] synchronization issues in Pool]

2005-10-29 Thread Sandy McArthur
Since you mentioned not breaking backwards compatibility I started
working on a fresh implementation which I think is coming along very
well and I intend to contribute back to the commons.

I've uploaded JavaDocs of what progress I've made so far. I figure I'm
about 45% done not including unit tests. See the org.mcarthur.
package:

JavaDocs for only the public interface:
http://sandy.mcarthur.org/pool/Pool-Protected/

JavaDocs including private members:
http://sandy.mcarthur.org/pool/Pool-Private/

I am interested in becoming a commiter someday.

On 10/29/05, robert burrell donkin [EMAIL PROTECTED] wrote:
  re: 33264, 36719, 36904, 37153
 
  these all suffer from issues with backward compatibility. i'd like to
  have a little think and then move the discussion to a new thread.

 there are a couple of issues which i needed a bit of time to think
 about.

 IMHO these changes will improve pool (though some details need more
 discussion) but are not backwards compatible with the existing 1.x
 releases. so, if these are applied pool would need to be moved forward
 to 2.0. moving to 2.0 open doors for other revisions.

 the recent synchronization fixes are important so one more 1.x release
 would also be needed.

 i created a new branch from trunk (before committing the above patches).
 the trunk version is now 2.0-dev. all of these patches (save the
 collections one) have now been committed. i've haven't committed the
 collections patch since i wonder whether it might be better to break the
 dependency entirely.

 as always, opinions encouraged :)

 a more significant issue is that pool really seems short of an active
 development community. there are patches from developers out there and
 the existing committers haven't been very active for a while. so,
 perhaps all that's needed is an effort to restart active development.

 i'm stretched pretty thin already. so, i'd need some help from
 developers to kick start pool developmen. this might lead to 1.3 and 2.0
 releases. any volunteers interested?


--
Sandy McArthur

Government big enough to supply everything you
need is big enough to take everything you have ...
The course of history shows that as a government
grows, liberty decreases. -- Thomas Jefferson

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r329444 - /jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/parser/XPath.jj

2005-10-29 Thread dmitri
Author: dmitri
Date: Sat Oct 29 09:54:45 2005
New Revision: 329444

URL: http://svn.apache.org/viewcvs?rev=329444view=rev
Log:
Updated license with permission of Gerald Huck

Modified:

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/parser/XPath.jj

Modified: 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/parser/XPath.jj
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/parser/XPath.jj?rev=329444r1=329443r2=329444view=diff
==
--- 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/parser/XPath.jj
 (original)
+++ 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/parser/XPath.jj
 Sat Oct 29 09:54:45 2005
@@ -1,13 +1,18 @@
 /*
-JavaCC Grammar for XSLT/XPath expressions (http://www.w3.org/TR/xpath)
-Authors: Ingo Macherius, Gerald Huck {macherius, [EMAIL PROTECTED]
-Refactoring and actions: Dmitri Plotnikov
-Version: 0.02
-(c) 1999 GMD
-(c) 2001 PLOTNIX, Inc
-No warranties, use at your own risk.
-*/
-
+ * Copyright 1999-2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 /* 
 JavaCC 1.1 Options



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r329468 - in /jakarta/commons/proper/jxpath/trunk/src: java/org/apache/commons/jxpath/ java/org/apache/commons/jxpath/ri/ java/org/apache/commons/jxpath/ri/axes/ java/org/apache/commons/jx

2005-10-29 Thread dmitri
Author: dmitri
Date: Sat Oct 29 12:02:38 2005
New Revision: 329468

URL: http://svn.apache.org/viewcvs?rev=329468view=rev
Log:
Fixes for bug 32360. Please follow discussions at:

http://issues.apache.org/bugzilla/show_bug.cgi?id=32360

Modified:

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathContext.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/JXPathContextReferenceImpl.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/NamespaceResolver.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/axes/RootContext.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dom/DOMNodeIterator.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dom/DOMNodePointer.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/jdom/JDOMNodeIterator.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/jdom/JDOMNodePointer.java

jakarta/commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/model/XMLModelTestCase.java

Modified: 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathContext.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathContext.java?rev=329468r1=329467r2=329468view=diff
==
--- 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathContext.java
 (original)
+++ 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathContext.java
 Sat Oct 29 12:02:38 2005
@@ -860,4 +860,34 @@
 throw new UnsupportedOperationException(
 Namespace registration is not implemented by  + getClass());
 }
+
+/**
+ * If true, default namespace declarations in XML are ignored. Thus, if you
+ * have this XML: 
+ * pre
+ *   lt;a xmlns=mynsgt; 
+ * lt;bgt;109lt;/bgt;
+ *   lt;/agt; 
+ * /pos
+ * you can use the path /a/b to retrieve the contents of the nested 
element.
+ * p
+ * If false (default), you have to do the default thing, which is this:
+ * pre
+ *   context.registerNamespace(ns, myns);
+ *   context.getValue(/ns:a/ns:b);
+ * /pre
+ */
+public boolean isDefaultNamespaceIgnored() {
+return false;
+}
+
+
+/**
+ * Changing this flag to true makes jxpath forgive missing default 
namespace specification.
+ * @see #isDefaultNamespaceIgnored(boolean)
+ */
+public void setDefaultNamespaceIgnored(boolean flag) {
+throw new UnsupportedOperationException(
+Namespace registration is not implemented by  + getClass()); 
   
+}
 }

Modified: 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/JXPathContextReferenceImpl.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/JXPathContextReferenceImpl.java?rev=329468r1=329467r2=329468view=diff
==
--- 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/JXPathContextReferenceImpl.java
 (original)
+++ 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/JXPathContextReferenceImpl.java
 Sat Oct 29 12:02:38 2005
@@ -108,6 +108,7 @@
 private Pointer contextPointer;
 
 protected NamespaceResolver namespaceResolver;
+private boolean defaultNamespaceIgnored;
 
 // The frequency of the cache cleanup
 private static final int CLEANUP_THRESHOLD = 500;
@@ -674,9 +675,25 @@
 
 public NamespaceResolver getNamespaceResolver() {
 namespaceResolver.seal();
+
namespaceResolver.setDefaultNamespaceIgnored(isDefaultNamespaceIgnored());
 return namespaceResolver;
 }
 
+public boolean isDefaultNamespaceIgnored() {
+if (defaultNamespaceIgnored) {
+return true;
+}
+if (parentContext != null) {
+return parentContext.isDefaultNamespaceIgnored();
+}
+
+return false;
+}
+
+public void setDefaultNamespaceIgnored(boolean flag) {
+defaultNamespaceIgnored = flag;
+}
+
 /**
  * Checks if existenceCheckClass exists on the class path. If so, allocates
  * an instance of the specified class, otherwise returns null.

Modified: 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/NamespaceResolver.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/NamespaceResolver.java?rev=329468r1=329467r2=329468view=diff
==
--- 

DO NOT REPLY [Bug 32360] - [jxpath] Default Namespace not handled correctly

2005-10-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=32360.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32360


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-10-29 21:04 ---
Added setDefaultNamespaceIgnored(boolean) and isDefaultNamespaceIgnored() to 
JXPathContext and updated the implementations of DOMNodePointer and 
JDOMNodePointer.  Thank you, everybody, for valuable input.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r329470 - /jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathBasicBeanInfo.java

2005-10-29 Thread dmitri
Author: dmitri
Date: Sat Oct 29 12:11:37 2005
New Revision: 329470

URL: http://svn.apache.org/viewcvs?rev=329470view=rev
Log:
Fixed a synchronization issue described in this bug report:

http://issues.apache.org/bugzilla/show_bug.cgi?id=34552

Modified:

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathBasicBeanInfo.java

Modified: 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathBasicBeanInfo.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathBasicBeanInfo.java?rev=329470r1=329469r2=329470view=diff
==
--- 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathBasicBeanInfo.java
 (original)
+++ 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathBasicBeanInfo.java
 Sat Oct 29 12:11:37 2005
@@ -80,14 +80,15 @@
 bi = Introspector.getBeanInfo(clazz, Object.class);
 }
 PropertyDescriptor[] pds = bi.getPropertyDescriptors();
-propertyDescriptors = new PropertyDescriptor[pds.length];
-System.arraycopy(pds, 0, propertyDescriptors, 0, pds.length);
-Arrays.sort(propertyDescriptors, new Comparator() {
+PropertyDescriptor[] descriptors = new 
PropertyDescriptor[pds.length];
+System.arraycopy(pds, 0, descriptors, 0, pds.length);
+Arrays.sort(descriptors, new Comparator() {
 public int compare(Object left, Object right) {
 return ((PropertyDescriptor) left).getName().compareTo(
 ((PropertyDescriptor) right).getName());
 }
 });
+propertyDescriptors = descriptors;
 }
 catch (IntrospectionException ex) {
 ex.printStackTrace();
@@ -99,10 +100,11 @@
 public PropertyDescriptor getPropertyDescriptor(String propertyName) {
 if (propertyNames == null) {
 PropertyDescriptor[] pds = getPropertyDescriptors();
-propertyNames = new String[pds.length];
+String[] names = new String[pds.length];
 for (int i = 0; i  pds.length; i++) {
-propertyNames[i] = pds[i].getName();
+names[i] = pds[i].getName();
 }
+propertyNames = names;
 }
 
 for (int i = 0; i  propertyNames.length; i++) {



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 34552] - [jxpath] Using JXPath in multiple threads

2005-10-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=34552.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34552


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-10-29 21:12 ---
Per Rob's suggestions changed the code to make the field assignment last

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 37042] - [fileupload] Memory Issue

2005-10-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=37042.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37042


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-10-29 21:21 ---
This was fixed some time ago in 1.1-dev.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r329481 - in /jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath: ./ functions/ ri/ ri/axes/ ri/compiler/ ri/model/ ri/model/beans/ ri/model/dom/ ri/model/dynabeans/ ri

2005-10-29 Thread dmitri
Author: dmitri
Date: Sat Oct 29 14:07:19 2005
New Revision: 329481

URL: http://svn.apache.org/viewcvs?rev=329481view=rev
Log:
Introduced specialized exceptions

Modified:

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathException.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/functions/ConstructorFunction.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/functions/MethodFunction.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/JXPathContextReferenceImpl.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/Parser.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/axes/SimplePathInterpreter.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/compiler/CoreFunction.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/compiler/ExtensionFunction.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/NodePointer.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/VariablePointer.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/BeanPropertyPointer.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/NullPropertyPointer.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/PropertyOwnerPointer.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/PropertyPointer.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dom/DOMNodePointer.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dynabeans/DynaBeanPropertyPointer.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dynamic/DynamicPropertyPointer.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/jdom/JDOMNodePointer.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/util/BasicTypeConverter.java

Modified: 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathException.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathException.java?rev=329481r1=329480r2=329481view=diff
==
--- 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathException.java
 (original)
+++ 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathException.java
 Sat Oct 29 14:07:19 2005
@@ -23,7 +23,8 @@
  */
 
 public class JXPathException extends RuntimeException {
-
+private static final long serialVersionUID = 4306409701468017766L;
+
 /** @serial */
 private Throwable exception;
 
@@ -116,4 +117,12 @@
 public Throwable getException() {
 return exception;
 }
+
+/**
+ * Same as [EMAIL PROTECTED] #getException() getException()}
+ */
+public Throwable getCause() {
+return exception;
+}
+
 }

Modified: 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/functions/ConstructorFunction.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/functions/ConstructorFunction.java?rev=329481r1=329480r2=329481view=diff
==
--- 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/functions/ConstructorFunction.java
 (original)
+++ 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/functions/ConstructorFunction.java
 Sat Oct 29 14:07:19 2005
@@ -20,7 +20,7 @@
 
 import org.apache.commons.jxpath.ExpressionContext;
 import org.apache.commons.jxpath.Function;
-import org.apache.commons.jxpath.JXPathException;
+import org.apache.commons.jxpath.JXPathInvalidAccessException;
 import org.apache.commons.jxpath.util.TypeUtils;
 
 /**
@@ -66,7 +66,7 @@
 if (ex instanceof InvocationTargetException) {
 ex = ((InvocationTargetException) ex).getTargetException();
 }
-throw new JXPathException(
+throw new JXPathInvalidAccessException(
 Cannot invoke constructor  + constructor,
 ex);
 }

Modified: 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/functions/MethodFunction.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/functions/MethodFunction.java?rev=329481r1=329480r2=329481view=diff
==
--- 

svn commit: r329482 - /jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/

2005-10-29 Thread dmitri
Author: dmitri
Date: Sat Oct 29 14:08:36 2005
New Revision: 329482

URL: http://svn.apache.org/viewcvs?rev=329482view=rev
Log:
Introduced specialized exceptions

Added:

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathAbstractFactoryException.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathFunctionNotFoundException.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathInvalidAccessException.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathInvalidSyntaxException.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathNotFoundException.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathTypeConversionException.java

Added: 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathAbstractFactoryException.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathAbstractFactoryException.java?rev=329482view=auto
==
--- 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathAbstractFactoryException.java
 (added)
+++ 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathAbstractFactoryException.java
 Sat Oct 29 14:08:36 2005
@@ -0,0 +1,33 @@
+/*

+ * Copyright 1999-2004 The Apache Software Foundation

+ *

+ * Licensed under the Apache License, Version 2.0 (the License);

+ * you may not use this file except in compliance with the License.

+ * You may obtain a copy of the License at

+ *

+ * http://www.apache.org/licenses/LICENSE-2.0

+ *

+ * Unless required by applicable law or agreed to in writing, software

+ * distributed under the License is distributed on an AS IS BASIS,

+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+ * See the License for the specific language governing permissions and

+ * limitations under the License.

+ */

+package org.apache.commons.jxpath;

+

+/**

+ * Thrown when an AbstractFactory cannot generate an object for the requested

+ * path.

+ * 

+ * @author Dmitri Plotnikov

+ * @version $Revision: 155422 $ $Date: 2005-02-26 08:07:46 -0500 (Sat, 26 Feb 
2005) $

+ */

+

+public class JXPathAbstractFactoryException extends JXPathException {

+

+private static final long serialVersionUID = -4403564377958943239L;

+

+public JXPathAbstractFactoryException(String message) {

+super(message);

+}

+}
\ No newline at end of file

Added: 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathFunctionNotFoundException.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathFunctionNotFoundException.java?rev=329482view=auto
==
--- 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathFunctionNotFoundException.java
 (added)
+++ 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathFunctionNotFoundException.java
 Sat Oct 29 14:08:36 2005
@@ -0,0 +1,32 @@
+/*

+ * Copyright 1999-2004 The Apache Software Foundation

+ *

+ * Licensed under the Apache License, Version 2.0 (the License);

+ * you may not use this file except in compliance with the License.

+ * You may obtain a copy of the License at

+ *

+ * http://www.apache.org/licenses/LICENSE-2.0

+ *

+ * Unless required by applicable law or agreed to in writing, software

+ * distributed under the License is distributed on an AS IS BASIS,

+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+ * See the License for the specific language governing permissions and

+ * limitations under the License.

+ */

+package org.apache.commons.jxpath;

+

+/**

+ * Thrown when JXPath encounters an unknown extension function.

+ *

+ * @author Dmitri Plotnikov

+ * @version $Revision: 155422 $ $Date: 2005-02-26 08:07:46 -0500 (Sat, 26 Feb 
2005) $

+ */

+

+public class JXPathFunctionNotFoundException extends JXPathException {

+

+private static final long serialVersionUID = -8875537628056117241L;

+

+public JXPathFunctionNotFoundException(String message) {

+super(message);

+}

+}
\ No newline at end of file

Added: 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathInvalidAccessException.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathInvalidAccessException.java?rev=329482view=auto
==
--- 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/JXPathInvalidAccessException.java
 (added)
+++ 

DO NOT REPLY [Bug 36330] - [jxpath] JXPathException cause

2005-10-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36330.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36330


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-10-29 23:10 ---
Added getCause() and also introduced a whole bunch of specialized exceptions 
(all subclasses of JXPathException) for easier error handling.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r329488 - /jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/NamespaceResolver.java

2005-10-29 Thread dmitri
Author: dmitri
Date: Sat Oct 29 14:55:53 2005
New Revision: 329488

URL: http://svn.apache.org/viewcvs?rev=329488view=rev
Log:
Fixed a problem that lead to paths with empty prefixes

Modified:

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/NamespaceResolver.java

Modified: 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/NamespaceResolver.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/NamespaceResolver.java?rev=329488r1=329487r2=329488view=diff
==
--- 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/NamespaceResolver.java
 (original)
+++ 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/NamespaceResolver.java
 Sat Oct 29 14:55:53 2005
@@ -96,8 +96,11 @@
 if (ni != null) {
 for (int position = 1; ni.setPosition(position); position++) {
 NodePointer nsPointer = ni.getNodePointer();
-reverseMap.put(nsPointer.getNamespaceURI(), 
-nsPointer.getName().getName());
+String uri = nsPointer.getNamespaceURI();  
  
+String prefix = nsPointer.getName().getName();
+if (!.equals(prefix)) {
+reverseMap.put(uri, prefix);
+}
 }
 }
 Iterator it = namespaceMap.entrySet().iterator();



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r329489 - /jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/axes/PredicateContext.java

2005-10-29 Thread dmitri
Author: dmitri
Date: Sat Oct 29 14:56:46 2005
New Revision: 329489

URL: http://svn.apache.org/viewcvs?rev=329489view=rev
Log:
Fixed bug 35911, with broke function last() in some cases

http://issues.apache.org/bugzilla/show_bug.cgi?id=35911

Modified:

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/axes/PredicateContext.java

Modified: 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/axes/PredicateContext.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/axes/PredicateContext.java?rev=329489r1=329488r2=329489view=diff
==
--- 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/axes/PredicateContext.java
 (original)
+++ 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/axes/PredicateContext.java
 Sat Oct 29 14:56:46 2005
@@ -164,6 +164,7 @@
 
 public void reset() {
 super.reset();
+parentContext.reset();
 done = false;
 }
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r329513 - in /jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri: axes/UnionContext.java compiler/ExpressionPath.java compiler/Path.java

2005-10-29 Thread dmitri
Author: dmitri
Date: Sat Oct 29 20:07:12 2005
New Revision: 329513

URL: http://svn.apache.org/viewcvs?rev=329513view=rev
Log:
Corrected behavior of chained predicates.  

Each predicate is supposed to form its own node set.

Modified:

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/axes/UnionContext.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/compiler/ExpressionPath.java

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/compiler/Path.java

Modified: 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/axes/UnionContext.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/axes/UnionContext.java?rev=329513r1=329512r2=329513view=diff
==
--- 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/axes/UnionContext.java
 (original)
+++ 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/axes/UnionContext.java
 Sat Oct 29 20:07:12 2005
@@ -29,7 +29,6 @@
  * @version $Revision$ $Date$
  */
 public class UnionContext extends NodeSetContext {
-private boolean startedSet = false;
 private EvalContext contexts[];
 private boolean prepared = false;
 

Modified: 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/compiler/ExpressionPath.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/compiler/ExpressionPath.java?rev=329513r1=329512r2=329513view=diff
==
--- 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/compiler/ExpressionPath.java
 (original)
+++ 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/compiler/ExpressionPath.java
 Sat Oct 29 20:07:12 2005
@@ -15,6 +15,7 @@
  */
 package org.apache.commons.jxpath.ri.compiler;
 
+import org.apache.commons.jxpath.BasicNodeSet;
 import org.apache.commons.jxpath.ri.EvalContext;
 import org.apache.commons.jxpath.ri.axes.InitialContext;
 import org.apache.commons.jxpath.ri.axes.NodeSetContext;
@@ -173,6 +174,9 @@
 }
 if (predicates != null) {
 for (int j = 0; j  predicates.length; j++) {
+if (j != 0) {
+context = new UnionContext(context, new 
EvalContext[]{context});
+}
 context = new PredicateContext(context, predicates[j]);
 }
 }

Modified: 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/compiler/Path.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/compiler/Path.java?rev=329513r1=329512r2=329513view=diff
==
--- 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/compiler/Path.java
 (original)
+++ 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/compiler/Path.java
 Sat Oct 29 20:07:12 2005
@@ -30,6 +30,7 @@
 import org.apache.commons.jxpath.ri.axes.PredicateContext;
 import org.apache.commons.jxpath.ri.axes.SelfContext;
 import org.apache.commons.jxpath.ri.axes.SimplePathInterpreter;
+import org.apache.commons.jxpath.ri.axes.UnionContext;
 import org.apache.commons.jxpath.ri.model.NodePointer;
 
 /**
@@ -238,6 +239,9 @@
 Expression predicates[] = steps[i].getPredicates();
 if (predicates != null) {
 for (int j = 0; j  predicates.length; j++) {
+if (j != 0) {
+context = new UnionContext(context, new 
EvalContext[]{context});
+}
 context = new PredicateContext(context, predicates[j]);
 }
 }



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 35911] - [jxpath] NullPointerException

2005-10-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=35911.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35911


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-10-30 04:08 ---
Corrected behavior or PredicateContext in two ways:
1) When reset, it must also reset its parent context
2) When you have multiple chained predicates, all but the last one must collect 
their individual node sets.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 35495] - [jxpath] Extension functions no longer work in certain cases

2005-10-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=35495.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35495


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME




--- Additional Comments From [EMAIL PROTECTED]  2005-10-30 04:13 ---
I cannot reproduce the described behavior.  I tried the attached code and it 
worked fine.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 35882] - [jxpath] Suggested BeanPropertyFactory implementation

2005-10-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=35882.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35882


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||LATER




--- Additional Comments From [EMAIL PROTECTED]  2005-10-30 04:39 ---
I like the idea of introducing a default abstract factory.  The code provided 
by Ken is very useful, but there are some issues that IMO make including it in 
the JXPath distribution a little premature.

1. JXPath does not currently require JDK 1.5.  Do we want to introduce that 
dependency at this point?

2. The factory does not handle either collections or indexed properties.

3. I believe this factory will sometimes generate NullPointerException.

4. I think if we were to bundle an implementation of AbstractFactory with 
JXPath, it should handle all supported object models, including DOM, JDOM, 
DynaBeans, maps etc.

To summarize, I think we should let this one simmer till we have a more 
comprehensive implementation.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r329518 - /jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/BeanPropertyPointer.java

2005-10-29 Thread dmitri
Author: dmitri
Date: Sat Oct 29 21:35:50 2005
New Revision: 329518

URL: http://svn.apache.org/viewcvs?rev=329518view=rev
Log:
Fixed bug 37299. Atomic values should declare that they have 0 properties.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37299

Modified:

jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/BeanPropertyPointer.java

Modified: 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/BeanPropertyPointer.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/BeanPropertyPointer.java?rev=329518r1=329517r2=329518view=diff
==
--- 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/BeanPropertyPointer.java
 (original)
+++ 
jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/BeanPropertyPointer.java
 Sat Oct 29 21:35:50 2005
@@ -40,7 +40,6 @@
 private Object baseValue = UNINITIALIZED;
 private Object value = UNINITIALIZED;
 
-private static final int UNKNOWN_LENGTH_MAX_COUNT = 1;
 
 public BeanPropertyPointer(NodePointer parent, JXPathBeanInfo beanInfo) {
 super(parent);
@@ -58,6 +57,9 @@
  * Number of the bean's properties.
  */
 public int getPropertyCount() {
+if (beanInfo.isAtomic()) {
+return 0;
+}
 return getPropertyDescriptors().length;
 }
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 37299] - JXPathContext.iteratePointers(//*) results are incorrect

2005-10-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=37299.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37299


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-10-30 05:37 ---
The issue with extraneous properties showing up is now fixed.
As far as text() is concerned, JXPath only supports that node type for DOM, 
JDOM and other XML-based data models.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]