DO NOT REPLY [Bug 37567] New: - StaticBucketMap#containsKey(final Object key) can return illegal value.

2005-11-20 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=37567.
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=37567

   Summary: StaticBucketMap#containsKey(final Object key) can return
illegal value.
   Product: Commons
   Version: 3.1
  Platform: All
OS/Version: Windows XP
Status: NEW
  Severity: normal
  Priority: P2
 Component: Collections
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


org.apache.commons.collections.map.StaticBucketMap#containsKey(any string) 
can return true by mistake when null key is containing in buckets.
I think containsKey(Object) method has to be modified like the following.

public boolean containsKey(final Object key) {
int hash = getHash(key);

synchronized (locks[hash]) {
Node n = buckets[hash];

while (n != null) {
-if (n.key == null || (n.key != null  n.key.equals(key))) {
+if ((n.key == null  key == null) || (n.key != null  
n.key.equals(key))) {
return true;
}

n = n.next;
}
}
return false;
}

Kazuya Ujihara

-- 
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-11-20 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 55 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-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/discovery/dist/commons-discovery.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-20112005.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-11-20 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 55 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-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/discovery/dist/commons-discovery.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-20112005.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-tags-xml-test (in module commons-jelly) failed

2005-11-20 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 37 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: 42 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-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-20112005.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-11-20 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 37 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: 42 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-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-20112005.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-swing (in module commons-jelly) failed

2005-11-20 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 46 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-20112005.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-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/target/commons-jelly-tags-define-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/interaction/target/commons-jelly-tags-interaction-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-20112005.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-11-20 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 46 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-20112005.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-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/target/commons-jelly-tags-define-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/interaction/target/commons-jelly-tags-interaction-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-20112005.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-define-test (in module commons-jelly) failed

2005-11-20 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 37 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.
 -WARNING- Overriding Maven properties: 
[/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/build.properties]
 -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: 14 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-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/dynabean/target/commons-jelly-tags-dynabean-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-20112005.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 

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

2005-11-20 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 37 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.
 -WARNING- Overriding Maven properties: 
[/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/build.properties]
 -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: 14 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-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/dynabean/target/commons-jelly-tags-dynabean-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-20112005.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 

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

2005-11-20 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 37 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: 18 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-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/ant/target/commons-jelly-tags-ant-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-20112005.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-11-20 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 37 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: 18 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-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/ant/target/commons-jelly-tags-ant-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-20112005.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-html (in module commons-jelly) failed

2005-11-20 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 37 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-20112005.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: 15 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-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/commons-jelly-tags-jsl-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-20112005.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-11-20 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 37 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-20112005.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: 15 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-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/commons-jelly-tags-jsl-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-20112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-20112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-20112005.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 

svn commit: r345737 - in /jakarta/commons/proper/httpclient/trunk/src: java/org/apache/commons/httpclient/util/ test/org/apache/commons/httpclient/ test/org/apache/commons/httpclient/cookie/

2005-11-20 Thread olegk
Author: olegk
Date: Sun Nov 20 04:30:47 2005
New Revision: 345737

URL: http://svn.apache.org/viewcvs?rev=345737view=rev
Log:
PR #37526 (warn on invalid set-cookie header)

Contributed by Oleg Kalnichevski
Reviewed by Ortwin Glück and Michael Becke

Modified:

jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/util/ParameterParser.java

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestParameterParser.java

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/cookie/TestCookieCompatibilitySpec.java

Modified: 
jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/util/ParameterParser.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/util/ParameterParser.java?rev=345737r1=345736r2=345737view=diff
==
--- 
jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/util/ParameterParser.java
 (original)
+++ 
jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/util/ParameterParser.java
 Sun Nov 20 04:30:47 2005
@@ -225,7 +225,7 @@
 if (hasChar()  (chars[pos] == separator)) {
 pos++; // skip separator
 }
-if ((paramName != null)  (paramName.length()  0)) {
+if (paramName != null  !(paramName.equals()  paramValue == 
null)) {
 params.add(new NameValuePair(paramName, paramValue));
 }
 }

Modified: 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestParameterParser.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestParameterParser.java?rev=345737r1=345736r2=345737view=diff
==
--- 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestParameterParser.java
 (original)
+++ 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestParameterParser.java
 Sun Nov 20 04:30:47 2005
@@ -96,7 +96,9 @@
 
 s =  = stuff ;
 params = parser.parse(s, ';');
-assertEquals(0, params.size());
+assertEquals(1, params.size());
+assertEquals(, ((NameValuePair)params.get(0)).getName());
+assertEquals(stuff, ((NameValuePair)params.get(0)).getValue());
 }
 
 public void testParsingEscapedChars() {

Modified: 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/cookie/TestCookieCompatibilitySpec.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/cookie/TestCookieCompatibilitySpec.java?rev=345737r1=345736r2=345737view=diff
==
--- 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/cookie/TestCookieCompatibilitySpec.java
 (original)
+++ 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/cookie/TestCookieCompatibilitySpec.java
 Sun Nov 20 04:30:47 2005
@@ -381,6 +381,17 @@
 assertEquals(Version, 0, parsed[0].getVersion());
 }
  
