DO NOT REPLY [Bug 37600] New: - Using Object as a tag property class automatically changes the value to a String
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=37600. 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=37600 Summary: Using Object as a tag property class automatically changes the value to a String Product: Commons Version: 1.0 Final Platform: Other OS/Version: other Status: NEW Severity: major Priority: P3 Component: Jelly AssignedTo: commons-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] Hi I recently found a bug in either the Jelly Engine, or in some of the tags which are provided. I encountered a problem with the following code: c:new className=java.lang.Long var=value c:arg type=long value=${12345}/ /c:new c:new className=Profile var=profile/ c:invoke method=setValue on=${profile} c:arg type=java.lang.Long value=${321}/ c:arg type=java.lang.Long value=${123}/ c:arg value=${value}/ /c:invoke the Profile setValue method takes three arguments; Long, Long, Object Invoking the code results in the arg always passing the value to the invoke tag as a String, not as an Object. I looked into the ArgTag source code seeing that it is using java.lang.Object as the type property class, not the jelly.Expression class. Since I was unsure I created my own tag and taglib to simulate the problem. public class MyTag extends TagSupport { private Object object = null; private Object expr = null; public void setObject(Object object) { this.object = object; } public void setExpression(Expression expr) { this.expr = expr.evaluate(this.getContext()); } public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException { System.out.println(object+ (+object.getClass().getName()+)); System.out.println(expr+ (+expr.getClass().getName()+)); } } executing the following script confirms the issue c:new className=java.lang.Long var=value c:arg type=long value=${12345}/ /c:new my:tag object=${value} expression=${value}/ it result printing the following tho lines: 12345 (java.lang.String) 12345 (java.lang.Long) Is this a problem in the engine, or should the arg tag be using the Expression class instead of Object? Kind Regards, Harvey van der Meer -- 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: [transaction] Duplicated TxId generation under heavy load
Oliver Zeigermann oliver.zeigermann at gmail.com writes: To me it seems generatedUniqueTxId does exactly as advertised in Javadocs. Don't you agree? No. :) This dismisses my argument about externally generated ids, yes. But two different threads calling generateUniqueTxId() at the same time still get the same unique id as the first thread calling this method does not preserve the id. So the current implementation does not fulfill the contract mentioned in the Javadocs. You simply need something different as it seems. Unique Id generators - that's what you need - are easy to find, even in the Jakarta Commons Project :) For the externally generated ids I agree. Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 37600] - Using Object as a tag property class automatically changes the value to a String
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=37600. 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=37600 --- Additional Comments From [EMAIL PROTECTED] 2005-11-23 10:45 --- OK, I did some more research on my own... I downtraced this problem all the way to Commons BeanUtils 1.6 where the toString conversion occurs. So I guess this bug is not directly in Jelly, though I downloaded the 1.0 release which includes BeanUtils 1.6... So the released version does contain the problem... I will submit more info on this issue when I have some more available. Regards, Harvey -- 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 37600] - Using Object as a tag property class automatically changes the value to a String
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=37600. 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=37600 --- Additional Comments From [EMAIL PROTECTED] 2005-11-23 10:53 --- Upgrading BeanUtils to 1.6.1 seems to fix the problem... I hope this issue plus solution was helpful in any way. I will leave this bug open for acknowledgement. Regards, Harvey -- 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 37600] - Using Object as a tag property class automatically changes the value to a String
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=37600. 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=37600 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX -- 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 37600] - [jelly] Using Object as a tag property class automatically changes the value to a String
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=37600. 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=37600 [EMAIL PROTECTED] changed: What|Removed |Added Summary|Using Object as a tag |[jelly] Using Object as a |property class automatically|tag property class |changes the value to a |automatically changes the |String |value to a String -- 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 37528] - [functor] List functions
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=37528. 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=37528 [EMAIL PROTECTED] changed: What|Removed |Added Summary|List functions for Apache |[functor] List functions |Commons Functor | -- 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 37592] - [el] VariableResolverImpl is ignorant of the implicit variables 'request' and 'response'
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=37592. 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=37592 [EMAIL PROTECTED] changed: What|Removed |Added Summary|VariableResolverImpl is |[el] VariableResolverImpl is |ignorant of the implicit|ignorant of the implicit |variables 'request' and |variables 'request' and |'response' |'response' -- 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-resources (in module jakarta-commons) failed
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-resources has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 5 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-resources : Commons resources Full details are available at: http://vmgump.apache.org/gump/public/jakarta-commons/commons-resources/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-resources-23112005.jar] identifier set to project name -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/jakarta-commons/resources/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/jakarta-commons/resources/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/jakarta-commons/resources/project.properties -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/jakarta-commons/commons-resources/gump_work/build_jakarta-commons_commons-resources.html Work Name: build_jakarta-commons_commons-resources (Type: Build) Work ended in a state of : Failed Elapsed: 3 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/jakarta-commons/resources] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/resources/target/classes:/usr/local/gump/public/workspace/jakarta-commons/resources/target/test-classes:/usr/local/gump/public/workspace/jakarta-commons/resources/test:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/discovery/dist/commons-discovery.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-23112005.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/packages/iBATIS_DBL-2.0.5.399/ibatis-dao-2.jar:/usr/local/gump/packages/iBATIS_DBL-2.0.5.399/ibatis-common-2.jar:/usr/local/gump/packages/iBATIS_DBL-2.0.5.399/ibatis-sqlmap-2.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/public/workspace/hsqldb/lib/hsqldb.jar - __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 The build cannot continue because of the following unsatisfied dependencies: maven-xdoc-plugin-1.9.2.jar (try downloading from http://maven.apache.org/reference/plugins/xdoc/) maven-changelog-plugin-1.8.2.jar (try downloading from http://maven.apache.org/reference/plugins/changelog/) maven-file-activity-plugin-1.5.2.jar (try downloading from http://maven.apache.org/reference/plugins/file-activity/) Total time: 2 seconds Finished at: Wed Nov 23 02:39:12 PST 2005 - To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-commons/commons-resources/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-commons/commons-resources/atom.xml == Gump Tracking Only === Produced by Gump version 2.2. Gump Run 1723112005, vmgump.apache.org:vmgump-public:1723112005 Gump E-mail Identifier (unique within run) #15. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]: Project commons-resources (in module jakarta-commons) failed
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-resources has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 5 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-resources : Commons resources Full details are available at: http://vmgump.apache.org/gump/public/jakarta-commons/commons-resources/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-resources-23112005.jar] identifier set to project name -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/jakarta-commons/resources/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/jakarta-commons/resources/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/jakarta-commons/resources/project.properties -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/jakarta-commons/commons-resources/gump_work/build_jakarta-commons_commons-resources.html Work Name: build_jakarta-commons_commons-resources (Type: Build) Work ended in a state of : Failed Elapsed: 3 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/jakarta-commons/resources] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/resources/target/classes:/usr/local/gump/public/workspace/jakarta-commons/resources/target/test-classes:/usr/local/gump/public/workspace/jakarta-commons/resources/test:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/discovery/dist/commons-discovery.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-23112005.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/packages/iBATIS_DBL-2.0.5.399/ibatis-dao-2.jar:/usr/local/gump/packages/iBATIS_DBL-2.0.5.399/ibatis-common-2.jar:/usr/local/gump/packages/iBATIS_DBL-2.0.5.399/ibatis-sqlmap-2.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/public/workspace/hsqldb/lib/hsqldb.jar - __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 The build cannot continue because of the following unsatisfied dependencies: maven-xdoc-plugin-1.9.2.jar (try downloading from http://maven.apache.org/reference/plugins/xdoc/) maven-changelog-plugin-1.8.2.jar (try downloading from http://maven.apache.org/reference/plugins/changelog/) maven-file-activity-plugin-1.5.2.jar (try downloading from http://maven.apache.org/reference/plugins/file-activity/) Total time: 2 seconds Finished at: Wed Nov 23 02:39:12 PST 2005 - To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-commons/commons-resources/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-commons/commons-resources/atom.xml == Gump Tracking Only === Produced by Gump version 2.2. Gump Run 1723112005, vmgump.apache.org:vmgump-public:1723112005 Gump E-mail Identifier (unique within run) #15. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]: Project commons-jelly-test (in module commons-jelly) failed
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 5 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: 54 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-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/discovery/dist/commons-discovery.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-23112005.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] at
[EMAIL PROTECTED]: Project commons-jelly-tags-xml-test (in module commons-jelly) failed
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 5 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-jelly-tags-xml-test : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-xml-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -WARNING- Overriding Maven properties: [/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/build.properties] -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-reports The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-xml-test/gump_work/build_commons-jelly_commons-jelly-tags-xml-test.html Work Name: build_commons-jelly_commons-jelly-tags-xml-test (Type: Build) Work ended in a state of : Failed Elapsed: 41 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-23112005.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
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 5 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-23112005.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-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/target/commons-jelly-tags-define-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/interaction/target/commons-jelly-tags-interaction-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-23112005.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
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 5 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-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/dynabean/target/commons-jelly-tags-dynabean-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-23112005.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
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 5 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-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/dynabean/target/commons-jelly-tags-dynabean-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-23112005.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
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 5 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-jelly-tags-jsl-test : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on ant exists, no need to add for property maven.jar.ant-optional. -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -WARNING- Overriding Maven properties: [/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties] -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/test-reports The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/gump_work/build_commons-jelly_commons-jelly-tags-jsl-test.html Work Name: build_commons-jelly_commons-jelly-tags-jsl-test (Type: Build) Work ended in a state of : Failed Elapsed: 17 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/ant/target/commons-jelly-tags-ant-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-23112005.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
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 5 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-jelly-tags-jsl-test : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on ant exists, no need to add for property maven.jar.ant-optional. -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -WARNING- Overriding Maven properties: [/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties] -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/test-reports The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/gump_work/build_commons-jelly_commons-jelly-tags-jsl-test.html Work Name: build_commons-jelly_commons-jelly-tags-jsl-test (Type: Build) Work ended in a state of : Failed Elapsed: 17 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/ant/target/commons-jelly-tags-ant-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-23112005.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
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 5 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-23112005.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-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/commons-jelly-tags-jsl-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-23112005.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
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 5 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-23112005.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-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/commons-jelly-tags-jsl-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-23112005.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-23112005.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
DO NOT REPLY [Bug 37607] New: - [collections] Enhance BlockingBuffer to allow for a timeout value
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=37607. 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=37607 Summary: [collections] Enhance BlockingBuffer to allow for a timeout value Product: Commons Version: 3.2 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Collections AssignedTo: commons-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] BlockingBuffer currently waits forever. Add the capability to specify a timeout value to BlockingBuffer. -- 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: r348426 - in /jakarta/commons/proper/collections/trunk: data/test/ src/java/org/apache/commons/collections/buffer/ src/test/org/apache/commons/collections/buffer/
Author: jcarman Date: Wed Nov 23 05:02:10 2005 New Revision: 348426 URL: http://svn.apache.org/viewcvs?rev=348426view=rev Log: Removing TimeoutBuffer (BlockingBuffer will be enhanced instead). Removed: jakarta/commons/proper/collections/trunk/data/test/TimeoutBuffer.emptyCollection.version3.2.obj jakarta/commons/proper/collections/trunk/data/test/TimeoutBuffer.fullCollection.version3.2.obj jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/buffer/TimeoutBuffer.java jakarta/commons/proper/collections/trunk/src/test/org/apache/commons/collections/buffer/TestTimeoutBuffer.java Modified: jakarta/commons/proper/collections/trunk/src/test/org/apache/commons/collections/buffer/TestAll.java Modified: jakarta/commons/proper/collections/trunk/src/test/org/apache/commons/collections/buffer/TestAll.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/src/test/org/apache/commons/collections/buffer/TestAll.java?rev=348426r1=348425r2=348426view=diff == --- jakarta/commons/proper/collections/trunk/src/test/org/apache/commons/collections/buffer/TestAll.java (original) +++ jakarta/commons/proper/collections/trunk/src/test/org/apache/commons/collections/buffer/TestAll.java Wed Nov 23 05:02:10 2005 @@ -52,7 +52,6 @@ suite.addTest(TestSynchronizedBuffer.suite()); suite.addTest(TestTransformedBuffer.suite()); suite.addTest(TestUnmodifiableBuffer.suite()); -suite.addTest(TestTimeoutBuffer.suite()); return suite; } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 37472] - [collections] Implement a TimeoutBuffer class
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=37472. 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=37472 [EMAIL PROTECTED] changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2005-11-23 13:54 --- We're going to modify BlockingBuffer for this functionality. Will open up additional enhancement request. -- 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: r348428 - in /jakarta/commons/proper/collections/trunk: ./ src/java/org/apache/commons/collections/ src/java/org/apache/commons/collections/buffer/ src/test/org/apache/commons/collections/
Author: jcarman Date: Wed Nov 23 05:13:04 2005 New Revision: 348428 URL: http://svn.apache.org/viewcvs?rev=348428view=rev Log: 37607: Enhance BlockingBuffer to allow for a timeout value Modified: jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html jakarta/commons/proper/collections/trunk/STATUS.html jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/BufferUtils.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/buffer/BlockingBuffer.java jakarta/commons/proper/collections/trunk/src/test/org/apache/commons/collections/buffer/TestBlockingBuffer.java Modified: jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html?rev=348428r1=348427r2=348428view=diff == --- jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html (original) +++ jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html Wed Nov 23 05:13:04 2005 @@ -72,6 +72,7 @@ liExtendedProperties - No longer uses an exception in normal processing [30497]/li liBlockingBuffer - now includes stack trace if InterupttedException occurs [33700]/li liBlockingBuffer - new methods that allow get and remove with a timeout [27691]/li +liBlockingBuffer - now allows you to specify a default timeout value for get/remove operations [37607]/li liTransformed*Map - new factory decorateTransform() that transforms any existing entries in the map [30959]/li liListOrderedMap - values can now be accessed as a List using valueList() [37015]/li liListOrderedMap - additional list-like method, setValue(int,Object)/li Modified: jakarta/commons/proper/collections/trunk/STATUS.html URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/STATUS.html?rev=348428r1=348427r2=348428view=diff == --- jakarta/commons/proper/collections/trunk/STATUS.html (original) +++ jakarta/commons/proper/collections/trunk/STATUS.html Wed Nov 23 05:13:04 2005 @@ -83,6 +83,7 @@ lia href=mailto:[EMAIL PROTECTED]Robert Burrell Donkin/a/li lia href=mailto:[EMAIL PROTECTED]Phil Steitz/a/li lia href=mailto:[EMAIL PROTECTED]Matthew Hawthorne/a/li + lia href=mailto:[EMAIL PROTECTED]James Carman/a/li liArun M. Thomas/li /ul Modified: jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/BufferUtils.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/BufferUtils.java?rev=348428r1=348427r2=348428view=diff == --- jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/BufferUtils.java (original) +++ jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/BufferUtils.java Wed Nov 23 05:13:04 2005 @@ -21,14 +21,13 @@ import org.apache.commons.collections.buffer.TransformedBuffer; import org.apache.commons.collections.buffer.TypedBuffer; import org.apache.commons.collections.buffer.UnmodifiableBuffer; -import org.apache.commons.collections.buffer.TimeoutBuffer; /** * Provides utility methods and decorators for [EMAIL PROTECTED] Buffer} instances. * * @since Commons Collections 2.1 * @version $Revision$ $Date$ - * + * * @author Paul Jack * @author Stephen Colebourne */ @@ -48,10 +47,10 @@ //--- /** * Returns a synchronized buffer backed by the given buffer. - * Much like the synchronized collections returned by - * [EMAIL PROTECTED] java.util.Collections}, you must manually synchronize on + * Much like the synchronized collections returned by + * [EMAIL PROTECTED] java.util.Collections}, you must manually synchronize on * the returned buffer's iterator to avoid non-deterministic behavior: - * + * * pre * Buffer b = BufferUtils.synchronizedBuffer(myBuffer); * synchronized (b) { @@ -73,9 +72,9 @@ /** * Returns a synchronized buffer backed by the given buffer that will * block on [EMAIL PROTECTED] Buffer#get()} and [EMAIL PROTECTED] Buffer#remove()} operations. - * If the buffer is empty, then the [EMAIL PROTECTED] Buffer#get()} and + * If the buffer is empty, then the [EMAIL PROTECTED] Buffer#get()} and * [EMAIL PROTECTED] Buffer#remove()} operations will block until new elements - * are added to the buffer, rather than immediately throwing a + * are added to the buffer, rather than immediately throwing a * codeBufferUnderflowException/code. * * @param buffer the buffer to synchronize, must not be null @@ -99,10 +98,10 @@ * @throws IllegalArgumentException if the Buffer
DO NOT REPLY [Bug 37607] - [collections] Enhance BlockingBuffer to allow for a timeout value
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=37607. 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=37607 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |ASSIGNED -- 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 37607] - [collections] Enhance BlockingBuffer to allow for a timeout value
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=37607. 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=37607 [EMAIL PROTECTED] changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED -- 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: r348429 - in /jakarta/commons/proper/collections/trunk: ./ data/test/ src/java/org/apache/commons/collections/ src/java/org/apache/commons/collections/buffer/ src/test/org/apache/commons/c
Author: jcarman Date: Wed Nov 23 05:16:43 2005 New Revision: 348429 URL: http://svn.apache.org/viewcvs?rev=348429view=rev Log: 37473: Implement a BoundedBuffer class Added: jakarta/commons/proper/collections/trunk/data/test/BoundedBuffer.emptyCollection.version3.2.obj (with props) jakarta/commons/proper/collections/trunk/data/test/BoundedBuffer.fullCollection.version3.2.obj (with props) jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/buffer/BoundedBuffer.java (with props) jakarta/commons/proper/collections/trunk/src/test/org/apache/commons/collections/buffer/TestBoundedBuffer.java (with props) Modified: jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/BufferUtils.java Modified: jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html?rev=348429r1=348428r2=348429view=diff == --- jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html (original) +++ jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html Wed Nov 23 05:16:43 2005 @@ -58,6 +58,7 @@ liDefaultedMap - Returns a default value when the key is not found, without adding the default value to the map itself [30911]/li liGrowthList - Decorator that causes set and indexed add to expand the list rather than throw IndexOutOfBoundsException [34171]/li liLoopingListIterator - When the end of the list is reached the iteration continues from the start [30166]/li +liBoundedBuffer - A new wrapper class which can make any buffer bounded [37473]/li /ul centerh3ENHANCEMENTS/h3/center Added: jakarta/commons/proper/collections/trunk/data/test/BoundedBuffer.emptyCollection.version3.2.obj URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/data/test/BoundedBuffer.emptyCollection.version3.2.obj?rev=348429view=auto == Binary file - no diff available. Propchange: jakarta/commons/proper/collections/trunk/data/test/BoundedBuffer.emptyCollection.version3.2.obj -- svn:mime-type = application/octet-stream Added: jakarta/commons/proper/collections/trunk/data/test/BoundedBuffer.fullCollection.version3.2.obj URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/data/test/BoundedBuffer.fullCollection.version3.2.obj?rev=348429view=auto == Binary file - no diff available. Propchange: jakarta/commons/proper/collections/trunk/data/test/BoundedBuffer.fullCollection.version3.2.obj -- svn:mime-type = application/octet-stream Modified: jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/BufferUtils.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/BufferUtils.java?rev=348429r1=348428r2=348429view=diff == --- jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/BufferUtils.java (original) +++ jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/BufferUtils.java Wed Nov 23 05:16:43 2005 @@ -21,6 +21,7 @@ import org.apache.commons.collections.buffer.TransformedBuffer; import org.apache.commons.collections.buffer.TypedBuffer; import org.apache.commons.collections.buffer.UnmodifiableBuffer; +import org.apache.commons.collections.buffer.BoundedBuffer; /** * Provides utility methods and decorators for [EMAIL PROTECTED] Buffer} instances. @@ -102,6 +103,33 @@ return BlockingBuffer.decorate(buffer, timeout); } +/** + * Returns a synchronized buffer backed by the given buffer that will block on [EMAIL PROTECTED] Buffer#add(Object)} and + * [EMAIL PROTECTED] Buffer#addAll(java.util.Collection)} until enough object(s) are removed from the buffer to allow + * the object(s) to be added and still maintain the maximum size. + * @param buffer the buffer to make bounded + * @param maximumSize the maximum size + * @return a bounded buffer backed by the given buffer + * @throws IllegalArgumentException if the given buffer is null + */ +public static Buffer boundedBuffer( Buffer buffer, int maximumSize ) { +return BoundedBuffer.decorate( buffer, maximumSize ); +} + +/** + * Returns a synchronized buffer backed by the given buffer that will block on [EMAIL PROTECTED] Buffer#add(Object)} and + * [EMAIL PROTECTED] Buffer#addAll(java.util.Collection)} until enough
DO NOT REPLY [Bug 37473] - [collections] Implement a BoundedBuffer class
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=37473. 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=37473 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED -- 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 37608] New: - [collections] Implement an IndexTransformer Class
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=37608. 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=37608 Summary: [collections] Implement an IndexTransformer Class Product: Commons Version: 3.2 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Collections AssignedTo: commons-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] Implement an IndexTransformer class which returns the value from an array, java.util.List, java.lang.String, or java.lang.StringBuffer at a specified index. -- 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]
[collections] IndexTransformer in 3.2?
All, I put in a Bugzilla request for an IndexTransformer class. Basically, it just returns the value from the input (input can be List, array, String, or StringBuffer) at a specified index. We've used a similar class in our application when we want to put the values from a query result (Collection of Object[]) into a map. We do something like this... public void populateMap( Map map, Collection objects, Transformer keyTransformer, Transformer valueTransformer ); And, you'd use it like this (assuming we did something like select x.id, x.name from SomeClass x)... populateMap( map, queryResults, new IndexTransformer(0), new IndexTransformer(1)); Do you think I could also add the populateMap method (there's another flavor of it that just uses the object itself as the value using a no-op transformer)? James - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jxpath] Bug in JXPathContext.removeAll() ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all I've tried to get my head around the JXPathContext.removeAll() not working as expected. I've written a TestCase: public void testRemoveAllFromCollection() { final Map map = new HashMap(); final Collection list = new ArrayList(); for(int i = 0; i 20; i++) { list.add( + i); } map.put( list, list); JXPathContext context = JXPathContext.newContext(null, map); context.removeAll( list ); assertEquals(not all items removed, 0, list.size() ); } After the test the list will still have 19 entries with the last one removed. While this: public void testRemoveAllFromCollectionIterated() { final Map map = new HashMap(); final Collection list = new ArrayList(); for(int i = 0; i 20; i++) { list.add( + i); } map.put( list, list); JXPathContext context = JXPathContext.newContext(null, map); for(int i = 0; i 20; i++) { context.removePath(list[1]); } assertEquals(not all items removed, 0, list.size() ); } works as expected. I've looked around in the code but am hopelessly lost what the issue could be to produce a patch. The only thing I've covered is that in DynamicPropertyPointer.remove() at #251 it always removes the last entry in the collection. I will file a bug in Bugzilla for it. Ciao Giacomo - -- Giacomo Pati Otego AG, Switzerland - http://www.otego.com Orixo, the XML business alliance - http://www.orixo.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDhHHRLNdJvZjjVZARAtZxAKCJmx4oghf/xoat59pQYQT9dfTbxwCgsoC0 l29NM0u5F46SVKBsQV0ZsG8= =2JMv -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 37610] New: - JXPathContext.removeAll() doesn't remove all (just one)
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=37610. 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=37610 Summary: JXPathContext.removeAll() doesn't remove all (just one) Product: Commons Version: unspecified Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: JXPath AssignedTo: commons-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] JXPathContext.removeAll() doesn't remove all items for a Collection path supplied. TestCase to reproduce: public void testRemoveAllFromCollection() { final Map map = new HashMap(); final Collection list = new ArrayList(); for(int i = 0; i 20; i++) { list.add( + i); } map.put( list, list); JXPathContext context = JXPathContext.newContext(null, map); context.removeAll( list ); assertEquals(not all items removed, 0, list.size() ); } -- 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: r348444 - in /jakarta/commons/proper/collections/trunk/src: java/org/apache/commons/collections/ java/org/apache/commons/collections/functors/ test/org/apache/commons/collections/
Author: jcarman Date: Wed Nov 23 06:06:56 2005 New Revision: 348444 URL: http://svn.apache.org/viewcvs?rev=348444view=rev Log: 37106: serialVersionUIDs should be private (static final long) Modified: jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/ReferenceMap.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/AllPredicate.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/AndPredicate.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/AnyPredicate.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/ChainedClosure.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/ChainedTransformer.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/CloneTransformer.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/ClosureTransformer.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/ConstantFactory.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/ConstantTransformer.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/EqualPredicate.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/ExceptionClosure.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/ExceptionFactory.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/ExceptionPredicate.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/ExceptionTransformer.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/FactoryTransformer.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/FalsePredicate.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/ForClosure.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/IdentityPredicate.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/IfClosure.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/InstanceofPredicate.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/InstantiateFactory.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/InstantiateTransformer.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/InvokerTransformer.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/MapTransformer.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/NOPClosure.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/NOPTransformer.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/NonePredicate.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/NotNullPredicate.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/NotPredicate.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/NullIsExceptionPredicate.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/NullIsFalsePredicate.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/NullIsTruePredicate.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/NullPredicate.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/OnePredicate.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/OrPredicate.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/PredicateTransformer.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/PrototypeFactory.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/StringValueTransformer.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/SwitchClosure.java jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/SwitchTransformer.java
DO NOT REPLY [Bug 37106] - [collections] serialVersionUID should be private
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=37106. 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=37106 [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2005-11-23 15:07 --- I believe I got them all. Let me know if you see any stragglers. -- 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: [transaction] Duplicated TxId generation under heavy load
2005/11/23, Joerg Heinicke [EMAIL PROTECTED]: Oliver Zeigermann oliver.zeigermann at gmail.com writes: To me it seems generatedUniqueTxId does exactly as advertised in Javadocs. Don't you agree? No. :) This dismisses my argument about externally generated ids, yes. But two different threads calling generateUniqueTxId() at the same time still get the same unique id as the first thread calling this method does not preserve the id. So the current implementation does not fulfill the contract mentioned in the Javadocs. Argh! That's right, I guess :( Any idea how to solve this? Oliver - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r348458 - in /jakarta/commons/proper/transaction/trunk: RELEASE-NOTES.txt src/java/org/apache/commons/transaction/file/FileResourceManager.java
Author: ozeigermann Date: Wed Nov 23 07:19:45 2005 New Revision: 348458 URL: http://svn.apache.org/viewcvs?rev=348458view=rev Log: Reduced likelyhood of clash between internally generated and external tx id in generatedUniqueTxId Modified: jakarta/commons/proper/transaction/trunk/RELEASE-NOTES.txt jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/file/FileResourceManager.java Modified: jakarta/commons/proper/transaction/trunk/RELEASE-NOTES.txt URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/transaction/trunk/RELEASE-NOTES.txt?rev=348458r1=348457r2=348458view=diff == --- jakarta/commons/proper/transaction/trunk/RELEASE-NOTES.txt (original) +++ jakarta/commons/proper/transaction/trunk/RELEASE-NOTES.txt Wed Nov 23 07:19:45 2005 @@ -29,6 +29,7 @@ - Fixed bugzilla issue 35201. Maps in AbstractXAResource now are synchronized to avoid problems in multi threaded scenarios. - Fixed bug reported by Niklas Gustavsson on http://www.mail-archive.com/commons-dev@jakarta.apache.org/msg69441.html. Failed deletion of a file now throws an exception and enters an error state upon commit. +- Reduced likelyhood of clash between internally generated and external tx id in generatedUniqueTxId KNOWN ISSUES Modified: jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/file/FileResourceManager.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/file/FileResourceManager.java?rev=348458r1=348457r2=348458view=diff == --- jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/file/FileResourceManager.java (original) +++ jakarta/commons/proper/transaction/trunk/src/java/org/apache/commons/transaction/file/FileResourceManager.java Wed Nov 23 07:19:45 2005 @@ -199,6 +199,8 @@ protected ResourceIdToPathMapper idMapper = null; +protected int idCnt = 0; + /* * --- ctor and general getter / setter methods --- * @@ -884,7 +886,8 @@ String txId; synchronized (globalTransactions) { do { -txId = Long.toHexString(System.currentTimeMillis()); +txId = Long.toHexString(System.currentTimeMillis()) + - ++ Integer.toHexString(idCnt); // XXX busy loop } while (getContext(txId) != null); } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [transaction] Duplicated TxId generation under heavy load
See my latest commit for an - hopefully - acceptable degree of certainty that the id really is unique. In the - very unlikely - case that it really is not unique you can still catch the exception when starting the tx and retry with a new one. Acceptable? Oliver 2005/11/23, Oliver Zeigermann [EMAIL PROTECTED]: 2005/11/23, Joerg Heinicke [EMAIL PROTECTED]: Oliver Zeigermann oliver.zeigermann at gmail.com writes: To me it seems generatedUniqueTxId does exactly as advertised in Javadocs. Don't you agree? No. :) This dismisses my argument about externally generated ids, yes. But two different threads calling generateUniqueTxId() at the same time still get the same unique id as the first thread calling this method does not preserve the id. So the current implementation does not fulfill the contract mentioned in the Javadocs. Argh! That's right, I guess :( Any idea how to solve this? Oliver - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r348502 - in /jakarta/commons/proper/math/branches/MATH_1_1: ./ src/java/org/apache/commons/math/complex/ src/test/org/apache/commons/math/ src/test/org/apache/commons/math/complex/ xdocs/
Author: psteitz Date: Wed Nov 23 09:43:57 2005 New Revision: 348502 URL: http://svn.apache.org/viewcvs?rev=348502view=rev Log: * Added polar2Complex method to ComplexUtils to create Complex numbers from polar representations. * Improved documentation and test cases related to handling of infinite and NaN values in Complex, ComplexUtils classes. BZ #37086. Modified: jakarta/commons/proper/math/branches/MATH_1_1/project.xml jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/complex/Complex.java jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/complex/ComplexUtils.java jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/TestUtils.java jakarta/commons/proper/math/branches/MATH_1_1/src/test/org/apache/commons/math/complex/ComplexUtilsTest.java jakarta/commons/proper/math/branches/MATH_1_1/xdocs/changes.xml jakarta/commons/proper/math/branches/MATH_1_1/xdocs/userguide/complex.xml Modified: jakarta/commons/proper/math/branches/MATH_1_1/project.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/project.xml?rev=348502r1=348501r2=348502view=diff == --- jakarta/commons/proper/math/branches/MATH_1_1/project.xml (original) +++ jakarta/commons/proper/math/branches/MATH_1_1/project.xml Wed Nov 23 09:43:57 2005 @@ -205,8 +205,8 @@ reports reportmaven-changes-plugin/report reportmaven-checkstyle-plugin/report -reportmaven-clover-plugin/report !-- +reportmaven-clover-plugin/report reportmaven-changelog-plugin/report reportmaven-developer-activity-plugin/report reportmaven-file-activity-plugin/report Modified: jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/complex/Complex.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/complex/Complex.java?rev=348502r1=348501r2=348502view=diff == --- jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/complex/Complex.java (original) +++ jakarta/commons/proper/math/branches/MATH_1_1/src/java/org/apache/commons/math/complex/Complex.java Wed Nov 23 09:43:57 2005 @@ -23,11 +23,11 @@ * Representation of a Complex number - a number which has both a * real and imaginary part. * p - * Implementation of arithmetic operations handles codeNaN/code and + * Implementations of arithmetic operations handle codeNaN/code and * infinite values according to the rules for [EMAIL PROTECTED] java.lang.Double} * arithmetic, applying definitional formulas and returning codeNaN/code or * infinite values in real or imaginary parts as these arise in computation. - * See the javadoc for individual methods for details. + * See individual method javadocs for details. * p * [EMAIL PROTECTED] #equals} identifies all values with codeNaN/code in either real * or imaginary part - e.g., pre @@ -76,7 +76,7 @@ * p * Returns codeNaN/code if either real or imaginary part is * codeNaN/code and codeDouble.POSITIVE_INFINITY/code if - * neither part is codeNaN/code, but at least on part takes an infinite + * neither part is codeNaN/code, but at least one part takes an infinite * value. * * @return the absolute value. @@ -110,11 +110,15 @@ * p * Uses the definitional formula * pre - * (a + bi) + (c + di) = (a+c) + (b + d)i + * (a + bi) + (c + di) = (a+c) + (b+d)i * /pre * p - * Inifinite and NaN values are returned in the parts according to the - * rules for [EMAIL PROTECTED] java.lang.Double} arithmetic. + * If either this or coderhs/code has a NaN value in either part, + * [EMAIL PROTECTED] #NaN} is returned; otherwise Inifinite and NaN values are + * returned in the parts of the result according to the rules for + * [EMAIL PROTECTED] java.lang.Double} arithmetic. + * p + * Throws codeNullPointerException/code if coderhs/code is null. * * @param rhs the other complex number. * @return the complex number sum. @@ -128,13 +132,13 @@ * Return the conjugate of this complex number. The conjugate of * A + Bi is A - Bi. * p - * Complex.NaN is returned if either the real or imaginary - * part of this Complex number equals Double.NaN. + * [EMAIL PROTECTED] #NaN} is returned if either the real or imaginary + * part of this Complex number equals codeDouble.NaN/code. * p * If the imaginary part is infinite, and the real part is not NaN, * the returned value has infinite imaginary part of the opposite * sign - e.g. the conjugate of code1 + POSITIVE_INFINITY i/code - * is code1 + NEGATIVE_INFINITY i/code + * is code1 - NEGATIVE_INFINITY i/code
DO NOT REPLY [Bug 37086] - [math] Complex arithmetic operations do not conform to C99x Annex G
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=37086. 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=37086 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2005-11-23 19:02 --- Current behavior has been documented. No attempt has been made to implement C99x Annex G for the following reasons: 1. Spec is not publicly available and we have not been able to get permission to quote from the spec in javadoc or to share the spec with the development community. 2. Spec is for the C language and Annex G is still not normative. 3. Following the spec complicates and has performance impacts on implementations. 4. Following the spec introduces semantic incompatibility with version 1.0 of commons-math. The user guide and javadoc have been updated to reflect the following principles: * Operations invoked on arguments having any NaN parts always result in Complex.NaN returned; * Infinite values are handled according to the rules for java.lang.Double arithmetic, resulting in NaN or infinities returned in parts of Complex results per the computational formulas provided in the method javadoc. So...for now closing as WONTFIX. -- 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: r348507 - /jakarta/commons/proper/math/trunk/testOnly.sh
Author: psteitz Date: Wed Nov 23 10:04:41 2005 New Revision: 348507 URL: http://svn.apache.org/viewcvs?rev=348507view=rev Log: Added trivial script to selectively execute unit tests. Added: jakarta/commons/proper/math/trunk/testOnly.sh (with props) Added: jakarta/commons/proper/math/trunk/testOnly.sh URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/testOnly.sh?rev=348507view=auto == --- jakarta/commons/proper/math/trunk/testOnly.sh (added) +++ jakarta/commons/proper/math/trunk/testOnly.sh Wed Nov 23 10:04:41 2005 @@ -0,0 +1,38 @@ +#!/bin/sh +#-- +# Copyright 2005 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. +#-- +# $Id$ +# +# Runs only the unit tests in the package(s) specified by the argument. +# +# Usage: +# testOnly.sh package-spec +# +# Examples: +# testOnly.sh complex - runs all tests in the complex package +# testOnly.sh stat/descriptive - runs tests in stat/descriptive package +# testOnly.sh stat/** - runs tests in all subpackages of stat +# +# Requires: +# version 1.7 or later of the maven test plugin +# +# Assumes: +# * Test class names end in Test.java +# * A test class is abstract iff its name embeds the string Abstract +#-- + +maven -Dtestmatchpattern=**/$1/*Test.java \ +-Dtestnotmatchpattern=**/*Abstract* test:match Propchange: jakarta/commons/proper/math/trunk/testOnly.sh -- svn:eol-style = native Propchange: jakarta/commons/proper/math/trunk/testOnly.sh -- svn:executable = * Propchange: jakarta/commons/proper/math/trunk/testOnly.sh -- svn:keywords = Date Author Id Revision HeadURL - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 37614] New: - [jci] MemoryResourceStore should using standard class file names for keys
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=37614. 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=37614 Summary: [jci] MemoryResourceStore should using standard class file names for keys Product: Commons Version: unspecified Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Sandbox AssignedTo: commons-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] MemoryResourceStore should using standard class file names for keys, so that it works in a standard way for list. My use case for this is creating deployment jars from ResourceStores - I want to simply call list() on ResourceStore and then iterate through that adding it to my Jar. I dont want to have to detect if one has or has not got / and ends .class. -- 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 37614] - [jci] MemoryResourceStore should using standard class file names for keys
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=37614. 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=37614 --- Additional Comments From [EMAIL PROTECTED] 2005-11-23 19:18 --- public final class MemoryResourceStore implements ResourceStore { private final static Log log = LogFactory.getLog(MemoryResourceStore.class); private final Map store = new HashMap(); public byte[] read( final String resourceName ) { return (byte[]) store.get(resourceName.replace('.', '/') + .class); } public void write( final String resourceName, final byte[] clazzData ) { log.debug(storing resource + resourceName + ( + clazzData.length + )); store.put(resourceName.replace('.', '/') + .class, clazzData); } public void remove( final String resourceName ) { log.debug(removing resource + resourceName); store.remove(resourceName.replace('.', '/') + .class); } public String toString() { return this.getClass().getName() + store.toString(); } public String[] list() { if ( store == null ) { return new String[0]; } return ( String[] ) this.store.keySet().toArray( new String[ this.store.size() ] ); } } -- 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: [math] Complex operations and C99x compliance
I added tests and documentation describing the 1.0 behavior and closed the BZ ticket on this. I added docs specifying computing formulas and describing how NaN and infinite values are handled. It would be great to have some more eyeballs verify that javadoc - code - tests are all now in synch and the documentation is clear. I have not yet merged these changes into trunk. I will do this after making a few more trivial updates and preparing RC4. For now, the new javadoc can be viewed here http://people.apache.org/~psteitz/commons-math/apidocs/ The classes just changed are Complex and ComplexUtils; but any other javadoc errors that anyone can spot would be much appreciated. The current code and test cases are in the MATH_1_1 branch. (https://svn.apache.org/repos/asf/jakarta/commons/proper/math/branches/MATH_1_1/). Thanks in advance. Phil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]: Project commons-resources (in module jakarta-commons) failed
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-resources has an issue affecting its community integration. This issue affects 1 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-resources : Commons resources Full details are available at: http://vmgump.apache.org/gump/public/jakarta-commons/commons-resources/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-resources-23112005.jar] identifier set to project name -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/jakarta-commons/resources/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/jakarta-commons/resources/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/jakarta-commons/resources/project.properties -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/jakarta-commons/commons-resources/gump_work/build_jakarta-commons_commons-resources.html Work Name: build_jakarta-commons_commons-resources (Type: Build) Work ended in a state of : Failed Elapsed: 3 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/jakarta-commons/resources] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/resources/target/classes:/usr/local/gump/public/workspace/jakarta-commons/resources/target/test-classes:/usr/local/gump/public/workspace/jakarta-commons/resources/test:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/discovery/dist/commons-discovery.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-23112005.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/packages/iBATIS_DBL-2.0.5.399/ibatis-dao-2.jar:/usr/local/gump/packages/iBATIS_DBL-2.0.5.399/ibatis-common-2.jar:/usr/local/gump/packages/iBATIS_DBL-2.0.5.399/ibatis-sqlmap-2.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/public/workspace/hsqldb/lib/hsqldb.jar - __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 The build cannot continue because of the following unsatisfied dependencies: maven-xdoc-plugin-1.9.2.jar (try downloading from http://maven.apache.org/reference/plugins/xdoc/) maven-changelog-plugin-1.8.2.jar (try downloading from http://maven.apache.org/reference/plugins/changelog/) maven-file-activity-plugin-1.5.2.jar (try downloading from http://maven.apache.org/reference/plugins/file-activity/) Total time: 2 seconds Finished at: Wed Nov 23 11:01:13 PST 2005 - To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-commons/commons-resources/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-commons/commons-resources/atom.xml == Gump Tracking Only === Produced by Gump version 2.2. Gump Run 17000823112005, vmgump.apache.org:vmgump-public:17000823112005 Gump E-mail Identifier (unique within run) #1. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]: Project commons-resources (in module jakarta-commons) failed
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-resources has an issue affecting its community integration. This issue affects 1 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-resources : Commons resources Full details are available at: http://vmgump.apache.org/gump/public/jakarta-commons/commons-resources/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-resources-23112005.jar] identifier set to project name -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/jakarta-commons/resources/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/jakarta-commons/resources/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/jakarta-commons/resources/project.properties -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/jakarta-commons/commons-resources/gump_work/build_jakarta-commons_commons-resources.html Work Name: build_jakarta-commons_commons-resources (Type: Build) Work ended in a state of : Failed Elapsed: 3 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/jakarta-commons/resources] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/resources/target/classes:/usr/local/gump/public/workspace/jakarta-commons/resources/target/test-classes:/usr/local/gump/public/workspace/jakarta-commons/resources/test:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/discovery/dist/commons-discovery.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-23112005.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/dist/commons-logging-api-23112005.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/packages/iBATIS_DBL-2.0.5.399/ibatis-dao-2.jar:/usr/local/gump/packages/iBATIS_DBL-2.0.5.399/ibatis-common-2.jar:/usr/local/gump/packages/iBATIS_DBL-2.0.5.399/ibatis-sqlmap-2.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/public/workspace/hsqldb/lib/hsqldb.jar - __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 The build cannot continue because of the following unsatisfied dependencies: maven-xdoc-plugin-1.9.2.jar (try downloading from http://maven.apache.org/reference/plugins/xdoc/) maven-changelog-plugin-1.8.2.jar (try downloading from http://maven.apache.org/reference/plugins/changelog/) maven-file-activity-plugin-1.5.2.jar (try downloading from http://maven.apache.org/reference/plugins/file-activity/) Total time: 2 seconds Finished at: Wed Nov 23 11:01:13 PST 2005 - To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/jakarta-commons/commons-resources/rss.xml - Atom: http://vmgump.apache.org/gump/public/jakarta-commons/commons-resources/atom.xml == Gump Tracking Only === Produced by Gump version 2.2. Gump Run 17000823112005, vmgump.apache.org:vmgump-public:17000823112005 Gump E-mail Identifier (unique within run) #1. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [resources] Preparation for a Release Candidate
On 11/22/05, Niall Pemberton [EMAIL PROTECTED] wrote: I've refreshed the Commons Resources site, sorted most the checkstyle issues and sorted a couple of build issues. AFAIK its pretty much ready for a release. except for a couple of things: 1) Quite a few methods are declaring in the javadoc that they throw RuntimeExceptions, which are coming out on the checkstyle: http://jakarta.apache.org/commons/resources/checkstyle-report.html My preferenc is to removed these, but I can understand why they were put in. Opinions? I think the code should say what it means. ;-) Looking at Resources.java, the init() and destroy() methods declare that they throw ResourcesException (and Javadoc that). All of the other methods do not declare that they throw that exception, but the Javadocs say they do. If they really do (or can), then they should declare that. If they don't, then we should remove the Javadocs. My tuppence. -- Martin Cooper 2) Rahul raised an issue with JDBCResources on the commons-user list: http://www.mail-archive.com/commons-user%40jakarta.apache.org/msg13618.html Is there anything else needs doing before cutting a release candidate? Would it be useful to provide a more detailled description of the changes I've made? Niall - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [math] Complex operations and C99x compliance
Phil Steitz wrote: It would be great to have some more eyeballs verify that javadoc - code - tests are all now in synch and the documentation is clear. A couple of notes: A complex number analogous to Double.NaN isn't quite descriptive enough. I'd suggest specifying that it's NaN + NaNi (if indeed that's the case) Delete the period from Returns: the complex number sum. Same thing for a lot of other Returns clauses that are not complete sentences including getImaginary and getReal. See http://java.sun.com/j2se/javadoc/writingdoccomments/#styleguide particularly the section on @param and @return Under divide Throws NullPointerException if rhs is null. looks funny. Maybe an @throws is missing in the source code? Major: The isNaN spec seems contradictory. It says: Returns true if this complex number is equal to the special Not-a-Number (NaN) value. Returns: true if either or both parts of this complex number take NaN values; false otherwise. The first sentence differs from the second. Also what does it means that a part of a complex number takes a NaN value? I suggest rewriting like this: Returns true if either or both parts of this complex number is NaN; false otherwise. Returns: true if either or both parts of this complex number is NaN; false otherwise Under multiply, infintite should be infinite. Same correction under subtract. -- Elliotte Rusty Harold [EMAIL PROTECTED] XML in a Nutshell 3rd Edition Just Published! http://www.cafeconleche.org/books/xian3/ http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 37162] - [math] Non-private serialVersionUIDs
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=37162. 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=37162 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2005-11-23 20:16 --- Patch applied to MATH_1_1 branch, to be merged into trunk. Thanks! Sorry for the latency. In the future, it is best to make your patches from the top level src directory or at least somewhere inside the project tree. Keep them coming :-) -- 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: [math] Complex operations and C99x compliance
Phil Steitz wrote: The classes just changed are Complex and ComplexUtils; but any other javadoc errors that anyone can spot would be much appreciated. The links to MathWorld in ComplexUtils should be set to replace the entire frameset. Again the throws clauses look funny as if they were included directly in the description rather than in @throws doc comments The pow function should specify that it returns NaN for 0 to the zeroth power. tan, atan and possibly other functions can return infinity. This should be noted. e.g. tan(pi/2 + 0i) is infinite. -- Elliotte Rusty Harold [EMAIL PROTECTED] XML in a Nutshell 3rd Edition Just Published! http://www.cafeconleche.org/books/xian3/ http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r348524 - /jakarta/commons/proper/math/branches/MATH_1_1/project.xml
Author: psteitz Date: Wed Nov 23 11:23:11 2005 New Revision: 348524 URL: http://svn.apache.org/viewcvs?rev=348524view=rev Log: Added Elliotte Rusty Harold to contributors. Modified: jakarta/commons/proper/math/branches/MATH_1_1/project.xml Modified: jakarta/commons/proper/math/branches/MATH_1_1/project.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/math/branches/MATH_1_1/project.xml?rev=348524r1=348523r2=348524view=diff == --- jakarta/commons/proper/math/branches/MATH_1_1/project.xml (original) +++ jakarta/commons/proper/math/branches/MATH_1_1/project.xml Wed Nov 23 11:23:11 2005 @@ -143,6 +143,9 @@ nameKen Geis/name /contributor contributor + nameElliotte Rusty Harold/name +/contributor +contributor namePiotr Kochanski/name /contributor contributor - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [math] Complex operations and C99x compliance
Thanks! Patches welcome :-) To check out the MATH_1_1 branch, use svn co https://svn.apache.org/repos/asf/jakarta/commons/proper/math/branches/MATH_1_1/ On 11/23/05, Elliotte Harold [EMAIL PROTECTED] wrote: Phil Steitz wrote: It would be great to have some more eyeballs verify that javadoc - code - tests are all now in synch and the documentation is clear. A couple of notes: A complex number analogous to Double.NaN isn't quite descriptive enough. I'd suggest specifying that it's NaN + NaNi (if indeed that's the case) Agreed. Delete the period from Returns: the complex number sum. Same thing for a lot of other Returns clauses that are not complete sentences including getImaginary and getReal. See http://java.sun.com/j2se/javadoc/writingdoccomments/#styleguide particularly the section on @param and @return Agreed there as well. Under divide Throws NullPointerException if rhs is null. looks funny. Maybe an @throws is missing in the source code? Probably should replace with @throws. The point is to call attention to the fact that null arguments are not allowed. Major: The isNaN spec seems contradictory. It says: Returns true if this complex number is equal to the special Not-a-Number (NaN) value. Returns: true if either or both parts of this complex number take NaN values; false otherwise. The first sentence differs from the second. Also what does it means that a part of a complex number takes a NaN value? I suggest rewriting like this: Returns true if either or both parts of this complex number is NaN; false otherwise. Returns: true if either or both parts of this complex number is NaN; false otherwise Agreed, though given the way that equals is implemented, the statements are not actually inconsistent. Under multiply, infintite should be infinite. Same correction under subtract. Good catch. Thanks! Phil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [math] Complex operations and C99x compliance
The links to MathWorld in ComplexUtils should be set to replace the entire frameset. +0 snip The pow function should specify that it returns NaN for 0 to the zeroth power. +1 tan, atan and possibly other functions can return infinity. This should be noted. e.g. tan(pi/2 + 0i) is infinite. Yes, I guess the statment Infinite values in real or imaginary parts of the input may result in infinite or NaN values returned in parts of the result. should be edited to also indicate that infinite values resulting from applying the real functions specified in the computing formulas are passed on unchanged in the result. Thanks. Phil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r348539 - /jakarta/commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/QueryRunner.java
Author: bayard Date: Wed Nov 23 12:09:26 2005 New Revision: 348539 URL: http://svn.apache.org/viewcvs?rev=348539view=rev Log: It can be confusing to get a NullPointerException when you forget to set the DataSource or include the Connection parameter, so I've added a dedicated exception for this event Modified: jakarta/commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/QueryRunner.java Modified: jakarta/commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/QueryRunner.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/QueryRunner.java?rev=348539r1=348538r2=348539view=diff == --- jakarta/commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/QueryRunner.java (original) +++ jakarta/commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/QueryRunner.java Wed Nov 23 12:09:26 2005 @@ -186,6 +186,9 @@ * @since DbUtils 1.1 */ protected Connection prepareConnection() throws SQLException { +if(this.getDataSource() == null) { +throw new SQLException(QueryRunner requires a DataSource to be invoked in this way, or a Connection should be passed in); +} return this.getDataSource().getConnection(); } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r348541 - in /jakarta/commons/proper/configuration/trunk: build.xml project.properties project.xml xdocs/changes.xml xdocs/navigation.xml
Author: oheger Date: Wed Nov 23 12:10:09 2005 New Revision: 348541 URL: http://svn.apache.org/viewcvs?rev=348541view=rev Log: Preparations for 1.2RC2 Modified: jakarta/commons/proper/configuration/trunk/build.xml jakarta/commons/proper/configuration/trunk/project.properties jakarta/commons/proper/configuration/trunk/project.xml jakarta/commons/proper/configuration/trunk/xdocs/changes.xml jakarta/commons/proper/configuration/trunk/xdocs/navigation.xml Modified: jakarta/commons/proper/configuration/trunk/build.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/configuration/trunk/build.xml?rev=348541r1=348540r2=348541view=diff == --- jakarta/commons/proper/configuration/trunk/build.xml (original) +++ jakarta/commons/proper/configuration/trunk/build.xml Wed Nov 23 12:10:09 2005 @@ -41,7 +41,7 @@ property name=targetconfdir value=${defaulttargetdir}/${confdir}/ !-- Manual changes end -- - property name=final.name value=commons-configuration-1.2RC1 + property name=final.name value=commons-configuration-1.2RC2 /property path id=build.classpath fileset dir=${libdir} Modified: jakarta/commons/proper/configuration/trunk/project.properties URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/configuration/trunk/project.properties?rev=348541r1=348540r2=348541view=diff == --- jakarta/commons/proper/configuration/trunk/project.properties (original) +++ jakarta/commons/proper/configuration/trunk/project.properties Wed Nov 23 12:10:09 2005 @@ -33,7 +33,6 @@ maven.jar.override=on maven.jar.resources=conf/resources.jar -maven.compile.source = 1.3 maven.compile.target = 1.3 maven.javacc.javacc.grammar=src/java/org/apache/commons/configuration/plist/PropertyListParser.jj Modified: jakarta/commons/proper/configuration/trunk/project.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/configuration/trunk/project.xml?rev=348541r1=348540r2=348541view=diff == --- jakarta/commons/proper/configuration/trunk/project.xml (original) +++ jakarta/commons/proper/configuration/trunk/project.xml Wed Nov 23 12:10:09 2005 @@ -23,7 +23,7 @@ groupIdcommons-configuration/groupId artifactIdcommons-configuration/artifactId - currentVersion1.2RC1/currentVersion + currentVersion1.2RC2/currentVersion inceptionYear2001/inceptionYear nameCommons Configuration/name shortDescriptionCommon Configuration/shortDescription Modified: jakarta/commons/proper/configuration/trunk/xdocs/changes.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/configuration/trunk/xdocs/changes.xml?rev=348541r1=348540r2=348541view=diff == --- jakarta/commons/proper/configuration/trunk/xdocs/changes.xml (original) +++ jakarta/commons/proper/configuration/trunk/xdocs/changes.xml Wed Nov 23 12:10:09 2005 @@ -22,7 +22,7 @@ body -release version=1.2-dev date=in SVN +release version=1.2-rc2 date=2005-11-23 action dev=oheger type=update issue=37486 ConfigurationDynaBean now implements the java.util.Map interface (as was stated in the javadocs). This was done by deriving the class from Modified: jakarta/commons/proper/configuration/trunk/xdocs/navigation.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/configuration/trunk/xdocs/navigation.xml?rev=348541r1=348540r2=348541view=diff == --- jakarta/commons/proper/configuration/trunk/xdocs/navigation.xml (original) +++ jakarta/commons/proper/configuration/trunk/xdocs/navigation.xml Wed Nov 23 12:10:09 2005 @@ -38,6 +38,7 @@ item name=Runtime Dependencies href=/dependencies.html/ item name=Roadmap href=/tasks-report.html/ item name=Javadoc (latest) href=/apidocs/index.html/ + item name=Javadoc (Release 1.1) href=/apidocs_1.1/index.html/ item name=Javadoc (Release 1.0) href=/apidocs_1.0/index.html/ item name=SVN href=http://svn.apache.org/repos/asf/jakarta/commons/proper/configuration// /menu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r348549 - /jakarta/commons/proper/configuration/tags/CONFIGURATION_1_2RC2/
Author: oheger Date: Wed Nov 23 12:14:05 2005 New Revision: 348549 URL: http://svn.apache.org/viewcvs?rev=348549view=rev Log: Tagged 1.2RC2 Added: jakarta/commons/proper/configuration/tags/CONFIGURATION_1_2RC2/ - copied from r348548, jakarta/commons/proper/configuration/trunk/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ANN][configuration] 1.2RC2 available
In preparation of a 1.2 release of commons-configuration we have created a second release candidate. Source and binary distributions can be found at http://people.apache.org/~oheger/commons-configuration-1.2RC2/ The updated web site for this release candidate is available here: http://people.apache.org/~oheger/commons-configuration-1.2RC2-docs/ There are minor changes between this release candidate and the one before: A bug (BZ ticket 37486) was reported and fixed. The complete list of changes since the 1.1 release can be found at http://people.apache.org/~oheger/commons-configuration-1.2RC2-docs/changes-report.html Because the first release candidate is out for a while now and only one issue was reported, I am going to call out a vote for the final release soon. Oliver for the commons-configuration team - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 37134] - [validator] Built-in JavaScript incompatible with modern AJAX techniques
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=37134. 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=37134 --- Additional Comments From [EMAIL PROTECTED] 2005-11-23 22:32 --- Created an attachment (id=17025) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=17025action=view) Javascript patch to version 1.2.0 This is the patch to current version in the Subversion and in the Subversion format. -- 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 37134] - [validator] Built-in JavaScript incompatible with modern AJAX techniques
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=37134. 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=37134 [EMAIL PROTECTED] changed: What|Removed |Added Attachment #17016|0 |1 is obsolete|| -- 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: [resources] Preparation for a Release Candidate
On 11/23/05, Martin Cooper [EMAIL PROTECTED] wrote: On 11/22/05, Niall Pemberton [EMAIL PROTECTED] wrote: I've refreshed the Commons Resources site, sorted most the checkstyle issues and sorted a couple of build issues. AFAIK its pretty much ready for a release. except for a couple of things: 1) Quite a few methods are declaring in the javadoc that they throw RuntimeExceptions, which are coming out on the checkstyle: http://jakarta.apache.org/commons/resources/checkstyle-report.html My preferenc is to removed these, but I can understand why they were put in. Opinions? I think the code should say what it means. ;-) Looking at Resources.java, the init() and destroy() methods declare that they throw ResourcesException (and Javadoc that). All of the other methods do not declare that they throw that exception, but the Javadocs say they do. If they really do (or can), then they should declare that. If they don't, then we should remove the Javadocs. snip/ IMO, the public contract implied by the Resources interface means its only fitting that all get*() methods in that interface as well as all interface implementations declare that they throw ResourcesKeyException. I think that the more generic ResourcesException was meant to wrap any underlying RuntimeException (other than MissingResourceException), and I've no preference about declaring that. Indeed, there is only one place where a ResourcesException is ever thrown in the (non-test) codebase [1], and that behavior will need to be consistently applied elsewhere as appropriate, or the single occurence removed. As I was looking at ResourcesException, I also find that it redundantly implements Serializable [2], since all Throwable's are (expected to be) Serializable anyway. Unfortunately, given the long weekend, I'm about to step out and I won't have access to a development machine for almost a week, so sorry about not being able to immediately help in any of the things I've pointed out. If these or other things (including item 2 below) need any attention after I'm back, I'd be happy to join the fun via proposed Bugzilla patches. -Rahul [1] http://jakarta.apache.org/commons/resources/xref/org/apache/commons/resources/impl/ResourceBundleResources.html#342 [2] http://jakarta.apache.org/commons/resources/xref/org/apache/commons/resources/ResourcesException.html#32 My tuppence. -- Martin Cooper 2) Rahul raised an issue with JDBCResources on the commons-user list: http://www.mail-archive.com/commons-user%40jakarta.apache.org/msg13618.html Is there anything else needs doing before cutting a release candidate? Would it be useful to provide a more detailled description of the changes I've made? Niall - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Jakarta-commons Wiki] Update of Logging/1.1.0ReleasePlan by DennisLundberg
Dear Wiki user, You have subscribed to a wiki page or wiki category on Jakarta-commons Wiki for change notification. The following page has been changed by DennisLundberg: http://wiki.apache.org/jakarta-commons/Logging/1%2e1%2e0ReleasePlan The comment on the change is: Summarized the discussions on the dev list regarding design decisions -- * Bug 37484 ''[logging] call to getClassLoader() in Log``Factory``Impl not checked for null'' * Might have been solved already. - == Bug Fix == + == Bug Fixes == + + == Design decisions == + + * Do we remove the Servlet``Context``Cleaner? +1. It's obviously too controversial. Maybe the code could be put in the documentation somewhere, or on the wiki. + + * Decide whether to merge the weak-hash-map stuff into the main trunk or leave it in an optional jar. If we merge it, we can do away with the optional jar completely which is good. However it does mean that if there is a bug in it people can't disable it. If bundled in the main jar there might need to be a little extra code to just ignore it when it throws an exception on load for java 1.3. + + * Sort out whether we split Log4JLogger into two classes or not. If we choose two classes, how should we name them? +1. Rename Log4``J12``Logger.java back to Log4JLogger.java. That would make the upgrade transparent for the previous use-case. But there is the chance that this will not work at all for a user that is currently using JCL 1.0.4 together with log4jalpha-something and a configuration file stating that Log4JLogger should be used. +1. Users who configure JCL to use Log4JLogger might reasonably expect JCL to guess the log4j version and use the correct logger. so, perhaps one option would be to create a delegating implementation. + + * Decide our jar distribution strategy (in particular, whether we ship the optional jar or not). + + * How do we give downstream packagers and users a fair view of the actual JCL dependencies? == Test Compatibility == - Verify that trace level logging works correctly with Log4J 1.2.12+. ''DONE'' + Verify that TRACE support works for Log4J 1.2.12+. ''DONE'' == Release Notes == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: svn commit: r348444 - in /jakarta/commons/proper/collections/trunk/src: java/org/apache/commons/collections/ java/org/apache/commons/collections/functors/ test/org/apache/commons/collections/
[EMAIL PROTECTED] wrote: Author: jcarman URL: http://svn.apache.org/viewcvs?rev=348444view=rev Log: 37106: serialVersionUIDs should be private (static final long) Modified: jakarta/commons/proper/collections/trunk/src/test/org/apache/commons/collections/TestMapUtils.java Did you mean to checkin TestMapUtils with this change ??? Stephen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Jakarta-commons Wiki] Update of ValidatorWishList by NathanBubna
Dear Wiki user, You have subscribed to a wiki page or wiki category on Jakarta-commons Wiki for change notification. The following page has been changed by NathanBubna: http://wiki.apache.org/jakarta-commons/ValidatorWishList -- '''JavascriptValidatorTag should be maintained with Commons-Validator.''' Validator should at least provide a version of this class with abstract dependency retrieval methods (getValidatorResources and getMessage) so that a framework could simply extend the abstract class to provide this tag. Ideally, Validator would have its own tag library, but I can't think of how this would be implemented easily. + It would be even better if generation of the validation javascript could be abstracted out into a JavascriptValidatorSupport class that could act as a base for JavascriptValidatorTag and also be usable for integration with other view technologies, like Velocity. + Thanks, [mailto:millerd_AT_paonline_DOT_com Daniel Miller] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r348629 - /jakarta/commons/proper/collections/trunk/src/test/org/apache/commons/collections/TestMapUtils.java
Author: jcarman Date: Wed Nov 23 19:40:42 2005 New Revision: 348629 URL: http://svn.apache.org/viewcvs?rev=348629view=rev Log: Fixing accidentally checked in code. Modified: jakarta/commons/proper/collections/trunk/src/test/org/apache/commons/collections/TestMapUtils.java Modified: jakarta/commons/proper/collections/trunk/src/test/org/apache/commons/collections/TestMapUtils.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/src/test/org/apache/commons/collections/TestMapUtils.java?rev=348629r1=348628r2=348629view=diff == --- jakarta/commons/proper/collections/trunk/src/test/org/apache/commons/collections/TestMapUtils.java (original) +++ jakarta/commons/proper/collections/trunk/src/test/org/apache/commons/collections/TestMapUtils.java Wed Nov 23 19:40:42 2005 @@ -36,9 +36,9 @@ /** * Tests for MapUtils. - * + * * @version $Revision$ $Date$ - * + * * @author Stephen Colebourne * @author Arun Mammen Thomas * @author Max Rydahl Andersen @@ -74,13 +74,13 @@ fail(Expecting IllegalArgumentException for null map.); } catch (IllegalArgumentException e) { // expected -} +} } // Since a typed map is a predicated map, I copied the tests for predicated map public void testTypedMapIllegalPut() { final Map map = MapUtils.typedMap(new HashMap(), String.class, String.class); - + try { map.put(Hi, new Integer(3)); fail(Illegal value should raise IllegalArgument); @@ -120,9 +120,9 @@ } catch (IllegalArgumentException e) { // expected } - + } - + public BulkTest bulkTestTypedMap() { return new TestPredicatedMap() { public boolean isAllowNullKey() { @@ -141,8 +141,8 @@ public void testLazyMapFactory() { Factory factory = FactoryUtils.constantFactory(new Integer(5)); -Map map = MapUtils.lazyMap(new HashMap(), factory); -assertTrue(map instanceof LazyMap); +Map map = MapUtils.lazyMap(new HashMap(), factory); +assertTrue(map instanceof LazyMap); try { map = MapUtils.lazyMap(new HashMap(), (Factory) null); fail(Expecting IllegalArgumentException for null factory); @@ -156,8 +156,8 @@ // expected } Transformer transformer = TransformerUtils.asTransformer(factory); -map = MapUtils.lazyMap(new HashMap(), transformer); -assertTrue(map instanceof LazyMap); +map = MapUtils.lazyMap(new HashMap(), transformer); +assertTrue(map instanceof LazyMap); try { map = MapUtils.lazyMap(new HashMap(), (Transformer) null); fail(Expecting IllegalArgumentException for null transformer); @@ -169,7 +169,7 @@ fail(Expecting IllegalArgumentException for null map); } catch (IllegalArgumentException e) { // expected -} +} } public void testLazyMapTransformer() { @@ -199,18 +199,18 @@ in.put( 3 , C ); in.put( 4 , D ); in.put( 5 , E ); - + final Set inKeySet = new HashSet( in.keySet() ); final Set inValSet = new HashSet( in.values() ); - + final Map out = MapUtils.invertMap(in); final Set outKeySet = new HashSet( out.keySet() ); final Set outValSet = new HashSet( out.values() ); - + assertTrue( inKeySet.equals( outValSet )); assertTrue( inValSet.equals( outKeySet )); - + assertEquals( out.get(A), 1 ); assertEquals( out.get(B), 2 ); assertEquals( out.get(C), 3 ); @@ -227,10 +227,10 @@ MapUtils.putAll(null, new Object[0]); fail(); } catch (NullPointerException ex) {} - + Map test = MapUtils.putAll(new HashMap(), new String[0]); assertEquals(0, test.size()); - + // sub array test = MapUtils.putAll(new HashMap(), new String[][] { {RED, #FF}, @@ -244,7 +244,7 @@ assertEquals(true, test.containsKey(BLUE)); assertEquals(#FF, test.get(BLUE)); assertEquals(3, test.size()); - + try { MapUtils.putAll(new HashMap(), new String[][] { {RED, #FF}, @@ -253,7 +253,7 @@ }); fail(); } catch (IllegalArgumentException ex) {} - + try { MapUtils.putAll(new HashMap(), new String[][] { {RED, #FF}, @@ -262,7 +262,7 @@ }); fail(); } catch (IllegalArgumentException ex) {} - + try { MapUtils.putAll(new HashMap(), new String[][] { {RED, #FF}, @@ -271,7 +271,7 @@ });
RE: svn commit: r348444 - in /jakarta/commons/proper/collections/trunk/src: java/org/apache/commons/collections/ java/org/apache/commons/collections/functors/ test/org/apache/commons/collections/
No, I didn't. Sorry, I had some other irons in the fire and I meant to leave this one out. I'll back it out. -Original Message- From: Stephen Colebourne [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 23, 2005 7:31 PM To: Jakarta Commons Developers List Subject: Re: svn commit: r348444 - in /jakarta/commons/proper/collections/trunk/src: java/org/apache/commons/collections/ java/org/apache/commons/collections/functors/ test/org/apache/commons/collections/ [EMAIL PROTECTED] wrote: Author: jcarman URL: http://svn.apache.org/viewcvs?rev=348444view=rev Log: 37106: serialVersionUIDs should be private (static final long) Modified: jakarta/commons/proper/collections/trunk/src/test/org/apache/commons/collect ions/TestMapUtils.java Did you mean to checkin TestMapUtils with this change ??? Stephen - 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 37597] - [jci] add list() method to readers and stores
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=37597. 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=37597 --- Additional Comments From [EMAIL PROTECTED] 2005-11-24 04:42 --- Made a mistake, stores should return class names - not file names. Readers return relative file names. MemoryResourceStore: public String[] list() { if ( store == null ) { return new String[0]; } List names =new ArrayList(); Iterator it = this.store.keySet().iterator(); String name = null; while ( it.hasNext() ) { name = (String) it.next(); names.add( name.replace('/', '.').substring( 0 , name.length() - 6) ); } return ( String[] ) names.toArray( new String[ this.store.size() ] ); } FileResourceStore: public String[] list() { if ( store == null ) { return new String[0]; } List names =new ArrayList(); Iterator it = this.store.keySet().iterator(); String name = null; while ( it.hasNext() ) { name = (String) it.next(); names.add( name.replace('/', '.').substring( 0 , name.length() - 6) ); } return ( String[] ) names.toArray( new String[ this.store.size() ] ); } -- 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 37617] New: - [collections] Add populateMap() methods to MapUtils
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=37617. 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=37617 Summary: [collections] Add populateMap() methods to MapUtils Product: Commons Version: 3.2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Collections AssignedTo: commons-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] Add the following methods to MapUtils... public static void populateMap( Map map, Collection objects, Transformer keyTransformer ); public static void populateMap( Map map, Collection objects, Transformer keyTransformer, Transformer valueTransformer ); -- 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]