Re: [pool] Announcing Release Candidate 2 for Pool 1.3
Just a cosmetic bug : AFAIK maven groupId for new version of jakarta commons should be org.apache.commons : http://maven.apache.org/guides/mini/guide-naming-conventions.html Nico. Oliver Heger a écrit : I tested RC2 with Commons Configuration and did not find any problems (but this is not too meaningful because the dependency to Commons Pool is only used by a test case for the database configuration class). Some notes: - There is no release notes file in neither the source nor the binary distro. - LICENSE.txt and NOTICE.txt have unix style line endings in the zips. (This is not a problem for me, but was cause for some discussions in the past.) - I had a problem building with ant (ClassNotFoundError for junit/textui/TestRunner), but this can be a problem with my setup (did not do much with ant recently). Oliver Sandy McArthur wrote: I've prepared Pool 1.3-rc2 at http://people.apache.org/~sandymac/pool/1.3-rc2/ I'd appreciate it if interested parties reviewed it and tested it with their setup. Changes since 1.3-rc1 are limited to documentation updates and maven build clean ups. The previous 1.3-rc1 announcement can be found at: http://mail-archives.apache.org/mod_mbox/jakarta-commons-dev/200603.mbox/[EMAIL PROTECTED] If no issues are raised, on Saturday the 25th I'll start a vote to make this an official release. -- Sandy McArthur He who dares not offend cannot be honest. - Thomas Paine - 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] This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [pool] Announcing Release Candidate 2 for Pool 1.3
The last snapshot of the distribution plugin makes the necessary arrangements http://maven.apache.org/maven-1.x/plugins/dist/changes-report.html#Release1_7-SNAPSHOT MPDIST-27, MPDIST-28 were done by Phil for another component. Arnaud On 3/24/06, Oleg Kalnichevski [EMAIL PROTECTED] wrote: robert burrell donkin wrote: On Thu, 2006-03-23 at 14:12 -0800, Martin Cooper wrote: On 3/23/06, robert burrell donkin [EMAIL PROTECTED] wrote: On Thu, 2006-03-23 at 15:45 -0500, Sandy McArthur wrote: On 3/23/06, Oliver Heger [EMAIL PROTECTED] wrote: snip - LICENSE.txt and NOTICE.txt have unix style line endings in the zips. (This is not a problem for me, but was cause for some discussions in the past.) I'm on a mac os x box and unix style would be the default. How do other projects solve this other than building on win32? not sure if it can be done in maven 1. anyone know? Well, Maven can invoke Ant, so you could use this: http://ant.apache.org/manual/CoreTasks/fixcrlf.html good point :) how easy would it be to persuade maven to use different fixes before rolling the zip and the tar? - robert Robert, We had to implement something similar for [HttpClient] a while ago. You might find maven.xml from [HttpClient] package a good starting point http://svn.apache.org/repos/asf/jakarta/commons/proper/httpclient/trunk/maven.xml Oleg - 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]
anyone working on comments and layout preservation in .properties files item of v1.3 ?
Hi all, I recently wrote custom code to read/write properties file while preserving comments and I've just noticed this is part of one of the items on the roadmap for v1.3. Just wanted to know if anyone else is already working on this to avoid duplication of efforts. If not then I'll try suggesting patches shortly. thanks, Horaci Information contained in this e-mail and any attachments are intended for the use of the addressee only, and may contain confidential information of Ubiquity Software Corporation. All unauthorized use, disclosure or distribution is strictly prohibited. If you are not the addressee, please notify the sender immediately and destroy all copies of this email. Unless otherwise expressly agreed in writing signed by an officer of Ubiquity Software Corporation, nothing in this communication shall be deemed to be legally binding. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]: Project commons-chain (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-chain has an issue affecting its community integration. This issue affects 16 projects, and has been outstanding for 28 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-chain : GoF Chain of Responsibility pattern - commons-jelly-tags-quartz : Commons Jelly - fulcrum-quartz : Services Framework - jakarta-tomcat-5 : Servlet 2.4 and JSP 2.0 Reference Implementation - jakarta-velocity-tools : Velocity-Tools project - myfaces : JavaServer(tm) Faces implementation - portals-bridges-frameworks : Support for JSR168 compliant Portlet development - portals-bridges-jsf : Support for JSR168 compliant Portlet development - portals-bridges-struts : Support for JSR168 compliant Portlet development - portals-bridges-velocity : Support for JSR168 compliant Portlet development - quartz : Job Scheduler - struts-action : Model 2 Model-View-Controller framework for Servlets and JSP - struts-el : Model 2 Model-View-Controller framework for Servlets and JSP - struts-sslext : The Struts SSL Extension for HTTP/HTTPS switching - struts-taglib : Model 2 Model-View-Controller framework for Servlets and JSP - struts-tiles : Model 2 Model-View-Controller framework for Servlets and JSP Full details are available at: http://vmgump.apache.org/gump/public/jakarta-commons/commons-chain/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-chain-24032006.jar] identifier set to project name -INFO- Failed with reason build failed -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/jakarta-commons/commons-chain/gump_work/build_jakarta-commons_commons-chain.html Work Name: build_jakarta-commons_commons-chain (Type: Build) Work ended in a state of : Failed Elapsed: 17 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dfinal.name=commons-chain-24032006 -f build.xml jar [Working Directory: /usr/local/gump/public/workspace/jakarta-commons/chain] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/chain/target/classes:/usr/local/gump/public/workspace/jakarta-commons/chain/target/test-classes:/usr/local/gump/packages/jsf-1_1_01/lib/jsf-api.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/packages/junit3.8.1/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/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-24032006.jar:/usr/local/gump/public/workspace/portals-pluto-1.0/api/target/portlet-api-1.0.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar - [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.274 sec [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.274 sec [junit] Testcase: testPristine took 0.04 sec [junit] Testcase: testReadOnly took 0.002 sec [junit] Testcase: testReadWrite took 0 sec [junit] Testcase: testWriteOnly took 0.001 sec [junit] Testcase: testAttributes took 0.001 sec [junit] Testcase: testContains took 0 sec [junit] Testcase: testEquals took 0.012 sec [junit] Testcase: testKeySet took 0.001 sec [junit] Testcase: testPutAll took 0.001 sec [junit] Testcase: testSeriaization took 0.046 sec [junit] Running org.apache.commons.chain.web.ChainResourcesTestCase [junit] Testsuite: org.apache.commons.chain.web.ChainResourcesTestCase
[EMAIL PROTECTED]: Project commons-chain (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-chain has an issue affecting its community integration. This issue affects 16 projects, and has been outstanding for 28 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-chain : GoF Chain of Responsibility pattern - commons-jelly-tags-quartz : Commons Jelly - fulcrum-quartz : Services Framework - jakarta-tomcat-5 : Servlet 2.4 and JSP 2.0 Reference Implementation - jakarta-velocity-tools : Velocity-Tools project - myfaces : JavaServer(tm) Faces implementation - portals-bridges-frameworks : Support for JSR168 compliant Portlet development - portals-bridges-jsf : Support for JSR168 compliant Portlet development - portals-bridges-struts : Support for JSR168 compliant Portlet development - portals-bridges-velocity : Support for JSR168 compliant Portlet development - quartz : Job Scheduler - struts-action : Model 2 Model-View-Controller framework for Servlets and JSP - struts-el : Model 2 Model-View-Controller framework for Servlets and JSP - struts-sslext : The Struts SSL Extension for HTTP/HTTPS switching - struts-taglib : Model 2 Model-View-Controller framework for Servlets and JSP - struts-tiles : Model 2 Model-View-Controller framework for Servlets and JSP Full details are available at: http://vmgump.apache.org/gump/public/jakarta-commons/commons-chain/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-chain-24032006.jar] identifier set to project name -INFO- Failed with reason build failed -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/jakarta-commons/commons-chain/gump_work/build_jakarta-commons_commons-chain.html Work Name: build_jakarta-commons_commons-chain (Type: Build) Work ended in a state of : Failed Elapsed: 17 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dfinal.name=commons-chain-24032006 -f build.xml jar [Working Directory: /usr/local/gump/public/workspace/jakarta-commons/chain] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/chain/target/classes:/usr/local/gump/public/workspace/jakarta-commons/chain/target/test-classes:/usr/local/gump/packages/jsf-1_1_01/lib/jsf-api.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/packages/junit3.8.1/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/digester/dist/commons-digester.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-24032006.jar:/usr/local/gump/public/workspace/portals-pluto-1.0/api/target/portlet-api-1.0.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar - [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.274 sec [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.274 sec [junit] Testcase: testPristine took 0.04 sec [junit] Testcase: testReadOnly took 0.002 sec [junit] Testcase: testReadWrite took 0 sec [junit] Testcase: testWriteOnly took 0.001 sec [junit] Testcase: testAttributes took 0.001 sec [junit] Testcase: testContains took 0 sec [junit] Testcase: testEquals took 0.012 sec [junit] Testcase: testKeySet took 0.001 sec [junit] Testcase: testPutAll took 0.001 sec [junit] Testcase: testSeriaization took 0.046 sec [junit] Running org.apache.commons.chain.web.ChainResourcesTestCase [junit] Testsuite: org.apache.commons.chain.web.ChainResourcesTestCase
[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 34 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: 29 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml] CLASSPATH: /opt/jdk1.5/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-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-24032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar - [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] [junit] [junit] Testcase: testSetSingleNodeAndAsString(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an ERROR [junit] file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:294:81: x:set You must define an attribute called 'select' for this tag. [junit] org.apache.commons.jelly.MissingAttributeException: file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:294:81: x:set You must define an attribute called 'select' for this tag. [junit] at org.apache.commons.jelly.tags.xml.SetTag.doTag(SetTag.java:86) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] [junit] [junit] Testcase: testSetStringLists(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an ERROR [junit] file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:339:82: x:set You must define an attribute called 'select' for this tag. [junit] org.apache.commons.jelly.MissingAttributeException: file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:339:82: x:set You must define an attribute called 'select' for this tag. [junit] at org.apache.commons.jelly.tags.xml.SetTag.doTag(SetTag.java:86) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] [junit] [junit] Testcase: testEntities(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an ERROR [junit]
[EMAIL PROTECTED]: Project commons-jelly-tags-xml-test (in module commons-jelly) failed
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 34 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: 29 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml] CLASSPATH: /opt/jdk1.5/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-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-24032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.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-latka (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-latka has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 34 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-latka : Functional Testing Suite Full details are available at: http://vmgump.apache.org/gump/public/jakarta-commons/commons-latka/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-latka.jar] identifier set to project name -DEBUG- Dependency on jaxen exists, no need to add for property jaxen.jar. -INFO- Made directory [/usr/local/gump/public/workspace/jakarta-commons/latka/target/classes] -INFO- Made directory [/usr/local/gump/public/workspace/jakarta-commons/latka/target/test-classes] -INFO- Failed with reason build failed -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/jakarta-commons/commons-latka/gump_work/build_jakarta-commons_commons-latka.html Work Name: build_jakarta-commons_commons-latka (Type: Build) Work ended in a state of : Failed Elapsed: 8 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xalan/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Djaxen.jar=/usr/local/gump/public/workspace/jaxen/target/jaxen-24032006.jar dist [Working Directory: /usr/local/gump/public/workspace/jakarta-commons/latka] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/latka/target/classes:/usr/local/gump/public/workspace/jakarta-commons/latka/target/test-classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/httpclient/dist/commons-httpclient.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/codec/dist/commons-codec-24032006.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-24032006.jar:/usr/local/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-24032006.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-24032006.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-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-24032006.jar:/usr/local/gump/public/workspace/jaxen/target/jaxen-24032006.jar - [javac] ^ [javac] /x1/gump/public/workspace/jakarta-commons/latka/src/java/org/apache/commons/latka/servlet/ViewResponseServlet.java:44: warning: [deprecation] getInstance(java.lang.Class) in org.apache.log4j.Category has been deprecated [javac] public static final Category _log = Category.getInstance( [javac] ^ [javac] /x1/gump/public/workspace/jakarta-commons/latka/src/java/org/apache/commons/latka/validators/BaseValidator.java:35: warning: [deprecation] getInstance(java.lang.Class) in org.apache.log4j.Category has been deprecated [javac] protected final Category _log = Category.getInstance(BaseValidator.class);
[EMAIL PROTECTED]: Project commons-latka (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-latka has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 34 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-latka : Functional Testing Suite Full details are available at: http://vmgump.apache.org/gump/public/jakarta-commons/commons-latka/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-latka.jar] identifier set to project name -DEBUG- Dependency on jaxen exists, no need to add for property jaxen.jar. -INFO- Made directory [/usr/local/gump/public/workspace/jakarta-commons/latka/target/classes] -INFO- Made directory [/usr/local/gump/public/workspace/jakarta-commons/latka/target/test-classes] -INFO- Failed with reason build failed -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/jakarta-commons/commons-latka/gump_work/build_jakarta-commons_commons-latka.html Work Name: build_jakarta-commons_commons-latka (Type: Build) Work ended in a state of : Failed Elapsed: 8 secs Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/usr/local/gump/public/workspace/xml-xalan/build/serializer.jar:/usr/local/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Djaxen.jar=/usr/local/gump/public/workspace/jaxen/target/jaxen-24032006.jar dist [Working Directory: /usr/local/gump/public/workspace/jakarta-commons/latka] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/latka/target/classes:/usr/local/gump/public/workspace/jakarta-commons/latka/target/test-classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/junit3.8.1/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/jakarta-commons/httpclient/dist/commons-httpclient.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/codec/dist/commons-codec-24032006.jar:/usr/local/gump/public/workspace/logging-log4j/dist/lib/log4j-24032006.jar:/usr/local/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-24032006.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar:/usr/local/gump/public/workspace/jdom/build/jdom.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-24032006.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-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-24032006.jar:/usr/local/gump/public/workspace/jaxen/target/jaxen-24032006.jar - [javac] ^ [javac] /x1/gump/public/workspace/jakarta-commons/latka/src/java/org/apache/commons/latka/servlet/ViewResponseServlet.java:44: warning: [deprecation] getInstance(java.lang.Class) in org.apache.log4j.Category has been deprecated [javac] public static final Category _log = Category.getInstance( [javac] ^ [javac] /x1/gump/public/workspace/jakarta-commons/latka/src/java/org/apache/commons/latka/validators/BaseValidator.java:35: warning: [deprecation] getInstance(java.lang.Class) in org.apache.log4j.Category has been deprecated [javac] protected final Category _log = Category.getInstance(BaseValidator.class);
[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 34 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-24032006.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: 12 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/html] CLASSPATH: /opt/jdk1.5/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-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/commons-jelly-tags-jsl-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-24032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.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 34 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-24032006.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: 12 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/html] CLASSPATH: /opt/jdk1.5/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-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/commons-jelly-tags-jsl-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-24032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.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-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 34 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: 16 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl] CLASSPATH: /opt/jdk1.5/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-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/ant/target/commons-jelly-tags-ant-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-24032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar - [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:59) [junit] at org.dom4j.rule.Mode.applyTemplates(Mode.java:80) [junit] at org.dom4j.rule.RuleManager$1.run(RuleManager.java:171) [junit] at org.dom4j.rule.Mode.fireRule(Mode.java:59) [junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:102) [junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:91) [junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:78) [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 34 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: 16 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl] CLASSPATH: /opt/jdk1.5/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-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/ant/target/commons-jelly-tags-ant-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-24032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar - [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:59) [junit] at org.dom4j.rule.Mode.applyTemplates(Mode.java:80) [junit] at org.dom4j.rule.RuleManager$1.run(RuleManager.java:171) [junit] at org.dom4j.rule.Mode.fireRule(Mode.java:59) [junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:102) [junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:91) [junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:78) [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 34 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: 13 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/define] CLASSPATH: /opt/jdk1.5/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-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/dynabean/target/commons-jelly-tags-dynabean-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-24032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar - [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:118) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) [junit] at junit.framework.TestSuite.run(TestSuite.java:203) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536) [junit] Mar 24, 2006 4:19:08 AM org.apache.commons.jelly.expression.xpath.XPathExpression evaluate [junit] SEVERE: Error constructing xpath [junit] org.jaxen.XPathSyntaxException: Node-set expected [junit] at org.jaxen.BaseXPath.init(BaseXPath.java:131) [junit] at org.jaxen.BaseXPath.init(BaseXPath.java:156) [junit] at org.jaxen.dom4j.Dom4jXPath.init(Dom4jXPath.java:101) [junit] at org.apache.commons.jelly.expression.xpath.XPathExpression.evaluate(XPathExpression.java:78) [junit] at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:256) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] at junit.framework.TestCase.runBare(TestCase.java:127) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at
[EMAIL PROTECTED]: Project commons-jelly-tags-define-test (in module commons-jelly) failed
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 34 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: 13 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/define] CLASSPATH: /opt/jdk1.5/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-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/dynabean/target/commons-jelly-tags-dynabean-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-24032006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-24032006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-24032006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-4/jaxen-1.1-beta-4.jar - [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:118) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) [junit] at junit.framework.TestSuite.run(TestSuite.java:203) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536) [junit] Mar 24, 2006 4:19:08 AM org.apache.commons.jelly.expression.xpath.XPathExpression evaluate [junit] SEVERE: Error constructing xpath [junit] org.jaxen.XPathSyntaxException: Node-set expected [junit] at org.jaxen.BaseXPath.init(BaseXPath.java:131) [junit] at org.jaxen.BaseXPath.init(BaseXPath.java:156) [junit] at org.jaxen.dom4j.Dom4jXPath.init(Dom4jXPath.java:101) [junit] at org.apache.commons.jelly.expression.xpath.XPathExpression.evaluate(XPathExpression.java:78) [junit] at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:256) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] at junit.framework.TestCase.runBare(TestCase.java:127) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at
Re: [VOTE] Release Validator 1.3.0 based on RC3
Its now been 72+ hours since this vote was called and the vote has passed, with the following people all voting +1 (and no other votes): Robert Burrell Donkin (binding) Niall Pemberton (binding) Dion Gillard (binding) Rahul Akolkar (binding) Oliver Heger (binding) Phil Steitz (binding) Stephen Colebourne (binding) I will cut the release in the next couple of days. Thanks to everyone who participated with feedback and votes. Niall P.S. Oliver isn't on the Jakarta whoweare page, although he was voted on to the PMC in January. - Original Message - From: Niall Pemberton [EMAIL PROTECTED] Sent: Tuesday, March 21, 2006 5:37 AM I have just uploaded release candidate 3 (RC3) for Commons Validator 1.3.0. Thanks for all the feedback on RC2, differences from that RC are: - corrected problems with localized tests - corrected a problem generating the md5 checksums - sigs have been generated for this RC - ant build now automatically downloads dependencies (requires less setup) - build.properties.sample file included in source distro - release notes now point to local copy of changes-report.html (rather than online) - source distro now unpacks to a different directory RC3 is here: http://people.apache.org/~niallp/commons-validator-1.3.0-rc3/ Site here: http://people.apache.org/~niallp/commons-validator-1.3.0-rc3/site/ Release notes here: http://people.apache.org/~niallp/commons-validator-1.3.0-rc3/site/changes-report.html Keys file is here: http://www.apache.org/dist/jakarta/commons/validator/KEYS [ ] +1 I support this release [ ] +0 [ ] -0 [ ] -1 I do not support this release because... Niall - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r388508 - in /jakarta/commons/proper/validator/trunk: build.xml project.xml xdocs/changes.xml
Author: niallp Date: Fri Mar 24 05:06:41 2006 New Revision: 388508 URL: http://svn.apache.org/viewcvs?rev=388508view=rev Log: Update version number for Validator 1.3.0 release. Modified: jakarta/commons/proper/validator/trunk/build.xml jakarta/commons/proper/validator/trunk/project.xml jakarta/commons/proper/validator/trunk/xdocs/changes.xml Modified: jakarta/commons/proper/validator/trunk/build.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/validator/trunk/build.xml?rev=388508r1=388507r2=388508view=diff == --- jakarta/commons/proper/validator/trunk/build.xml (original) +++ jakarta/commons/proper/validator/trunk/build.xml Fri Mar 24 05:06:41 2006 @@ -67,7 +67,7 @@ property name=component.title value=Validator/ !-- The current version number of this component -- - property name=component.version value=1.3.0-SNAPSHOT/ + property name=component.version value=1.3.0/ !-- The base directory for compilation targets -- property name=build.home value=target/ Modified: jakarta/commons/proper/validator/trunk/project.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/validator/trunk/project.xml?rev=388508r1=388507r2=388508view=diff == --- jakarta/commons/proper/validator/trunk/project.xml (original) +++ jakarta/commons/proper/validator/trunk/project.xml Fri Mar 24 05:06:41 2006 @@ -21,7 +21,7 @@ nameValidator/name groupIdcommons-validator/groupId artifactIdcommons-validator/artifactId - currentVersion1.3.0-SNAPSHOT/currentVersion + currentVersion1.3.0/currentVersion inceptionYear2002/inceptionYear shortDescriptionCommons Validator/shortDescription description Modified: jakarta/commons/proper/validator/trunk/xdocs/changes.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/validator/trunk/xdocs/changes.xml?rev=388508r1=388507r2=388508view=diff == --- jakarta/commons/proper/validator/trunk/xdocs/changes.xml (original) +++ jakarta/commons/proper/validator/trunk/xdocs/changes.xml Fri Mar 24 05:06:41 2006 @@ -38,7 +38,7 @@ /properties body -release version=1.3.0 date=2006-03-16 description=see http://wiki.apache.org/jakarta-commons/ValidatorVersion130; +release version=1.3.0 date=2006-03-24 description=see http://wiki.apache.org/jakarta-commons/ValidatorVersion130; action dev=niallp type=fix issue=38678 due-to=bart vandendriessche ValidatorResult only contains last run dependency for the field. /action - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r388510 - /jakarta/commons/proper/validator/tags/VALIDATOR_1_3_0/
Author: niallp Date: Fri Mar 24 05:08:32 2006 New Revision: 388510 URL: http://svn.apache.org/viewcvs?rev=388510view=rev Log: Tag Validator 1.3.0 release Added: jakarta/commons/proper/validator/tags/VALIDATOR_1_3_0/ - copied from r388509, jakarta/commons/proper/validator/trunk/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Collections - Trees and Graphs
On 3/23/06, Andres C. Rodriguez [EMAIL PROTECTED] wrote: Hi, I am interested in expanding the collections to include recursive collections such as trees and graphs. Could somebody inform me of the protocol? snip/ I am not active in [collections]. Generally speaking, for smaller changes, you can contribute via patches [1] submitted to the ASF bugzilla [2]. For larger changes (where this one may fit), you may want to post a summary of the additional packages / interfaces / classes you are proposing on the dev list and get feedback before moving forward i.e. maybe you can try posting a slightly expanded schematic of your proposed additions? -Rahul [1] http://jakarta.apache.org/commons/patches.html [2] http://issues.apache.org/bugzilla/ -- Andres C. Rodriguez Computer Scientist phone: (650) 515-3545 Artificial Intelligence Center fax: (815) 310-3398 SRI Internationalcell: (650) 804-1625 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [configuration] anyone working on comments and layout preservation in .properties files item of v1.3 ?
Please prefix email subjects since this is a shared mailing list. I've added [configuration] to the subject here. On 3/24/06, Horaci Macias [EMAIL PROTECTED] wrote: Hi all, I recently wrote custom code to read/write properties file while preserving comments and I've just noticed this is part of one of the items on the roadmap for v1.3. Just wanted to know if anyone else is already working on this to avoid duplication of efforts. If not then I'll try suggesting patches shortly. snip/ Its good to check, but looks like you may be far ahead of anyone else ;-) If you're so inclined, please submit a patch [1] via the ASF bugzilla [2]. Product Commons, Component Configuration. -Rahul [1] http://jakarta.apache.org/commons/patches.html [2] http://issues.apache.org/bugzilla/ thanks, Horaci snap/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [configuration] anyone working on comments and layout preservation in .properties files item of v1.3 ?
Horaci Macias wrote: Hi all, I recently wrote custom code to read/write properties file while preserving comments and I've just noticed this is part of one of the items on the roadmap for v1.3. Just wanted to know if anyone else is already working on this to avoid duplication of efforts. If not then I'll try suggesting patches shortly. thanks, Horaci Hi Horaci, this is on my todo list but I haven't started implementing it. Feel free to submit code or suggestions. I had in mind a PropertiesConfigurationLayout class tracking the position of the properties. On adding a property the layout would find the other properties with a similar prefix and add it next to them. Emmanuel Bourg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[.NET] RE: Proposal: Commons for .NET (dotnet)
Just yesterday, I discovered that Saxon.NET was released. They did exactly what I would like to do, reuse the existing codebase in-tact, as java source through IKVM static compilation to DLL. Where it made sense (JAXP/TRAX doesn't exist), they created a relevant C# wrapper. Following up on that, Drools.NET was released in the same manner. These aren't 'ports' per say, but facilitating easy access from anything running on the CLR. They are also subprojects of the main project. This has got to be the way to go. One source codebase, two binary artifacts for each project. Wouldn't this just be a mod to the maven build to add the IKVMC dll artifact? -Kevin -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Thursday, March 23, 2006 6:28 PM To: Jakarta Commons Developers List Subject: Re: Proposal: Commons for .NET (dotnet) On 3/23/06, robert burrell donkin [EMAIL PROTECTED] wrote: but don't be too disappointed if the reaction is more or less: come back once you have bootstrapped a community. i know that this is the most difficult part of the process but react positively and try to get as many community building tips as possible from the folks on list. it's just possible that you might be able to pick up a developer or two as well. Both iBatis and log4j have .net equvalents (perhaps others?) - maybe its worth consulting them on how they formed their .net communities? There also may be people interested in what you want to achieve. http://logging.apache.org/log4net/ http://ibatis.apache.org/ Niall - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - NOTICE OF CONFIDENTIALITY - The information in this e-mail, including any attachments, may contain confidential and/or privileged patient health information. This e-mail is intended to be reviewed only by the individual or organization named above as the addressee. If you have received this e-mail in error, please notify Spheris immediately -- by returning the message to the original sender or [EMAIL PROTECTED] -- and destroy all copies of this message and any attachments. Confidential health information is protected by state and federal laws, including, but not limited to, the Health Insurance Portability and Accountability Act (HIPAA) of 1996 and its related regulations. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r388543 - in /jakarta/commons/proper/validator/trunk: build.xml project.xml
Author: niallp Date: Fri Mar 24 06:46:47 2006 New Revision: 388543 URL: http://svn.apache.org/viewcvs?rev=388543view=rev Log: Roll the version number. Modified: jakarta/commons/proper/validator/trunk/build.xml jakarta/commons/proper/validator/trunk/project.xml Modified: jakarta/commons/proper/validator/trunk/build.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/validator/trunk/build.xml?rev=388543r1=388542r2=388543view=diff == --- jakarta/commons/proper/validator/trunk/build.xml (original) +++ jakarta/commons/proper/validator/trunk/build.xml Fri Mar 24 06:46:47 2006 @@ -67,7 +67,7 @@ property name=component.title value=Validator/ !-- The current version number of this component -- - property name=component.version value=1.3.0/ + property name=component.version value=1.3.1-SNAPSHOT/ !-- The base directory for compilation targets -- property name=build.home value=target/ Modified: jakarta/commons/proper/validator/trunk/project.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/validator/trunk/project.xml?rev=388543r1=388542r2=388543view=diff == --- jakarta/commons/proper/validator/trunk/project.xml (original) +++ jakarta/commons/proper/validator/trunk/project.xml Fri Mar 24 06:46:47 2006 @@ -21,7 +21,7 @@ nameValidator/name groupIdcommons-validator/groupId artifactIdcommons-validator/artifactId - currentVersion1.3.0/currentVersion + currentVersion1.3.1-SNAPSHOT/currentVersion inceptionYear2002/inceptionYear shortDescriptionCommons Validator/shortDescription description - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 39068] - [configuration] Constructor for CompositeConfiguration which takes a list of Configurations
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=39068. 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=39068 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |ASSIGNED Summary|[configuration] constructor |[configuration] Constructor |for CompositeConfiguration |for CompositeConfiguration |which takes a list of |which takes a list of |Configurations |Configurations -- 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: r388560 - in /jakarta/commons/proper/configuration/trunk: src/java/org/apache/commons/configuration/CompositeConfiguration.java src/test/org/apache/commons/configuration/TestCompositeConfi
Author: ebourg Date: Fri Mar 24 07:18:22 2006 New Revision: 388560 URL: http://svn.apache.org/viewcvs?rev=388560view=rev Log: Added two new constructors in CompositeConfiguration accepting a collection of configurations as a parameter. (Bug 39068) Modified: jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/CompositeConfiguration.java jakarta/commons/proper/configuration/trunk/src/test/org/apache/commons/configuration/TestCompositeConfiguration.java jakarta/commons/proper/configuration/trunk/xdocs/changes.xml Modified: jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/CompositeConfiguration.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/CompositeConfiguration.java?rev=388560r1=388559r2=388560view=diff == --- jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/CompositeConfiguration.java (original) +++ jakarta/commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/CompositeConfiguration.java Fri Mar 24 07:18:22 2006 @@ -17,6 +17,7 @@ package org.apache.commons.configuration; import java.util.ArrayList; +import java.util.Collection; import java.util.Iterator; import java.util.LinkedList; import java.util.List; @@ -53,7 +54,7 @@ } /** - * Creates an CompositeConfiguration object with a specified InMemory + * Creates a CompositeConfiguration object with a specified in memory * configuration. This configuration will store any changes made to * the CompositeConfiguration. * @@ -64,6 +65,38 @@ configList.clear(); this.inMemoryConfiguration = inMemoryConfiguration; configList.add(inMemoryConfiguration); +} + +/** + * Create a CompositeConfiguration with an empty in memory configuration + * and adds the collection of configurations specified. + * + * @param configurations the collection of configurations to add + */ +public CompositeConfiguration(Collection configurations) +{ +this(new BaseConfiguration(), configurations); +} + +/** + * Creates a CompositeConfiguration with a specified in memory + * configuration, and then adds the given collection of configurations. + * + * @param inMemoryConfiguration the in memory configuration to use + * @param configurationsthe collection of configurations to add + */ +public CompositeConfiguration(Configuration inMemoryConfiguration, Collection configurations) +{ +this(inMemoryConfiguration); + +if (configurations != null) +{ +Iterator it = configurations.iterator(); +while (it.hasNext()) +{ +addConfiguration((Configuration) it.next()); +} +} } /** Modified: jakarta/commons/proper/configuration/trunk/src/test/org/apache/commons/configuration/TestCompositeConfiguration.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/configuration/trunk/src/test/org/apache/commons/configuration/TestCompositeConfiguration.java?rev=388560r1=388559r2=388560view=diff == --- jakarta/commons/proper/configuration/trunk/src/test/org/apache/commons/configuration/TestCompositeConfiguration.java (original) +++ jakarta/commons/proper/configuration/trunk/src/test/org/apache/commons/configuration/TestCompositeConfiguration.java Fri Mar 24 07:18:22 2006 @@ -21,6 +21,7 @@ import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException; +import java.util.Collection; import junit.framework.TestCase; @@ -61,15 +62,15 @@ public void testAddRemoveConfigurations() throws Exception { cc.addConfiguration(conf1); -assertEquals(2, cc.getNumberOfConfigurations()); +assertEquals(Number of configurations, 2, cc.getNumberOfConfigurations()); cc.addConfiguration(conf1); -assertEquals(2, cc.getNumberOfConfigurations()); +assertEquals(Number of configurations, 2, cc.getNumberOfConfigurations()); cc.addConfiguration(conf2); -assertEquals(3, cc.getNumberOfConfigurations()); +assertEquals(Number of configurations, 3, cc.getNumberOfConfigurations()); cc.removeConfiguration(conf1); -assertEquals(2, cc.getNumberOfConfigurations()); +assertEquals(Number of configurations, 2, cc.getNumberOfConfigurations()); cc.clear(); -assertEquals(1, cc.getNumberOfConfigurations()); +assertEquals(Number of configurations, 1, cc.getNumberOfConfigurations()); } public void testGetPropertyWIncludes() throws Exception @@ -222,8 +223,7 @@ cc.addConfiguration(conf1);
RE: [pool] BaseObjectPool.isClosed() visibility [was: Announcing Release Candidate 2 for Pool 1.3]
Sandy: I see this comment in the unit test: // The following should not throw exceptions just because the pool is closed. Then later, a second call to close() without a catch block, which is like what I need. From a quick glance through View-SVN, it looks like the close() method no longer throws an exception if the receiver is already closed. Check? Thanks, Gary -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sandy McArthur Sent: Thursday, March 23, 2006 8:49 PM To: Jakarta Commons Developers List Subject: Re: [pool] BaseObjectPool.isClosed() visibility [was: Announcing Release Candidate 2 for Pool 1.3] I think the pool 2 behavior will meet your needs but I'll let the code speak for itself as it should be unambigous. Take a look at the TestObjectPool.testClosedPoolBehavior() test (about 45% down the file) and let me know if a pool that passes that test meets your needs. Here's a link to the trunk version of that file: http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/pool/trunk/src/ te st/org/apache/commons/pool/TestObjectPool.java?view=markup On 3/23/06, Gary Gregory [EMAIL PROTECTED] wrote: Sandy: I am looking for a way to query the pool for its open/close state. Background: for those who care ;) When our app server shuts down, we have a couple of threads that need to shutdown and clean up their resources. It so happens (don't ask) that more than one thread may want to close() the pool. When you call close() a second time (or more), you get an exception. Alternatively, close() could be quiet, a no-op, if the pool is already closed. Right now, I have a subclass (hack) which implements an isOpen() method which calls super.isClosed(). This is not what I want to do. Ideally, I'd like to wrap the GenericObjectPool instance and not subclass it, but that's another topic for our app. Thanks, Gary -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sandy McArthur Sent: Thursday, March 23, 2006 8:10 PM To: Jakarta Commons Developers List Subject: Re: [pool] BaseObjectPool.isClosed() visibility [was: Announcing Release Candidate 2 for Pool 1.3] On 3/23/06, Gary Gregory [EMAIL PROTECTED] wrote: This build works fine with our application. My only wish would be to make BaseObjectPool.isClosed() public. Gary, are you really wanting a way to test if the pool is closed or do you want the returnObject and invalidateObject methods to be more graceful and accept objects borrowed from before the pool was closed? The code in the trunk for pool 2 only throws IllegalStateExceptions for the addObject and the borrowObject methods after close has been called. The other methods will still seem to function normally but really they are in a shutdown mode and just dispose of returned objects. -- Sandy McArthur He who dares not offend cannot be honest. - Thomas Paine - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [pool] BaseObjectPool.isClosed() visibility [was: Announcing Release Candidate 2 for Pool 1.3]
On 3/24/06, Gary Gregory [EMAIL PROTECTED] wrote: Sandy: I see this comment in the unit test: // The following should not throw exceptions just because the pool is closed. Then later, a second call to close() without a catch block, which is like what I need. From a quick glance through View-SVN, it looks like the close() method no longer throws an exception if the receiver is already closed. Check? Check. Thanks, Gary -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sandy McArthur Sent: Thursday, March 23, 2006 8:49 PM To: Jakarta Commons Developers List Subject: Re: [pool] BaseObjectPool.isClosed() visibility [was: Announcing Release Candidate 2 for Pool 1.3] I think the pool 2 behavior will meet your needs but I'll let the code speak for itself as it should be unambigous. Take a look at the TestObjectPool.testClosedPoolBehavior() test (about 45% down the file) and let me know if a pool that passes that test meets your needs. Here's a link to the trunk version of that file: http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/pool/trunk/src/ te st/org/apache/commons/pool/TestObjectPool.java?view=markup On 3/23/06, Gary Gregory [EMAIL PROTECTED] wrote: Sandy: I am looking for a way to query the pool for its open/close state. Background: for those who care ;) When our app server shuts down, we have a couple of threads that need to shutdown and clean up their resources. It so happens (don't ask) that more than one thread may want to close() the pool. When you call close() a second time (or more), you get an exception. Alternatively, close() could be quiet, a no-op, if the pool is already closed. Right now, I have a subclass (hack) which implements an isOpen() method which calls super.isClosed(). This is not what I want to do. Ideally, I'd like to wrap the GenericObjectPool instance and not subclass it, but that's another topic for our app. Thanks, Gary -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sandy McArthur Sent: Thursday, March 23, 2006 8:10 PM To: Jakarta Commons Developers List Subject: Re: [pool] BaseObjectPool.isClosed() visibility [was: Announcing Release Candidate 2 for Pool 1.3] On 3/23/06, Gary Gregory [EMAIL PROTECTED] wrote: This build works fine with our application. My only wish would be to make BaseObjectPool.isClosed() public. Gary, are you really wanting a way to test if the pool is closed or do you want the returnObject and invalidateObject methods to be more graceful and accept objects borrowed from before the pool was closed? The code in the trunk for pool 2 only throws IllegalStateExceptions for the addObject and the borrowObject methods after close has been called. The other methods will still seem to function normally but really they are in a shutdown mode and just dispose of returned objects. -- Sandy McArthur He who dares not offend cannot be honest. - Thomas Paine - 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] -- Sandy McArthur He who dares not offend cannot be honest. - Thomas Paine - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 39068] - [configuration] Constructor for CompositeConfiguration which takes a list of Configurations
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=39068. 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=39068 [EMAIL PROTECTED] changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2006-03-24 15:25 --- I added two new constructors accepting a collection, let me know how it works for you. You use of Commons Configuration with Spring is quite interesting, would you share it on our wiki ? http://wiki.apache.org/jakarta-commons/Configuration -- 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: [pool] BaseObjectPool.isClosed() visibility [was: Announcing Release Candidate 2 for Pool 1.3]
Very well, then. I look forward to migrating to 2.0 when the time comes then. Thanks, Gary -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sandy McArthur Sent: Friday, March 24, 2006 7:24 AM To: Jakarta Commons Developers List Subject: Re: [pool] BaseObjectPool.isClosed() visibility [was: Announcing Release Candidate 2 for Pool 1.3] On 3/24/06, Gary Gregory [EMAIL PROTECTED] wrote: Sandy: I see this comment in the unit test: // The following should not throw exceptions just because the pool is closed. Then later, a second call to close() without a catch block, which is like what I need. From a quick glance through View-SVN, it looks like the close() method no longer throws an exception if the receiver is already closed. Check? Check. Thanks, Gary -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sandy McArthur Sent: Thursday, March 23, 2006 8:49 PM To: Jakarta Commons Developers List Subject: Re: [pool] BaseObjectPool.isClosed() visibility [was: Announcing Release Candidate 2 for Pool 1.3] I think the pool 2 behavior will meet your needs but I'll let the code speak for itself as it should be unambigous. Take a look at the TestObjectPool.testClosedPoolBehavior() test (about 45% down the file) and let me know if a pool that passes that test meets your needs. Here's a link to the trunk version of that file: http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/pool/trunk/src/ te st/org/apache/commons/pool/TestObjectPool.java?view=markup On 3/23/06, Gary Gregory [EMAIL PROTECTED] wrote: Sandy: I am looking for a way to query the pool for its open/close state. Background: for those who care ;) When our app server shuts down, we have a couple of threads that need to shutdown and clean up their resources. It so happens (don't ask) that more than one thread may want to close() the pool. When you call close() a second time (or more), you get an exception. Alternatively, close() could be quiet, a no-op, if the pool is already closed. Right now, I have a subclass (hack) which implements an isOpen() method which calls super.isClosed(). This is not what I want to do. Ideally, I'd like to wrap the GenericObjectPool instance and not subclass it, but that's another topic for our app. Thanks, Gary -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sandy McArthur Sent: Thursday, March 23, 2006 8:10 PM To: Jakarta Commons Developers List Subject: Re: [pool] BaseObjectPool.isClosed() visibility [was: Announcing Release Candidate 2 for Pool 1.3] On 3/23/06, Gary Gregory [EMAIL PROTECTED] wrote: This build works fine with our application. My only wish would be to make BaseObjectPool.isClosed() public. Gary, are you really wanting a way to test if the pool is closed or do you want the returnObject and invalidateObject methods to be more graceful and accept objects borrowed from before the pool was closed? The code in the trunk for pool 2 only throws IllegalStateExceptions for the addObject and the borrowObject methods after close has been called. The other methods will still seem to function normally but really they are in a shutdown mode and just dispose of returned objects. -- Sandy McArthur He who dares not offend cannot be honest. - Thomas Paine - 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] -- Sandy McArthur He who dares not offend cannot be honest. - Thomas Paine - 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]
[Jakarta-commons Wiki] Update of Configuration by JoshuaNichols
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 JoshuaNichols: http://wiki.apache.org/jakarta-commons/Configuration -- [How to implement a reloadable MessageResources for Struts ?] + [Managing Configurations using Spring] + = FAQ = * Where is the dtd/schema for the XML configuration? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [pool] Announcing Release Candidate 2 for Pool 1.3
On 3/24/06, Nicolas De Loof [EMAIL PROTECTED] wrote: AFAIK maven groupId for new version of jakarta commons should be org.apache.commons : http://maven.apache.org/guides/mini/guide-naming-conventions.html I just looked at IO, FileUpload, Math, Collections and none of them used the package name as the groupId. I'm going to leave it as is for now. -- Sandy McArthur He who dares not offend cannot be honest. - Thomas Paine - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Jakarta-commons Wiki] Update of Managing Configurations using Spring by JoshuaNichols
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 JoshuaNichols: http://wiki.apache.org/jakarta-commons/Managing_Configurations_using_Spring The comment on the change is: Adding entry about commons-configuration + spring, as requested in bug #39068 New page: If you use commons-configuration in several places within your application, particularly when you reuse the same files backing the configurations, you will may notice that you have the same code chunks sprinkled around your code. Being the good Java developer you are, you want to reduce copy-and-pasted code, and refactor it to provide a standard way at getting a Configuration you build. Being the good Java developer, you also are using the wonderful Spring framework. Without further ado, here is a way of using Spring to manage your configurations. In this example, we want to use a few PropertiesConfigurations, as well as a MapConfiguration, and use these together to build a CompositeConfiguration. In your spring context, you would have the following beans: {{{ bean id=buildProperties class=org.apache.commons.configuration.PropertiesConfiguration constructor-arg index=0valuebuild.properties/value/constructor-arg /bean bean id=projectProperties class=org.apache.commons.configuration.PropertiesConfiguration constructor-arg index=0valueproject.properties/value/constructor-arg /bean bean id=defaultProperties class=org.apache.commons.configuration.MapConfiguration constructor-arg index=0 map entry key=sync.facade.printService value=mockPrintService/ entry key=sync.facade.fulfillService value=mockFulfillService/ entry key=sync.facade.userService value=mockUserService/ entry key=acegi.authenticationDao value=mockAuthenticationDao/ /map /constructor-arg /bean bean id=compositeProperties class=org.apache.commons.configuration.CompositeConfiguration constructor-arg index=0 !-- The order that these beans are defined is important when properties are defined in multiple Configurations -- list ref bean=defaultProperties/ ref bean=projectProperties/ ref bean=buildProperties/ /list /constructor-arg /bean }}} So now, you can inject this configuration into your other beans, or get at the CompositeConfiguration directly using an ApplicationContext. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Jakarta-commons Wiki] Update of Managing Configurations using Spring by JoshuaNichols
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 JoshuaNichols: http://wiki.apache.org/jakarta-commons/Managing_Configurations_using_Spring The comment on the change is: Changed the entries in defaultProperties to be generic. -- bean id=defaultProperties class=org.apache.commons.configuration.MapConfiguration constructor-arg index=0 map - entry key=sync.facade.printService value=mockPrintService/ + entry key=fooServiceBean value=mockFooService/ - entry key=sync.facade.fulfillService value=mockFulfillService/ - entry key=sync.facade.userService value=mockUserService/ + entry key=barServiceBean value=mockBarService/ - entry key=acegi.authenticationDao value=mockAuthenticationDao/ /map /constructor-arg /bean - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Jakarta-commons Wiki] Update of Managing Configurations using Spring by JoshuaNichols
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 JoshuaNichols: http://wiki.apache.org/jakarta-commons/Managing_Configurations_using_Spring The comment on the change is: Added a few random values to defaultProperties. -- map entry key=fooServiceBean value=mockFooService/ entry key=barServiceBean value=mockBarService/ + entry key=dbUsername value=baz/ + entry key=dbPassword value=ai/ + entry key=supportEmail value=[EMAIL PROTECTED]/ /map /constructor-arg /bean - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r388571 - in /jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH: RELEASE-NOTES.txt build.xml project.xml
Author: sandymac Date: Fri Mar 24 08:33:14 2006 New Revision: 388571 URL: http://svn.apache.org/viewcvs?rev=388571view=rev Log: Added RELEASE-NOTES.txt and updated to rc3 Added: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/RELEASE-NOTES.txt (with props) Modified: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/build.xml jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.xml Added: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/RELEASE-NOTES.txt URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/RELEASE-NOTES.txt?rev=388571view=auto == --- jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/RELEASE-NOTES.txt (added) +++ jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/RELEASE-NOTES.txt Fri Mar 24 08:33:14 2006 @@ -0,0 +1,39 @@ +$Id$ + +Commons Pool Package + Version 1.3 + Release Notes + +Full Release Notes can be found online at +http://jakarta.apache.org/commons/pool/release-notes-1.3.html +or in the binary distrobution in the docs/release-notes-1.3.html + + +Compatibility with 1.2 +-- + +Binary compatible - Yes + +Source compatible - Yes + +Semantic compatible - Yes* + + +* GenericObjectPool and GenericKeyedObjectPool have always + been documented to be a FIFO but it was actually + implemented as a LIFO. Code that depends on the previous + LIFO behavior may have issues. + + +Feedback + +Open source works best when you give feedback: +http://jakarta.apache.org/commons/pool/ + +Please direct all bug reports to Bugzilla (prefix bug reports by [io]) +http://issues.apache.org/bugzilla/buglist.cgi?product=Commonscomponent=Pool + +Or subscribe to the commons-user mailing list (prefix emails by [io]) +http://jakarta.apache.org/site/mail.html + +The Commons-Pool Team \ No newline at end of file Propchange: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/RELEASE-NOTES.txt -- svn:eol-style = native Modified: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/build.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/build.xml?rev=388571r1=388570r2=388571view=diff == --- jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/build.xml (original) +++ jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/build.xml Fri Mar 24 08:33:14 2006 @@ -39,7 +39,7 @@ property name=name value=commons-pool/ property name=title value=Jakarta Commons Object Pooling Package/ - property name=version value=1.3-rc2/ + property name=version value=1.3-rc3/ property name=package value=org.apache.commons.pool.*/ property name=src.dir value=${basedir}/src/ Modified: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.xml?rev=388571r1=388570r2=388571view=diff == --- jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.xml (original) +++ jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/project.xml Fri Mar 24 08:33:14 2006 @@ -21,7 +21,7 @@ groupIdcommons-pool/groupId artifactIdcommons-pool/artifactId inceptionYear2001/inceptionYear - currentVersion1.3-rc2/currentVersion + currentVersion1.3-rc3/currentVersion shortDescriptionCommons Object Pooling Library/shortDescription descriptionCommons Object Pooling Library/description logo/images/pool-logo-white.png/logo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r388573 - /jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/RELEASE-NOTES.txt
Author: sandymac Date: Fri Mar 24 08:34:40 2006 New Revision: 388573 URL: http://svn.apache.org/viewcvs?rev=388573view=rev Log: updated svn:keywords property Modified: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/RELEASE-NOTES.txt (props changed) Propchange: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/RELEASE-NOTES.txt -- svn:keywords = Date Author Id Revision HeadURL - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r388578 - /jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml
Author: sandymac Date: Fri Mar 24 08:53:54 2006 New Revision: 388578 URL: http://svn.apache.org/viewcvs?rev=388578view=rev Log: include RELEASE-NOTES.txt in dist archives. Modified: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml Modified: jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml?rev=388578r1=388577r2=388578view=diff == --- jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml (original) +++ jakarta/commons/proper/pool/branches/1_3_RELEASE_BRANCH/maven.xml Fri Mar 24 08:53:54 2006 @@ -26,6 +26,7 @@ ant:copy todir=${maven.dist.bin.assembly.dir} ant:fileset dir=. ant:include name=NOTICE.txt/ +ant:include name=RELEASE-NOTES.txt/ /ant:fileset /ant:copy @@ -45,6 +46,7 @@ ant:copy todir=${maven.dist.src.assembly.dir} ant:fileset dir=. ant:include name=NOTICE.txt/ +ant:include name=RELEASE-NOTES.txt/ ant:include name=build.properties.sample/ /ant:fileset /ant:copy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[pool] Announcing Release Candidate 3 for Pool 1.3
I've prepared Pool 1.3-rc3 at http://people.apache.org/~sandymac/pool/1.3-rc3/ I'd appreciate it if interested parties reviewed it and tested it with their setup. Changes since 1.3-rc2 are limited to the addition of a RELEASE-NOTES.txt and using CRLF line endings in the .zip archives. The previous 1.3-rc2 announcement can be found at: http://mail-archives.apache.org/mod_mbox/jakarta-commons-dev/200603.mbox/[EMAIL PROTECTED] The previous 1.3-rc1 announcement can be found at: http://mail-archives.apache.org/mod_mbox/jakarta-commons-dev/200603.mbox/[EMAIL PROTECTED] If no issues are raised, on Sunday the 26th I'll start a vote to make this an official release. -- Sandy McArthur He who dares not offend cannot be honest. - Thomas Paine - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 22295] - [daemon] Catalina is not able to stop on the first time: it just stops on the second
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=22295. 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=22295 [EMAIL PROTECTED] changed: What|Removed |Added Summary|Catalina is not able to stop|[daemon] Catalina is not |on the first time: it just |able to stop on the first |stops on the second |time: it just stops on the ||second -- 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 23185] - [dbcp] PoolableConnection.close() won't allow multiple close
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=23185. 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=23185 --- Additional Comments From [EMAIL PROTECTED] 2006-03-24 19:08 --- Can this be fixed? It's an obvious violation of the API contract and breaks legacy applications. Thanks. -- 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 23185] - [dbcp] PoolableConnection.close() won't allow multiple close
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=23185. 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=23185 [EMAIL PROTECTED] changed: What|Removed |Added Severity|normal |major Priority|P3 |P2 --- Additional Comments From [EMAIL PROTECTED] 2006-03-24 19:08 --- Can this be fixed? It's an obvious violation of the API contract and breaks legacy applications. Thanks. --- Additional Comments From [EMAIL PROTECTED] 2006-03-24 19:31 --- (In reply to comment #7) Can this be fixed? It's an obvious violation of the API contract and breaks legacy applications. Thanks. Yes, it needs to be fixed. Working on Dbcp is next on my personal todo list, maybe someone else will get to it sooner. In the existing code's defense the contract for close changed from Java 1.3 to 1.4: http://java.sun.com/j2se/1.3/docs/api/java/sql/Connection.html#close() http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Connection.html#close() -- 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: r388619 - in /jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool: ./ composite/ impl/
Author: sandymac Date: Fri Mar 24 11:51:47 2006 New Revision: 388619 URL: http://svn.apache.org/viewcvs?rev=388619view=rev Log: unit test improvements and refactoring Modified: jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestBaseObjectPool.java jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestObjectPool.java jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/composite/TestCompositeObjectPool.java jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestSoftRefOutOfMemory.java jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestSoftReferenceObjectPool.java jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestStackObjectPool.java Modified: jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestBaseObjectPool.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestBaseObjectPool.java?rev=388619r1=388618r2=388619view=diff == --- jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestBaseObjectPool.java (original) +++ jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestBaseObjectPool.java Fri Mar 24 11:51:47 2006 @@ -16,7 +16,6 @@ package org.apache.commons.pool; import junit.framework.Test; -import junit.framework.TestCase; import junit.framework.TestSuite; /** @@ -24,7 +23,9 @@ * @author Sandy McArthur * @version $Revision$ $Date$ */ -public class TestBaseObjectPool extends TestCase { +public class TestBaseObjectPool extends TestObjectPool { +private ObjectPool _pool = null; + public TestBaseObjectPool(String testName) { super(testName); } @@ -33,6 +34,41 @@ return new TestSuite(TestBaseObjectPool.class); } +protected ObjectPool makeEmptyPool(int mincapacity) { +if (this.getClass() != TestBaseObjectPool.class) { +throw new AssertionError(Subclasses of TestBaseObjectPool must reimplement this method.); +} +throw new UnsupportedOperationException(BaseObjectPool isn't a complete implementation.); +} + +protected ObjectPool makeEmptyPool(final PoolableObjectFactory factory) { +if (this.getClass() != TestBaseObjectPool.class) { +throw new AssertionError(Subclasses of TestBaseObjectPool must reimplement this method.); +} +throw new UnsupportedOperationException(BaseObjectPool isn't a complete implementation.); +} + +protected Object getNthObject(final int n) { +if (this.getClass() != TestBaseObjectPool.class) { +throw new AssertionError(Subclasses of TestBaseObjectPool must reimplement this method.); +} +throw new UnsupportedOperationException(BaseObjectPool isn't a complete implementation.); +} + +protected boolean isLifo() { +if (this.getClass() != TestBaseObjectPool.class) { +throw new AssertionError(Subclasses of TestBaseObjectPool must reimplement this method.); +} +return false; +} + +protected boolean isFifo() { +if (this.getClass() != TestBaseObjectPool.class) { +throw new AssertionError(Subclasses of TestBaseObjectPool must reimplement this method.); +} +return false; +} + // tests public void testUnsupportedOperations() throws Exception { ObjectPool pool = new BaseObjectPool() { @@ -83,5 +119,160 @@ pool.close(); pool.close(); // should not error as of Pool 2.0. +} + +public void testBaseBorrow() throws Exception { +try { +_pool = makeEmptyPool(3); +} catch(UnsupportedOperationException e) { +return; // skip this test if unsupported +} +assertEquals(getNthObject(0),_pool.borrowObject()); +assertEquals(getNthObject(1),_pool.borrowObject()); +assertEquals(getNthObject(2),_pool.borrowObject()); +} + +public void testBaseAddObject() throws Exception { +try { +_pool = makeEmptyPool(3); +} catch(UnsupportedOperationException e) { +return; // skip this test if unsupported +} +try { +assertEquals(0,_pool.getNumIdle()); +assertEquals(0,_pool.getNumActive()); +_pool.addObject(); +assertEquals(1,_pool.getNumIdle()); +assertEquals(0,_pool.getNumActive()); +Object obj = _pool.borrowObject(); +assertEquals(getNthObject(0),obj); +assertEquals(0,_pool.getNumIdle()); +assertEquals(1,_pool.getNumActive()); +_pool.returnObject(obj); +assertEquals(1,_pool.getNumIdle()); +
svn commit: r388628 - in /jakarta/commons/proper/httpclient/trunk/src/contrib/org/apache/commons/httpclient/contrib/benchmark: ./ BenchmarkWorker.java FileRequestEntity.java HttpBenchmark.java Stats.j
Author: olegk Date: Fri Mar 24 12:36:22 2006 New Revision: 388628 URL: http://svn.apache.org/viewcvs?rev=388628view=rev Log: A simple HTTP benchmark tool based on HttpClient, which implements a subset of AB (Apache Benchmark) interface Backported from Jakarta HttpComponents HttpCore Added: jakarta/commons/proper/httpclient/trunk/src/contrib/org/apache/commons/httpclient/contrib/benchmark/ - copied from r388545, jakarta/httpcomponents/trunk/http-core/src/contrib/org/apache/http/contrib/benchmark/ jakarta/commons/proper/httpclient/trunk/src/contrib/org/apache/commons/httpclient/contrib/benchmark/FileRequestEntity.java (with props) Modified: jakarta/commons/proper/httpclient/trunk/src/contrib/org/apache/commons/httpclient/contrib/benchmark/BenchmarkWorker.java jakarta/commons/proper/httpclient/trunk/src/contrib/org/apache/commons/httpclient/contrib/benchmark/HttpBenchmark.java jakarta/commons/proper/httpclient/trunk/src/contrib/org/apache/commons/httpclient/contrib/benchmark/Stats.java Modified: jakarta/commons/proper/httpclient/trunk/src/contrib/org/apache/commons/httpclient/contrib/benchmark/BenchmarkWorker.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/contrib/org/apache/commons/httpclient/contrib/benchmark/BenchmarkWorker.java?rev=388628r1=388545r2=388628view=diff == --- jakarta/commons/proper/httpclient/trunk/src/contrib/org/apache/commons/httpclient/contrib/benchmark/BenchmarkWorker.java (original) +++ jakarta/commons/proper/httpclient/trunk/src/contrib/org/apache/commons/httpclient/contrib/benchmark/BenchmarkWorker.java Fri Mar 24 12:36:22 2006 @@ -26,87 +26,75 @@ * http://www.apache.org/. * */ -package org.apache.http.contrib.benchmark; +package org.apache.commons.httpclient.contrib.benchmark; import java.io.IOException; import java.io.InputStream; -import org.apache.http.ConnectionReuseStrategy; -import org.apache.http.Header; -import org.apache.http.HttpClientConnection; -import org.apache.http.HttpEntity; -import org.apache.http.HttpException; -import org.apache.http.HttpRequest; -import org.apache.http.HttpResponse; -import org.apache.http.impl.DefaultConnectionReuseStrategy; -import org.apache.http.protocol.HttpRequestExecutor; +import org.apache.commons.httpclient.Header; +import org.apache.commons.httpclient.HostConfiguration; +import org.apache.commons.httpclient.HttpClient; +import org.apache.commons.httpclient.HttpException; +import org.apache.commons.httpclient.HttpMethod; /** - * p - * /p + * pBenchmark worker that can execute an HTTP method given number of times/p + * * @author a href=mailto:oleg at ural.ruOleg Kalnichevski/a * * @version $Revision$ - * - * @since 4.0 */ public class BenchmarkWorker { private byte[] buffer = new byte[4096]; private final int verbosity; -private final HttpRequestExecutor httpexecutor; -private final ConnectionReuseStrategy connstrategy; +private final HttpClient httpexecutor; -public BenchmarkWorker(final HttpRequestExecutor httpexecutor, int verbosity) { +public BenchmarkWorker(final HttpClient httpexecutor, int verbosity) { super(); this.httpexecutor = httpexecutor; -this.connstrategy = new DefaultConnectionReuseStrategy(); this.verbosity = verbosity; } public Stats execute( -final HttpRequest request, -final HttpClientConnection conn, +final HostConfiguration hostconf, +final HttpMethod method, int count, boolean keepalive) throws HttpException { -HttpResponse response = null; Stats stats = new Stats(); stats.start(); for (int i = 0; i count; i++) { try { -response = this.httpexecutor.execute(request, conn); +this.httpexecutor.executeMethod(hostconf, method); if (this.verbosity = 4) { -System.out.println( + request.getRequestLine().toString()); -Header[] headers = request.getAllHeaders(); +System.out.println( + method.getName() + + +method.getURI() + + method.getParams().getVersion()); +Header[] headers = method.getRequestHeaders(); for (int h = 0; h headers.length; h++) { -System.out.println( + headers[h].toString()); +System.out.print( + headers[h].toString()); } System.out.println(); } if (this.verbosity = 3) { - System.out.println(response.getStatusLine().getStatusCode()); +System.out.println(method.getStatusLine().getStatusCode()); } if (this.verbosity = 4) { -
svn commit: r388680 - in /jakarta/commons/sandbox/scxml/trunk/src: main/java/org/apache/commons/scxml/ main/java/org/apache/commons/scxml/model/ test/java/org/apache/commons/scxml/ test/java/org/apach
Author: rahul Date: Fri Mar 24 16:01:58 2006 New Revision: 388680 URL: http://svn.apache.org/viewcvs?rev=388680view=rev Log: * Correct behavior (short-circuit EventDispatcher, raise derived event) for the send element for special case when: - targettype is scxml - target is empty * Define a new event type for internally raised error events. State machines can watch for these events and display error recovery behaviors. * Add a test case that demonstrates this send usage. The state machine in this test case effectively runs itself (without external events) since all events are internally raised via the send usage mentioned above. * Also corrected typos in actions-test.xml Added: jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/send-02.xml (with props) Modified: jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/TriggerEvent.java jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/model/Send.java jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/SCXMLExecutorTest.java jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/model/actions-test.xml Modified: jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/TriggerEvent.java URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/TriggerEvent.java?rev=388680r1=388679r2=388680view=diff == --- jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/TriggerEvent.java (original) +++ jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/TriggerEvent.java Fri Mar 24 16:01:58 2006 @@ -1,6 +1,6 @@ /* * - * Copyright 2005 The Apache Software Foundation. + * Copyright 2005-2006 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. @@ -71,6 +71,12 @@ * */ public static final int TIME_EVENT = 4; + +/** + * codeERROR_EVENT/code. + * + */ +public static final int ERROR_EVENT = 5; /** * The event name. Modified: jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/model/Send.java URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/model/Send.java?rev=388680r1=388679r2=388680view=diff == --- jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/model/Send.java (original) +++ jakarta/commons/sandbox/scxml/trunk/src/main/java/org/apache/commons/scxml/model/Send.java Fri Mar 24 16:01:58 2006 @@ -1,6 +1,6 @@ /* * - * Copyright 2005 The Apache Software Foundation. + * Copyright 2005-2006 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. @@ -32,6 +32,7 @@ import org.apache.commons.scxml.SCInstance; import org.apache.commons.scxml.SCXMLExpressionException; import org.apache.commons.scxml.SCXMLHelper; +import org.apache.commons.scxml.TriggerEvent; /** * The class in this SCXML object model that corresponds to the @@ -41,6 +42,18 @@ public class Send extends Action implements ExternalContent { /** + * The default targettype. + */ +private static final String TARGETTYPE_SCXML = scxml; + +/** + * The spec mandated derived event when target cannot be reached + * for TARGETTYPE_SCXML. + */ +private static final String EVENT_ERR_SEND_TARGETUNAVAILABLE = +error.send.targetunavailable; + +/** * The ID of the send message. */ private String sendid; @@ -98,6 +111,7 @@ public Send() { super(); this.externalNodes = new ArrayList(); +this.targettype = TARGETTYPE_SCXML; } /** @@ -251,6 +265,23 @@ final ErrorReporter errRep, final SCInstance scInstance, final Log appLog, final Collection derivedEvents) throws ModelException, SCXMLExpressionException { +// Lets see if we should handle it ourselves +if (targettype != null targettype.trim().toLowerCase(). +equals(TARGETTYPE_SCXML)) { +if (SCXMLHelper.isStringEmpty(target)) { +derivedEvents.add(new TriggerEvent(event, +TriggerEvent.SIGNAL_EVENT)); +} else { +// We know of no other +appLog.warn(send: Unavailable target - + target); +derivedEvents.add(new TriggerEvent( +EVENT_ERR_SEND_TARGETUNAVAILABLE, +TriggerEvent.ERROR_EVENT)); +} +// short-circuit the
svn commit: r388683 - /jakarta/commons/proper/jexl/trunk/src/test/org/apache/commons/jexl/BlockTest.java
Author: rahul Date: Fri Mar 24 16:52:44 2006 New Revision: 388683 URL: http://svn.apache.org/viewcvs?rev=388683view=rev Log: Remove commented tests. Resolved that ExpressionFactory should pick out first expression and log a warning if more are present. Modified: jakarta/commons/proper/jexl/trunk/src/test/org/apache/commons/jexl/BlockTest.java Modified: jakarta/commons/proper/jexl/trunk/src/test/org/apache/commons/jexl/BlockTest.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/jexl/trunk/src/test/org/apache/commons/jexl/BlockTest.java?rev=388683r1=388682r2=388683view=diff == --- jakarta/commons/proper/jexl/trunk/src/test/org/apache/commons/jexl/BlockTest.java (original) +++ jakarta/commons/proper/jexl/trunk/src/test/org/apache/commons/jexl/BlockTest.java Fri Mar 24 16:52:44 2006 @@ -82,22 +82,4 @@ assertEquals(Block result is wrong, world, o); } -/* Need to flesh out block - expression relationship? -public void testBlockPlusStatements() throws Exception { -Expression e = ExpressionFactory -.createExpression(if (true) { x = 1; } y = 2; ); -JexlContext jc = JexlHelper.createContext(); -Object o = e.evaluate(jc); -assertEquals(Block result is wrong, new Integer(2), o); -} - -public void testMultipleBlocks() throws Exception { -Expression e = ExpressionFactory -.createExpression(if (true) { x = 1; } if (true) { y = 2;}); -JexlContext jc = JexlHelper.createContext(); -Object o = e.evaluate(jc); -assertEquals(Block result is wrong, new Integer(2), o); -} -*/ - } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[poll] [pool] picking descriptive class names
In the recently added composite pool code there are a number of classes I think are misnamed. My head is so deep in the trees I'm not sure I can see the forest. I'd like to get some opinions on which names best express the intent of the pool feature before the names are set in stone with a public release. The main behavior of the composite pools are configured via four type-safe enum types. I'll describe what each type controls and then suggest name variants. Let me know which one you think is the most self-evident and user friendly. Feel free to suggest new names. 1. Specifies the how objects are borrowed and returned to the pool. a) BorrowType b) BorrowStrategy c) BorrowPolicy d) BorrowBehavior 2. Specifies the behavior of the pool when the pool is out of idle objects. a) ExhaustionPolicy b) ExhaustionBehavior c) ExhaustionType d) ExhaustionStrategy 3. Specifies the behavior of when there is a limit on the number of concurrently borrowed objects. a) LimitStrategy b) LimitPolicy c) LimitBehavior d) LimitType 4. Specifies how active objects are tracked while they are borrowed from the pool. a) TrackingBehavior b) TrackingType c) TrackingStrategy d) TrackingPolicy The enums above don't actually specify any implementation, they describe desired features of a pool. The actual implementation isn't broken down into four parts like that so try not to confuse how you would implement that feature with how you would request that feature. Some examples of each type might be: Borrow: FIFO, SoftReference LIFO, Natural Order Ascending (implements Comparable). Exhaustion: Make a new object as needed or throw NoSuchElementException. Limit: Wait for an object to be returned or throw NoSuchElementException. Tracking: Keep a simple count of currently borrowed objects, use a WeakReference to keep track of borrowed objects, don't bother tracking borrowed objects. I'm currently leaning towards the following names: BorrowStrategy, ExhaustionPolicy, LimitPolicy, and TrackingStrategy. My rational is that a Strategy is how you go and do something while a Policy is the rules you use to make decisions. I'm not leaning towards the same suffix (or prefix) because I've implemented these so they can be converted into Java 1.5 enums for Pool 3 where they'll be grouped separately in the JavaDocs. -- Sandy McArthur He who dares not offend cannot be honest. - Thomas Paine - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r388706 - in /jakarta/commons/proper/pool/trunk/src: java/org/apache/commons/pool/composite/CompositeObjectPool.java test/org/apache/commons/pool/composite/TestCompositeObjectPool.java
Author: sandymac Date: Fri Mar 24 21:30:47 2006 New Revision: 388706 URL: http://svn.apache.org/viewcvs?rev=388706view=rev Log: Updates TestCompositeObjectPool to use Pool 2 contract tests in TestObjectPool. CompositeObjectPool.addObject shouldn't swallow exceptions from PoolableObjectFactory.passivateObject Modified: jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPool.java jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/composite/TestCompositeObjectPool.java Modified: jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPool.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPool.java?rev=388706r1=388705r2=388706view=diff == --- jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPool.java (original) +++ jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPool.java Fri Mar 24 21:30:47 2006 @@ -174,8 +174,14 @@ assertOpen(); synchronized (pool) { final Object obj = factory.makeObject(); -tracker.borrowed(obj); // pretend it was borrowed so it can be returned. -returnObject(obj); +factory.passivateObject(obj); +// if the pool is closed, discard returned objects +if (isOpen()) { +manager.returnToPool(obj); +} else { +tracker.borrowed(obj); // pretend it was borrowed so it can be invalidated. +invalidateObject(obj); +} } } @@ -243,10 +249,12 @@ } synchronized (pool) { -tracker.returned(obj); // if the pool is closed, discard returned objects if (isOpen()) { +tracker.returned(obj); manager.returnToPool(obj); +} else { +invalidateObject(obj); } } } Modified: jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/composite/TestCompositeObjectPool.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/composite/TestCompositeObjectPool.java?rev=388706r1=388705r2=388706view=diff == --- jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/composite/TestCompositeObjectPool.java (original) +++ jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/composite/TestCompositeObjectPool.java Fri Mar 24 21:30:47 2006 @@ -16,17 +16,17 @@ package org.apache.commons.pool.composite; -import junit.framework.TestCase; import org.apache.commons.pool.BasePoolableObjectFactory; +import org.apache.commons.pool.ObjectPool; import org.apache.commons.pool.PoolableObjectFactory; import org.apache.commons.pool.TestObjectPool; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; import java.util.NoSuchElementException; import java.util.SortedSet; import java.util.TreeSet; -import java.util.List; -import java.util.ArrayList; -import java.util.LinkedList; /** * Test [EMAIL PROTECTED] CompositeObjectPool} and it's components. @@ -35,9 +35,13 @@ * @since #.# * @version $Revision$ $Date$ */ -public class TestCompositeObjectPool extends TestCase { +public class TestCompositeObjectPool extends TestObjectPool { private CompositeObjectPool pool = null; +public TestCompositeObjectPool(final String testName) { +super(testName); +} + public void setUp() throws Exception { } @@ -46,6 +50,11 @@ pool.close(); pool = null; } +} + +protected ObjectPool makeEmptyPool(final PoolableObjectFactory factory) { +final CompositeObjectPoolFactory copf = new CompositeObjectPoolFactory(factory); +return copf.createPool(); } // Test Managers -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r388715 - in /jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite: EvictorLender.java InvalidEvictorLender.java Lender.java SoftLender.java
Author: sandymac Date: Fri Mar 24 23:00:41 2006 New Revision: 388715 URL: http://svn.apache.org/viewcvs?rev=388715view=rev Log: Fixed a bug where the InvalidEvictorLender didn't properly unwrap objects before passing them to the PoolableObjectFactory. Modified: jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/EvictorLender.java jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/InvalidEvictorLender.java jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/Lender.java jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/SoftLender.java Modified: jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/EvictorLender.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/EvictorLender.java?rev=388715r1=388714r2=388715view=diff == --- jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/EvictorLender.java (original) +++ jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/EvictorLender.java Fri Mar 24 23:00:41 2006 @@ -130,7 +130,7 @@ * This is designed to mimick the [EMAIL PROTECTED] Reference} api. * The only reason a [EMAIL PROTECTED] Reference} subclass isn't used is there is no StrongReference implementation. */ -protected interface EvictorReference { +protected interface EvictorReference extends LenderReference { /** * Returns this evictor reference's referent. * Modified: jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/InvalidEvictorLender.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/InvalidEvictorLender.java?rev=388715r1=388714r2=388715view=diff == --- jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/InvalidEvictorLender.java (original) +++ jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/InvalidEvictorLender.java Fri Mar 24 23:00:41 2006 @@ -144,16 +144,23 @@ final PoolableObjectFactory factory = getObjectPool().getFactory(); synchronized(getObjectPool().getPool()) { -if (referant == null) { +// Unwrap any LenderReferences +Object r = referant; +while (r instanceof LenderReference) { +r = ((LenderReference)r).get(); +} + +if (r == null) { cancel(); return; } + try { -factory.activateObject(referant); -if (factory.validateObject(referant)) { -factory.passivateObject(referant); +factory.activateObject(r); +if (factory.validateObject(r)) { +factory.passivateObject(r); } else { -factory.destroyObject(referant); +factory.destroyObject(r); clear(); } } catch (Exception e) { Modified: jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/Lender.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/Lender.java?rev=388715r1=388714r2=388715view=diff == --- jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/Lender.java (original) +++ jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/Lender.java Fri Mar 24 23:00:41 2006 @@ -17,6 +17,7 @@ package org.apache.commons.pool.composite; import java.util.ListIterator; +import java.lang.ref.Reference; /** * Handles how idle objects are added and removed from the idle object pool. @@ -75,4 +76,14 @@ * @return the size of the idle object pool the lender is accessing. */ public int size(); + +/** + * Like a [EMAIL PROTECTED] Reference} but allows a strong reference. + */ +interface LenderReference { +/** + * Like [EMAIL PROTECTED] Reference#get}. + */ +public Object get(); +} } Modified: jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/SoftLender.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/SoftLender.java?rev=388715r1=388714r2=388715view=diff
svn commit: r388716 - in /jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite: CompositeObjectPool.java EvictorLender.java
Author: sandymac Date: Fri Mar 24 23:03:00 2006 New Revision: 388716 URL: http://svn.apache.org/viewcvs?rev=388716view=rev Log: Move the shared timer to the CompositeObjectPool class. Modified: jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPool.java jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/EvictorLender.java Modified: jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPool.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPool.java?rev=388716r1=388715r2=388716view=diff == --- jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPool.java (original) +++ jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/CompositeObjectPool.java Fri Mar 24 23:03:00 2006 @@ -23,6 +23,7 @@ import java.util.ArrayList; import java.util.LinkedList; import java.util.List; +import java.util.Timer; /** * An object pool who's behavior and functionality is determined by composition. @@ -51,6 +52,12 @@ final class CompositeObjectPool implements ObjectPool, Cloneable, Serializable { private static final long serialVersionUID = -5874499972956918952L; + +/** + * Shared Timer for use by various parts of the composite implementation. + * XXX: When Java 1.5 is acceptable convert this to a java.util.concurrent.ScheduledThreadPoolExecutor + */ +static final Timer COMPOSITE_TIMER = new Timer(true); /** * Factory used by this pool. Modified: jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/EvictorLender.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/EvictorLender.java?rev=388716r1=388715r2=388716view=diff == --- jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/EvictorLender.java (original) +++ jakarta/commons/proper/pool/trunk/src/java/org/apache/commons/pool/composite/EvictorLender.java Fri Mar 24 23:03:00 2006 @@ -35,11 +35,6 @@ private static final long serialVersionUID = 4040627184050939757L; /** - * Shared evictor timer used by all [EMAIL PROTECTED] EvictorLender}s. - */ -private static final Timer EVICTOR = new Timer(true); - -/** * If this evictor delegates to another evictor then don't bother pruning when [EMAIL PROTECTED] #size()} is called because the * delegate will do that too. */ @@ -123,7 +118,7 @@ */ protected final Timer getTimer() { // Future version may want to manage more than one TimerTask. For now one is fine. -return EVICTOR; +return CompositeObjectPool.COMPOSITE_TIMER; } /** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]