+public void testParseNoName() throws Exception {
+Header header = new Header(Set-Cookie,=stuff; path=/);
+
+CookieSpec cookiespec = new CookieSpecBase();
+try {
+Cookie[] parsed = cookieParse(cookiespec, 127.0.0.1, 80, /, 
false, header);
+fail(MalformedCookieException should have been thrown);
+} catch (MalformedCookieException ex) {
+// expected
+}
+}
  
 public void testParseNoValue() throws Exception {
 Header header = new Header(Set-Cookie,cookie-name=);



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



svn commit: r345738 - /jakarta/commons/proper/httpclient/trunk/release_notes.txt

2005-11-20 Thread olegk
Author: olegk
Date: Sun Nov 20 04:47:42 2005
New Revision: 345738

URL: http://svn.apache.org/viewcvs?rev=345738view=rev
Log:
PR #37526

Modified:
jakarta/commons/proper/httpclient/trunk/release_notes.txt

Modified: jakarta/commons/proper/httpclient/trunk/release_notes.txt
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/release_notes.txt?rev=345738r1=345737r2=345738view=diff
==
--- jakarta/commons/proper/httpclient/trunk/release_notes.txt (original)
+++ jakarta/commons/proper/httpclient/trunk/release_notes.txt Sun Nov 20 
04:47:42 2005
@@ -1,5 +1,9 @@
 Changes since Release Candidate 4:
 
+ * 37526 - Fixed incorrect processing of HTTP parameters with an 
+   empty name
+   Contributed by Oleg Kalnichevski olegk at apache.org
+
  * 37256 - Fixed bug causing MultipartRequestEntity to miscalculate the 
total content length if any of the parts returns a negative
content length value



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



Commons configuration not compatible with java.util.Properties

2005-11-20 Thread Jorge Ferrer
Hi Oliver, Emmanuel and all,

I have seen the same problem several times when people move from the
traditional java.util.Properties to Commons Configuration: it has some
characteristics which make it not compatible with the properties
format they were used to. I'd like to make a proposal for how to solve
this. But first the details...

The most important problem is the use of commas to represent
multivalued properties. The latest case I've seen is one application
which read configuration which was later given to JGroups. Here is an
extract of the configuration:

cache.cluster.properties=UDP(bind_addr=127.0.0.1;mcast_addr=231.12.21.101;mcast_port=45566;ip
_ttl=32;mcast_send_buf_size=15;mcast_recv_buf_size=8):PING(timeout=2000;num_initial_me
mbers=3):MERGE2(min_interval=5000;max_interval=1):FD_SOCK:VERIFY_SUSPECT(timeout=1500):pbc
ast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800;max_xmit_size=8192):UNICAST(tim
eout=300,600,1200,2400):pbcast.STABLE(desired_avg_gossip=2):FRAG(frag_size=8096;down_threa
d=false;up_thread=false):pbcast.GMS(join_timeout=5000;join_retry_timeout=2000;shun=false;print
_local_addr=true)

This property value was copied directly from the Jgroups doc but when
used through commons configuration it didn't work (because it was
commas so it is considered multivalued). And what was worst is that it
is not easy to find the cause of the problem.

I know that this may sound silly for people very used to Configuration
because all that is needed is to escape the commas. But I have faced
complains about commons configurations several times because of this:
it is not so easy to remember about escaping the commas if in many
other applications used (which use java.util.Properties) it is not
necessary.

I'd like to make a proposal to solve this issue without changing the
current behaviour: implement a java.util.Properties mode in Commons
Configuration. This mode should work the same as
get/setThrowExceptionOnMissing and if set to true all the semantics of
java.util.Properties would be kept. In this mode the commas will never
be parsed and the only way to set several values would be the
following:
property=value1
property=value2

What do you think?

--
Cheers,
Jorge Ferrer

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



Re: [commons-logging] Remove commons-logging-1.1-dev.jar from apache repository

2005-11-20 Thread robert burrell donkin
On Thu, 2005-11-17 at 16:55 -0800, Carlos Sanchez wrote:
 Hi,
 
 Please remove commons-logging-1.1-dev.jar from
 http://www.apache.org/dist/java-repository/commons-logging/jars/

ack'd

looks like mark diggory put it in there when the repository was starting
out

- robert


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



DO NOT REPLY [Bug 37436] - [jci] Remove runtime dependency on FileUtil and IOUtil

2005-11-20 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=37436.
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=37436





--- Additional Comments From [EMAIL PROTECTED]  2005-11-20 17:37 ---
Sorry, guys ...over the weekend I tried to get rid of just the commons-io 
dependency and ended up with 
144 lines of code duplication! That's way too much and defeats the idea of 
jakarta commons. So that 
changed my mind again. But I do hear your concerns! So I suggest we setup a 
separate maven goal that 
uses http://proguard.sourceforge.net/ to remove the unused classes. How does 
that sound?

-- 
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 37436] - [jci] Remove runtime dependency on FileUtil and IOUtil

2005-11-20 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=37436.
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=37436





--- Additional Comments From [EMAIL PROTECTED]  2005-11-20 18:31 ---
We don't need to remove it from the unit test side, unit tests and compile time
dependencies can have as many as you want - its only runtime we need to be
worried about. Only two runtime classes depend on commons-io FileResourceStore
and ReloadingListener. My patch fixed the first, but not the later as I wasn't
using it. I'll just attach another one that fixes it for both.

-- 
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: [all] Website enhancements [was Release Validator 1.2.0]

2005-11-20 Thread robert burrell donkin
On Mon, 2005-11-14 at 22:39 +, Stephen Colebourne wrote:

snip

looks good :)

 I'm not forcing anybody into anything :-), but I think these do provide 
 benefits to our users if we can share them across more commons 
 components. I would like us to try and agree on one naming convention 
 for the javadocs if at all possible.
 
 Currently these changes are implemented on [collections] and [io], and 
 are on their way (all or in part) in [validator]  [beanutils].

if we had these templates somewhere central (commons-build/templates,
say) then they could be maintained centrally and any improvements would
be shared more easily. this might also make things easier for new
projects. opinions?

- robert


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



Re: Commons configuration not compatible with java.util.Properties

2005-11-20 Thread Oliver Heger

Hi Jorge,

Jorge Ferrer wrote:


Hi Oliver, Emmanuel and all,

I have seen the same problem several times when people move from the
traditional java.util.Properties to Commons Configuration: it has some
characteristics which make it not compatible with the properties
format they were used to. I'd like to make a proposal for how to solve
this. But first the details...

The most important problem is the use of commas to represent
multivalued properties. The latest case I've seen is one application
which read configuration which was later given to JGroups. Here is an
extract of the configuration:

cache.cluster.properties=UDP(bind_addr=127.0.0.1;mcast_addr=231.12.21.101;mcast_port=45566;ip
_ttl=32;mcast_send_buf_size=15;mcast_recv_buf_size=8):PING(timeout=2000;num_initial_me
mbers=3):MERGE2(min_interval=5000;max_interval=1):FD_SOCK:VERIFY_SUSPECT(timeout=1500):pbc
ast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800;max_xmit_size=8192):UNICAST(tim
eout=300,600,1200,2400):pbcast.STABLE(desired_avg_gossip=2):FRAG(frag_size=8096;down_threa
d=false;up_thread=false):pbcast.GMS(join_timeout=5000;join_retry_timeout=2000;shun=false;print
_local_addr=true)

This property value was copied directly from the Jgroups doc but when
used through commons configuration it didn't work (because it was
commas so it is considered multivalued). And what was worst is that it
is not easy to find the cause of the problem.

I know that this may sound silly for people very used to Configuration
because all that is needed is to escape the commas. But I have faced
complains about commons configurations several times because of this:
it is not so easy to remember about escaping the commas if in many
other applications used (which use java.util.Properties) it is not
necessary.
 

In fact I fell into this trap myself multiple times. Also with 
XMLConfiguration, which makes use of this delimiter in both attributes 
and elements, too. I personally never had a use case for this behavior. 
IMHO it is just a short cut, which may (and obviously does) cause 
trouble. But now it is too late to change... :-(



I'd like to make a proposal to solve this issue without changing the
current behaviour: implement a java.util.Properties mode in Commons
Configuration. This mode should work the same as
get/setThrowExceptionOnMissing and if set to true all the semantics of
java.util.Properties would be kept. In this mode the commas will never
be parsed and the only way to set several values would be the
following:
property=value1
property=value2

What do you think?

 

Is the treatment of the comma the only incompatibility between 
java.util.Properties and Configuration you spotted? If this is the case, 
the name java.util.Properties mode is probably a bit misleading. We 
have already the static setDelimiter() method in AbstractConfiguration, 
which allows to disable this behavior. So the Properties compatibility 
mode would simply correspond to a call to 
AbstractConfiguration.setDelimiter((char) 0); It is also planed to 
support setting the delimiter on a per instance base.


Would an improved documentation solve the problem? I will add some notes 
to both the howtos and the javadocs.


BTW: Did you see the posting on the user list from today about 
unexpected behavior in XMLConfiguration? This is coincidence!


Oliver

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



Re: [all] Website enhancements [was Release Validator 1.2.0]

2005-11-20 Thread Rahul Akolkar
On 11/20/05, robert burrell donkin [EMAIL PROTECTED] wrote:
 On Mon, 2005-11-14 at 22:39 +, Stephen Colebourne wrote:

  I'm not forcing anybody into anything :-), but I think these do provide
  benefits to our users if we can share them across more commons
  components. I would like us to try and agree on one naming convention
  for the javadocs if at all possible.
 
  Currently these changes are implemented on [collections] and [io], and
  are on their way (all or in part) in [validator]  [beanutils].

 if we had these templates somewhere central (commons-build/templates,
 say) then they could be maintained centrally and any improvements would
 be shared more easily. this might also make things easier for new
 projects. opinions?

snip/

Indeed, I expressed a similar opinion in r345388 [1]

I began tracing the generation to the point where a cursory glance
seemed to reveal that the template locations were hard-coded, at which
point, I abandoned that idea for lack of time.

-Rahul

[1] http://marc.theaimsgroup.com/?l=jakarta-commons-devm=113227439016673w=2


 - robert



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



svn commit: r345774 - in /jakarta/commons/proper/betwixt/trunk: src/java/org/apache/commons/betwixt/ src/java/org/apache/commons/betwixt/io/ src/test/org/apache/commons/betwixt/ src/test/org/apache/co

2005-11-20 Thread rdonkin
Author: rdonkin
Date: Sun Nov 20 10:54:26 2005
New Revision: 345774

URL: http://svn.apache.org/viewcvs?rev=345774view=rev
Log:
Added option inheritance. Submitted by Brian Ferris. Issue #37542.

Modified:

jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/Options.java

jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/io/AbstractBeanWriter.java

jakarta/commons/proper/betwixt/trunk/src/test/org/apache/commons/betwixt/TestOptions.java

jakarta/commons/proper/betwixt/trunk/src/test/org/apache/commons/betwixt/strategy/TestIdStorageStrategy.java
jakarta/commons/proper/betwixt/trunk/xdocs/tasks.xml

Modified: 
jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/Options.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/Options.java?rev=345774r1=345773r2=345774view=diff
==
--- 
jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/Options.java
 (original)
+++ 
jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/Options.java
 Sun Nov 20 10:54:26 2005
@@ -60,4 +60,16 @@
 public void addOption(String name, String value) {
 valuesByName.put(name, value);
 }
+
+/**
+ * Adds multiple options from an existing codeOptions/code collection.
+ * The rule with options is that the most recently set value for an option
+ * wins, so options are potentially overwritten by this call.
+ * 
+ * @param options -
+ *an existing codeOptions/code collection
+ */
+public void addOptions(Options options) {
+valuesByName.putAll(options.valuesByName);
+}
 }

Modified: 
jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/io/AbstractBeanWriter.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/io/AbstractBeanWriter.java?rev=345774r1=345773r2=345774view=diff
==
--- 
jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/io/AbstractBeanWriter.java
 (original)
+++ 
jakarta/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/io/AbstractBeanWriter.java
 Sun Nov 20 10:54:26 2005
@@ -25,6 +25,7 @@
 import org.apache.commons.betwixt.BindingConfiguration;
 import org.apache.commons.betwixt.Descriptor;
 import org.apache.commons.betwixt.ElementDescriptor;
+import org.apache.commons.betwixt.Options;
 import org.apache.commons.betwixt.XMLBeanInfo;
 import org.apache.commons.betwixt.XMLIntrospector;
 import org.apache.commons.betwixt.expression.Context;
@@ -320,7 +321,22 @@
 if ( beanInfo != null ) {
 ElementDescriptor elementDescriptor = 
beanInfo.getElementDescriptor();
 if ( elementDescriptor != null ) {
+
+// Construct the options
+Options combinedOptions = new Options();
+
+// Add options defined by the current bean's element descriptor
+combinedOptions.addOptions(elementDescriptor.getOptions());
+
+// The parent descriptor may have defined options
+// for the current bean.  These options take precedence
+// over the options of the current class descriptor
+if( context.getOptions() != null) {
+combinedOptions.addOptions(context.getOptions());
+}
 context = context.newContext( bean );
+context.pushOptions(combinedOptions);
+
 if ( qualifiedName == null ) {
 qualifiedName = elementDescriptor.getQualifiedName();
 }
@@ -423,6 +439,8 @@
 }
 popBean();
 }
+
+context.popOptions();
 }
 }
 }
@@ -723,7 +741,6 @@
 if ( log.isTraceEnabled() ) {
 log.trace( Element  + elementDescriptor +  is empty. );
 }
-context.pushOptions(elementDescriptor.getOptions());
 
 Attributes attributes = addNamespaceDeclarations(
 new ElementAttributes( elementDescriptor, context ), 
namespaceUri);
@@ -738,7 +755,6 @@
 writeElementContent( elementDescriptor, context ) ;
 writeContext.setCurrentDescriptor(elementDescriptor);
 endElement( writeContext, namespaceUri, localName, qualifiedName );
-context.popOptions();
 }
 }
 
@@ -803,7 +819,6 @@
 IntrospectionException {

 if ( !ignoreElement( elementDescriptor, namespaceUri, localName, 
qualifiedName, context ) ) {
-

DO NOT REPLY [Bug 37542] - [betwixt] Options: Parent vs Target Integration

2005-11-20 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=37542.
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=37542


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-11-20 19:56 ---
Committed. 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: r345780 - in /jakarta/commons/proper/configuration/trunk: src/java/org/apache/commons/configuration/ xdocs/

2005-11-20 Thread oheger
Author: oheger
Date: Sun Nov 20 11:39:51 2005
New Revision: 345780

URL: http://svn.apache.org/viewcvs?rev=345780view=rev
Log:
Dcoumentation updates

Modified:

jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/AbstractHierarchicalFileConfiguration.java

jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/PropertiesConfiguration.java

jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/XMLConfiguration.java
jakarta/commons/proper/configuration/trunk/xdocs/howto_properties.xml
jakarta/commons/proper/configuration/trunk/xdocs/howto_xml.xml

Modified: 
jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/AbstractHierarchicalFileConfiguration.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/AbstractHierarchicalFileConfiguration.java?rev=345780r1=345779r2=345780view=diff
==
--- 
jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/AbstractHierarchicalFileConfiguration.java
 (original)
+++ 
jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/AbstractHierarchicalFileConfiguration.java
 Sun Nov 20 11:39:51 2005
@@ -27,7 +27,11 @@
 import org.apache.commons.configuration.reloading.ReloadingStrategy;

 

 /**

- * Base class for implementing file based hierarchical configurations.

+ * pBase class for implementing file based hierarchical configurations./p

+ * pThis class serves an analogous purpose as the

+ * code[EMAIL PROTECTED] AbstractFileConfiguration}/code class for non 
hierarchical

+ * configurations. It behaves in exactly the same way, so please refer to the

+ * documentation of codeAbstractFileConfiguration/code for further 
details./p

  *

  * @since 1.2

  *


Modified: 
jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/PropertiesConfiguration.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/PropertiesConfiguration.java?rev=345780r1=345779r2=345780view=diff
==
--- 
jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/PropertiesConfiguration.java
 (original)
+++ 
jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/PropertiesConfiguration.java
 Sun Nov 20 11:39:51 2005
@@ -67,8 +67,15 @@
  *   is placed at the end of the line that continues below.
  *  /li
  *  li
- *   If ivalue/i is a list of strings, each token is separated
- *   by a comma ',' by default.
+ *   ivalue/i can contain emvalue delimiters/em and will then be 
interpreted
+ *   as a list of tokens. Default value delimiter is the comma ','. So the
+ *   following property definition
+ * pre
+ *  key = This property, has multiple, values
+ * /pre
+ *   will result in a property with three values. You can change the value
+ *   delmiter using the code[EMAIL PROTECTED] 
AbstractConfiguration#setDelimiter(char)}/code
+ *   method. Setting the delimiter to 0 will disable value splitting 
completely.
  *  /li
  *  li
  *   Commas in each token are escaped placing a backslash right before

Modified: 
jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/XMLConfiguration.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/XMLConfiguration.java?rev=345780r1=345779r2=345780view=diff
==
--- 
jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/XMLConfiguration.java
 (original)
+++ 
jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/XMLConfiguration.java
 Sun Nov 20 11:39:51 2005
@@ -67,6 +67,35 @@
  * other documents (e.g. to a DTD), these references are resolved based on the
  * path set for this configuration./p
  *
+ * pBy inheriting from code[EMAIL PROTECTED] AbstractConfiguration}/code 
this class
+ * provides some extended functionaly, e.g. interpolation of property values.
+ * Like in code[EMAIL PROTECTED] PropertiesConfiguration}/code property 
values can
+ * contain delimiter characters (the comma ',' per default) and are then 
splitted
+ * into multiple values. This works for XML attributes and text content of
+ * elements as well. The delimiter can be escaped by a backslash. As an example
+ * consider the following XML fragment:/p
+ *
+ * p
+ * pre
+ * lt;configgt;
+ *   lt;arraygt;10,20,30,40lt;/arraygt;
+ *   lt;scalargt;3\,1415lt;/scalargt;
+ *   lt;cite text=To be or not to be\, this is the question!/gt;
+ * lt;/configgt;
+ * /pre
+ * /p
+ * pHere the content of the 

DO NOT REPLY [Bug 37436] - [jci] Remove runtime dependency on FileUtil and IOUtil

2005-11-20 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=37436.
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=37436





--- Additional Comments From [EMAIL PROTECTED]  2005-11-20 21:04 ---
Created an attachment (id=17005)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=17005action=view)
Files ripped from IOUtil


-- 
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 37436] - [jci] Remove runtime dependency on FileUtil and IOUtil

2005-11-20 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=37436.
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=37436





--- Additional Comments From [EMAIL PROTECTED]  2005-11-20 21:06 ---
I have created a new file IOUtil which has the three ripped IOUtil methods, I
have also added a patch that makes runtime jci work with this class rather than
commons -io, which is pretty minor. Let me know how that works out for you, or
if I've missed something obvious.

-- 
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: [logging] What's needed for a release

2005-11-20 Thread robert burrell donkin
On Fri, 2005-11-18 at 21:38 +0100, Joerg Hohwiller wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Jörg Schaible wrote:
  Hi Robert,
  
  robert burrell donkin wrote on Saturday, November 12, 2005 2:00 PM:
  
  [snip]
  
  
 * Consider Joerg Schaible/Joerg Hohwiller's getChildLogger
 proposal. I'm tempted not to include this, though. Getting a release
 out is probably the highest priority.
 
 IMHO i need to be certain that everything's exactly right
 before i'm willing to commit it. i was trying to work through
 the issues and making sure i understood them but this went a
 bit quiet.
 
 either of the two Joerg's around to advocate it's inclusion?
  
  
  My original proposal was to add getName to the Log interface, but I used it 
  to create a getChildLogger functionality. Joerg Howiller added a new 
  LogFactory interface extending Log to ensure backward compatibility, where 
  this new functionality and other things have been added.
  
  To use the new functionality I have to cast every Log instance, but since I 
  might also have to deal with an implementation of another party, I cannot 
  rely on it. So for my personal use case, this solution is also not 
  appropriate, since in such a case I still have no valid fallback. I 
  understand now, that my naive first proposal would backward break 
  compatibility I would rather wait for a 2.0 version of JCL to add this. 
  That version might break compatibility anyway (and might therefore also 
  need new package names).
  
  - Jörg
 Hi there,
 am still a little busy on other projects and private stuff but I am still on 
 it.

glad to hear that

 I am very keen on the issue (my proposal) but I definitivly agree that
 small steps (first a release without such new stuff and then take some time
 to think where we are definitvily going for the long run) makes sense.

+1

i'll pull something together about what's need for this release on the
wiki.

thanks for the (snipped) manifesto :) 

i think it's better that the discussion is left until the current code
is released (so i won't comment now)

- robert


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



Bug report for Commons [2005/11/20]

2005-11-20 Thread bugzilla
+---+
| Bugzilla Bug ID   |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned|
| | OPN=ReopenedVER=Verified(Skipped Closed/Resolved)   |
| |   +-+
| |   | Severity: BLK=Blocker CRI=CriticalMAJ=Major |
| |   |   MIN=Minor   NOR=Normal  ENH=Enhancement   |
| |   |   +-+
| |   |   | Date Posted |
| |   |   |  +--+
| |   |   |  | Description  |
| |   |   |  |  |
| 6508|Ass|Enh|2002-02-17|[lakta] HttpClient now supports proxyHost and prox|
| 6826|Ass|Enh|2002-03-04|[lakta] Need to have xml files validated against D|
| 6829|Ass|Enh|2002-03-04|[lakta] Allow easier way of user specified tests  |
| 7069|Ass|Enh|2002-03-13|[lakta] DTD and DOM Validators|
| 7135|Opn|Enh|2002-03-14|[beanutils] Misleading error message when beaninfo|
| 7226|Opn|Enh|2002-03-19|[beanutils] Nested Bean Collection|
| 7367|New|Nor|2002-03-22|[services] ServiceManager not actually serializabl|
| 7465|New|Nor|2002-03-25|[lakta] Need better 'dist' build  |
| 7981|Ver|Nor|2002-04-11|[codec][PATCH] add 2 new methods for encoding stri|
|10319|New|Enh|2002-06-28|[beanutils] Instantiate property if null in form b|
|12807|New|Nor|2002-09-19|[lakta][PATCH] Update build.xml to use commons-log|
|13390|New|Nor|2002-10-07|[lakta] ResponseHeaderHandler and ResponseHeaderVa|
|13426|New|Enh|2002-10-08|[lakta][PATCH] xml-reference.xml responseHeader ad|
|13743|Opn|Enh|2002-10-17|[beanutils] Need getPropertyType(Class theClass, S|
|14394|Ver|Nor|2002-11-08|[beanutils] Excessive exceptions log under securit|
|14471|Inf|Enh|2002-11-12|[validator] validator-rules.xml JavaScript fails w|
|14667|Ver|Maj|2002-11-19|[beanutils] PropertyUtils.copyProperties does not |
|15451|Opn|Enh|2002-12-17|[beanutils] Multiple mapped properties not possibl|
|15519|Ver|Maj|2002-12-19|[beanutils] PropertyUtils.getPropertyType() for ja|
|15744|New|Nor|2002-12-31|[scaffold] Scaffold ResultSet used after statement|
|16038|Opn|Enh|2003-01-13|[beanutils] LocaleBeanUtils.copyProperties() does |
|16394|New|Enh|2003-01-24|[validator] Enhance the IndexedListProperty to han|
|16525|Opn|Enh|2003-01-29|[beanutils] BeanUtils.setProperty is over-zealous |
|16600|New|Nor|2003-01-30|[lakta] JUnitTestAdapter throws SAXException becau|
|16634|New|Enh|2003-01-31|[validator] Change ValidatorUtils.getValueAsString|
|16873|New|Enh|2003-02-07|[lakta] Specifying a different latka.properties fi|
|17002|New|Enh|2003-02-12|[beanutils] Problem with index property   |
|17102|New|Enh|2003-02-15|[lakta] Can't embed  characters in paramValue |
|17306|Opn|Enh|2003-02-22|[validator] Extend field tag with forward attr|
|17501|New|Enh|2003-02-27|[beanutils] Add dynamic discovery of mapped proper|
|17662|New|Nor|2003-03-05|[cli] Unknown options are ignored instead of throw|
|17682|New|Nor|2003-03-05|[cli] HelpFormatter does not wrap lines correctly |
|17769|New|Blk|2003-03-07|[scaffold] pre-mature closing of Statement and Pre|
|17957|New|Cri|2003-03-13|[launcher] - on OutOfMemoryError no message   |
|18087|New|Enh|2003-03-18|[beanutils] Add BeanFactory class for dynamic fact|
|18773|New|Enh|2003-04-07|[reflect] Can add a method cache in MethodUtils   |
|18942|New|Enh|2003-04-11|[beanutils] Add t/f to BooleanConverter |
|19781|New|Nor|2003-05-08|[beanutils] PropertyUtils.copyProperties throws ex|
|19857|New|Enh|2003-05-12|[beanutils] Methods ConvertUtilsBean.convert could|
|20015|Ass|Nor|2003-05-18|[lang] Make Entities public and unit test |
|20027|New|Enh|2003-05-19|[beanutils] ConvertUtils enhancements |
|20057|New|Nor|2003-05-20|[lakta] Difficulty to download  sample Latka test|
|20067|New|Nor|2003-05-20|[lakta] sample Latka test suite SUITE FAILED - c|
|20449|New|Enh|2003-06-03|[validator] Define flag for validating current pag|
|20520|New|Enh|2003-06-05|[beanutils] MethodUtils: Need easy way to invoke s|
|20523|New|Enh|2003-06-05|[fileupload] Model FileUpload model to mimic javax|
|20549|New|Enh|2003-06-06|[beanutils] Handling of exceptions thrown during B|
|20686|New|Enh|2003-06-11|[beanutils] Register converters by both target cla|
|20836|New|Enh|2003-06-17|[beanutils] Localizing beanutils  |
|20838|New|Enh|2003-06-17|[fileupload] Add a new property maxFileSize to con|
|20968|New|Enh|2003-06-20|[beanutils][PATCH] Include bean getClass in Proper|

DO NOT REPLY [Bug 32801] - [collections] Provide maps with direct indexed access to the entries

2005-11-20 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=32801.
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=32801


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Attachment #13827|0   |1
is obsolete||




--- Additional Comments From [EMAIL PROTECTED]  2005-11-20 23:54 ---
Created an attachment (id=17006)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=17006action=view)
an archive of revised source and test files

I found time to clean up the implementation of the SortedArrayMap and also
implement additional features, like unmodifiable views and submap views.
With this submission, the implementation of the map becomes feature-complete,
no more inimplemented operations remain.
I invested a lot of efforts in proper unit testing, which also led to some
modifications of the original testing framework. Please find the modified
classes in a separate directory inside the archive and review them against the
base revision (3.1).
There are some additional notes in README.TXT file.

-- 
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 37574] New: - [lang] [PATCH] new ExceptionUtils.setCause() method

2005-11-20 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=37574.
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=37574

   Summary: [lang] [PATCH] new ExceptionUtils.setCause() method
   Product: Commons
   Version: 1.4 Final
  Platform: Other
OS/Version: other
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: Lang
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


Hi people,

the purpose of the ExceptionUtils.setCause() method I am proposing is to 
preserve the standard JDK 1.4 exception 

nesting mechanism even when targeting source code for a prior JDK 1.4 version.

ExceptionUtils.setCause(), which can be thought as the counterpart of 
ExceptionUtils.getCause(), calls via 

introspection on the target Throwable the 2 following methods: 

Object.setCause(Throwable)
Object.initCause(Throwable)

The typical use of ExceptionUtils.setCause() is inside a constructor, as in 
the following example:


import org.apache.commons.lang.exception.ExceptionUtils;

public class MyException extends Exception {

  public MyException(String msg) {
super(msg);
  }

  public MyException(String msg, Throwable cause) {
super(msg);
ExceptionUtils.setCause(this, cause);
  }

}  


I hope this can be useful for whom who are maintaining code that must be 
portable on both the JDK 1.3 and JDK 1.4+ 

environments.

Andrea.

-- 
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 37574] - [lang] [PATCH] new ExceptionUtils.setCause() method

2005-11-20 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=37574.
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=37574





--- Additional Comments From [EMAIL PROTECTED]  2005-11-21 00:31 ---
Created an attachment (id=17007)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=17007action=view)
ExceptionUtils.patch


-- 
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: r345796 - in /jakarta/commons/proper/jelly/trunk/jelly-tags/junit: src/java/org/apache/commons/jelly/tags/junit/ src/test/org/apache/commons/jelly/tags/junit/ xdocs/

2005-11-20 Thread dion
Author: dion
Date: Sun Nov 20 16:47:23 2005
New Revision: 345796

URL: http://svn.apache.org/viewcvs?rev=345796view=rev
Log:
Add assertFileContains tag

Added:

jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileContainsTag.java
Modified:

jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/JUnitTagLibrary.java

jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/suite.jelly
jakarta/commons/proper/jelly/trunk/jelly-tags/junit/xdocs/changes.xml

Added: 
jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileContainsTag.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileContainsTag.java?rev=345796view=auto
==
--- 
jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileContainsTag.java
 (added)
+++ 
jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileContainsTag.java
 Sun Nov 20 16:47:23 2005
@@ -0,0 +1,124 @@
+/*

+ * Copyright 2002,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.jelly.tags.junit;

+

+import java.io.BufferedReader;

+import java.io.File;

+import java.io.FileNotFoundException;

+import java.io.FileReader;

+import java.io.IOException;

+

+import org.apache.commons.jelly.MissingAttributeException;

+import org.apache.commons.jelly.JellyTagException;

+import org.apache.commons.jelly.XMLOutput;

+

+/**

+ * Checks that a file exists, and if not, then the test will fail.

+ *

+ * @author a href=mailto:[EMAIL PROTECTED]Dion Gillard/a

+ * @version $Revision: 344024 $

+ */

+public class AssertFileContainsTag extends AssertTagSupport

+{

+/** the file to check */

+private File file;

+

+/** content to match */

+private String match;

+

+/**

+ * Do the tag functionality: check the file exists.

+ * @param output a place to write text output

+ * @throws JellyTagException if the file doesn't exist.

+ */

+public void doTag(XMLOutput output) throws JellyTagException

+{

+if (match == null)

+{

+throw new MissingAttributeException(match);

+}

+String message = getBodyText();

+if (message == null || message.length() == 0)

+{

+message = File does not contain ' + match + ';

+}

+

+

+if (file == null)

+{

+throw new MissingAttributeException(file);

+}

+else

+{

+if (file.exists()  file.canRead())

+{

+try

+{

+BufferedReader br = new BufferedReader(new 
FileReader(file));

+String line;

+boolean found = false;

+while ((line = br.readLine()) != null)

+{

+if (line.indexOf(match) != -1)

+{

+found = true;

+break;

+}

+}

+br.close();

+if (!found)

+{

+fail(message);

+}

+}

+catch (IOException fnfe)

+{

+throw new JellyTagException(fnfe);

+}

+}

+else

+{

+try

+{

+throw new JellyTagException(File ' + 
file.getCanonicalPath() 

++ ' can't be read.);

+}

+catch (IOException e)

+{

+throw new JellyTagException(e);

+}

+}

+}

+}

+

+/**

+ * The file to be tested. If this file exists, the test will pass.

+ * @param aFile the file to test.

+ */

+public void setFile(File aFile)

+{

+file = aFile;

+}

+

+/**

+ * The content to be checked for. If this 

svn commit: r345797 - in /jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit: AssertFileExistsTag.java AssertFileNotFoundTag.java

2005-11-20 Thread dion
Author: dion
Date: Sun Nov 20 16:54:30 2005
New Revision: 345797

URL: http://svn.apache.org/viewcvs?rev=345797view=rev
Log:
Use MissingAttributeException if file is not provided

Modified:

jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileExistsTag.java

jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileNotFoundTag.java

Modified: 
jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileExistsTag.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileExistsTag.java?rev=345797r1=345796r2=345797view=diff
==
--- 
jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileExistsTag.java
 (original)
+++ 
jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileExistsTag.java
 Sun Nov 20 16:54:30 2005
@@ -18,6 +18,7 @@
 import java.io.File;
 
 import org.apache.commons.jelly.JellyTagException;
+import org.apache.commons.jelly.MissingAttributeException;
 import org.apache.commons.jelly.XMLOutput;
 import org.apache.commons.jelly.expression.Expression;
 
@@ -48,7 +49,7 @@
 
 if (file == null)
 {
-fail(message, file given is null);
+throw new MissingAttributeException(file);
 }
 else
 {

Modified: 
jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileNotFoundTag.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileNotFoundTag.java?rev=345797r1=345796r2=345797view=diff
==
--- 
jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileNotFoundTag.java
 (original)
+++ 
jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileNotFoundTag.java
 Sun Nov 20 16:54:30 2005
@@ -18,6 +18,7 @@
 import java.io.File;
 
 import org.apache.commons.jelly.JellyTagException;
+import org.apache.commons.jelly.MissingAttributeException;
 import org.apache.commons.jelly.XMLOutput;
 import org.apache.commons.jelly.expression.Expression;
 
@@ -48,7 +49,7 @@
 
 if (file == null)
 {
-fail(message, file given is null);
+throw new MissingAttributeException(file);
 }
 else
 {



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



RE: [commons-logging] Remove commons-logging-1.1-dev.jar fromapache repository

2005-11-20 Thread Arnaud HERITIER
This jar was re-added some days ago because some important projects like 
xdoclet use it in their releases !!

Arnaud

 -Message d'origine-
 De : robert burrell donkin 
 [mailto:[EMAIL PROTECTED] 
 Envoyé : dimanche 20 novembre 2005 17:54
 À : Jakarta Commons Developers List
 Objet : Re: [commons-logging] Remove 
 commons-logging-1.1-dev.jar fromapache repository
 
 On Thu, 2005-11-17 at 16:55 -0800, Carlos Sanchez wrote:
  Hi,
  
  Please remove commons-logging-1.1-dev.jar from 
  http://www.apache.org/dist/java-repository/commons-logging/jars/
 
 ack'd
 
 looks like mark diggory put it in there when the repository 
 was starting out
 
 - 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: [commons-logging] Remove commons-logging-1.1-dev.jar fromapache repository

2005-11-20 Thread Brett Porter

Arnaud HERITIER wrote:

This jar was re-added some days ago because some important projects like 
xdoclet use it in their releases !!



... re-added to ibiblio for the sake of backwards compatibility for 
those other projects, but not Apache as it should be only official 
releases there.


- Brett

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



svn commit: r345800 - /jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileContainsTag.java

2005-11-20 Thread dion
Author: dion
Date: Sun Nov 20 17:07:28 2005
New Revision: 345800

URL: http://svn.apache.org/viewcvs?rev=345800view=rev
Log:
Fix properties: eol = native and keywords = Date Author Id Revision HeadURL

Modified:

jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileContainsTag.java
   (contents, props changed)

Modified: 
jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileContainsTag.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileContainsTag.java?rev=345800r1=345799r2=345800view=diff
==
--- 
jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileContainsTag.java
 (original)
+++ 
jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileContainsTag.java
 Sun Nov 20 17:07:28 2005
@@ -1,124 +1,124 @@
-/*

- * Copyright 2002,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.jelly.tags.junit;

-

-import java.io.BufferedReader;

-import java.io.File;

-import java.io.FileNotFoundException;

-import java.io.FileReader;

-import java.io.IOException;

-

-import org.apache.commons.jelly.MissingAttributeException;

-import org.apache.commons.jelly.JellyTagException;

-import org.apache.commons.jelly.XMLOutput;

-

-/**

- * Checks that a file exists, and if not, then the test will fail.

- *

- * @author a href=mailto:[EMAIL PROTECTED]Dion Gillard/a

- * @version $Revision: 344024 $

- */

-public class AssertFileContainsTag extends AssertTagSupport

-{

-/** the file to check */

-private File file;

-

-/** content to match */

-private String match;

-

-/**

- * Do the tag functionality: check the file exists.

- * @param output a place to write text output

- * @throws JellyTagException if the file doesn't exist.

- */

-public void doTag(XMLOutput output) throws JellyTagException

-{

-if (match == null)

-{

-throw new MissingAttributeException(match);

-}

-String message = getBodyText();

-if (message == null || message.length() == 0)

-{

-message = File does not contain ' + match + ';

-}

-

-

-if (file == null)

-{

-throw new MissingAttributeException(file);

-}

-else

-{

-if (file.exists()  file.canRead())

-{

-try

-{

-BufferedReader br = new BufferedReader(new 
FileReader(file));

-String line;

-boolean found = false;

-while ((line = br.readLine()) != null)

-{

-if (line.indexOf(match) != -1)

-{

-found = true;

-break;

-}

-}

-br.close();

-if (!found)

-{

-fail(message);

-}

-}

-catch (IOException fnfe)

-{

-throw new JellyTagException(fnfe);

-}

-}

-else

-{

-try

-{

-throw new JellyTagException(File ' + 
file.getCanonicalPath() 

-+ ' can't be read.);

-}

-catch (IOException e)

-{

-throw new JellyTagException(e);

-}

-}

-}

-}

-

-/**

- * The file to be tested. If this file exists, the test will pass.

- * @param aFile the file to test.

- */

-public void setFile(File aFile)

-{

-file = aFile;

-}

-

-/**

- * The content to be checked for. If this text matches some part

- * of the given file, the test will pass.

- */

-public void setMatch(String aString)

-{

-match = aString;

-}

-}

+/*
+ * Copyright 2002,2004 The Apache 

RE: [commons-logging] Remove commons-logging-1.1-dev.jar fromapache repository

2005-11-20 Thread Arnaud HERITIER
Thx For the precision Brett

Cheers,

Arnaud


 -Message d'origine-
 De : Brett Porter [mailto:[EMAIL PROTECTED] 
 Envoyé : lundi 21 novembre 2005 02:02
 À : Jakarta Commons Developers List
 Objet : Re: [commons-logging] Remove 
 commons-logging-1.1-dev.jar fromapache repository
 
 Arnaud HERITIER wrote:
  This jar was re-added some days ago because some important 
 projects like xdoclet use it in their releases !!
  
 
 ... re-added to ibiblio for the sake of backwards 
 compatibility for those other projects, but not Apache as it 
 should be only official releases there.
 
 - Brett
 
 -
 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]



DO NOT REPLY [Bug 37577] New: - I'd like to run init SQL after JDBC Connection creation in Tomcat DBCP

2005-11-20 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=37577.
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=37577

   Summary: I'd like to run init SQL after JDBC Connection creation
in Tomcat DBCP
   Product: Commons
   Version: 1.2 Final
  Platform: Other
OS/Version: other
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: Dbcp
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


Hi!

I'm porting some j2ee web based applications from BEA Web Logic to Tomcat 5.5. 
In BEA Web Lobic connection pool it is possible to specify init SQL qurery 
that server runs after connection is created (before first use). It's very 
good for example of national settings in Oracle. For correct czech sorting i 
have to run setting query:

ALTER SESSION SET NLS_SORT = XCZECH

First time i tryed to write interceptor into my application. This interceptor 
runs ALTER SESSION SET NLS_SORT = XCZECH before evey sorted query (SELECT ... 
ORDER BY...), but i had some performance problems. So i starded to work with 
DBCP. I was very wandered about DBCP packages in Tomcat 5.5 and i did not find 
sources of naming-factory-dbcp.jar. So i refactored, enhanced and compiled 
full DBCP (with pool and collections). Now i'm a little afraid of some library 
conflicts (full DBCP, full Pool and full Collections refactored into tomcat 
packages), but performance is OK and basic tests of my application seems good.

I added property connectionInitSql for int SQL into BasicDataSource. I had to 
mofify BasicDataSourceFactory for correct setting of this property. Property 
is used in method createConnection() of DriverConnectionFactory to init 
Connection. 

It would be very nice if you will add this init feature into Tomcat DBCP.

Best regards
Jiri Melichna

-- 
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 37577] - I'd like to run init SQL after JDBC Connection creation in Tomcat DBCP

2005-11-20 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=37577.
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=37577





--- Additional Comments From [EMAIL PROTECTED]  2005-11-21 07:18 ---
Created an attachment (id=17008)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=17008action=view)
My changes in BasicDataSource of Tomcat DBCP

Init SQL in resource specification in Tomcat Context setting:

Resource name=jdbc/CzechSortDS auth=Container
  type=javax.sql.DataSource 
  driverClassName=oracle.jdbc.driver.OracleDriver
  url=jdbc:oracle:thin:@server:1521:sid
  factory=org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory
  username= 
  password= 
  maxActive=40 
  maxIdle=10
  maxWait=5000
  connectionInitSql=ALTER SESSION SET NLS_SORT=XCZECH/ 

-- 
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 37577] - I'd like to run init SQL after JDBC Connection creation in Tomcat DBCP

2005-11-20 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=37577.
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=37577





--- Additional Comments From [EMAIL PROTECTED]  2005-11-21 07:23 ---
I reported this to tomcat team and no response:

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

I do not need my change to be accepted but I need source code from Tomcat DBCP 
for package naming-factory-dbcp.jar - modifying this package seems to be 
sefer. In zip file from tomcat 5.5.12 sources is not included.

Best regards
Jiri Melichna

-- 
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]