[fileupload] Efficient upload stream reading API?
All, The current FileUpload API only allows uploaded data to be read by the application if an intermediate buffer (i.e. DiskFileItem) is used. It would be very handy if the low-level interfaces provided read access to the uploaded file data. Currently, the API provided by MultipartStream is in terms of an OutputStream, int readBodyData(OutputStream output) I am proposing the addition of a method like, InputStream readBodyData() I've started hacking together some code to add this functionality, and to re-implemented the original readBodyData(OutputStream) method in terms of this using IOUtils.copy(int, out). Would a patch along these lines be accepted? thanks, dave -- http://david.holroyd.me.uk/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35684] - [feedparser] NullPointerException in WebSphere Portal 5.1
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=35684. 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=35684 --- Additional Comments From [EMAIL PROTECTED] 2006-01-31 10:22 --- (In reply to comment #1) Sorry about the late reaction... If you can supply a patch I will apply it. In the method parseDate of MetaFeedParser.java enhance the try/catch block. Like this: private static boolean parseDate( String name, Namespace ns, MetaFeedParserListener listener, FeedParserState state, boolean ISO8601 ) { // Buzilla Bug 35684 try { //ok. Support dc:date String v = state.current.getChildText( name, ns ); if ( v != null ) { Date d = null; if ( ISO8601 ) { d = ISO8601DateParser.parse( v ); } else { d = RFC822DateParser.parse( v ); } listener.onCreated( state, d ); listener.onCreatedEnd(); return true; } //if it fails to parse we can just move on. } catch ( Throwable t ) { } return false; } -- 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: r373774 - /jakarta/commons/proper/httpclient/branches/HTTPCLIENT_3_0_BRANCH/
Author: olegk Date: Tue Jan 31 01:28:56 2006 New Revision: 373774 URL: http://svn.apache.org/viewcvs?rev=373774view=rev Log: Created HttpClient 3.0 stable branch. Trunk will be used to develop HttpClient 3.1 and may contain unstable code Added: jakarta/commons/proper/httpclient/branches/HTTPCLIENT_3_0_BRANCH/ - copied from r373773, jakarta/commons/proper/httpclient/trunk/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]: Project commons-jelly-test (in module commons-jelly) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project commons-jelly-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 15 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-jelly-test : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on jakarta-servletapi-5-servlet exists, no need to add for property maven.jar.servletapi. -DEBUG- Dependency on jakarta-taglibs-standard exists, no need to add for property maven.jar.jstl. -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -WARNING- Overriding Maven properties: [/usr/local/gump/public/workspace/commons-jelly/build.properties] -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/target/test-reports The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-test/gump_work/build_commons-jelly_commons-jelly-test.html Work Name: build_commons-jelly_commons-jelly-test (Type: Build) Work ended in a state of : Failed Elapsed: 56 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/discovery/dist/commons-discovery.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-31012006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/forehead/forehead-1.0-beta-5.jar:/usr/local/gump/public/workspace/jakarta-servletapi-5/jsr154/dist/lib/servlet-api.jar:/usr/local/gump/public/workspace/jakarta-taglibs/dist/standard/lib/jstl.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar - [junit] Expected expression: ${singleSize*2} [junit] Actual expression: ${doubleSize} File: file:/x1/gump/public/workspace/commons-jelly/target/test-classes/org/apache/commons/jelly/suite.jelly At tag test:assertEquals: line: 359 column: 75 [junit] org.apache.commons.jelly.JellyTagException: file:/x1/gump/public/workspace/commons-jelly/target/test-classes/org/apache/commons/jelly/suite.jelly:359:75: test:assertEquals expected:[22] but was:[22] [junit] Expected expression: ${singleSize*2} [junit] Actual expression: ${doubleSize} File: file:/x1/gump/public/workspace/commons-jelly/target/test-classes/org/apache/commons/jelly/suite.jelly At tag test:assertEquals: line: 359 column: 75 [junit] at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:712) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:282) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] Caused by: org.apache.commons.jelly.tags.junit.JellyAssertionFailedError: expected:[22] but was:[22] [junit] Expected expression: ${singleSize*2} [junit] Actual expression: ${doubleSize} File: file:/x1/gump/public/workspace/commons-jelly/target/test-classes/org/apache/commons/jelly/suite.jelly At tag test:assertEquals: line: 359 column: 75 [junit] at org.apache.commons.jelly.tags.junit.AssertTagSupport.fail(AssertTagSupport.java:39) [junit] at org.apache.commons.jelly.tags.junit.AssertTagSupport.failNotEquals(AssertTagSupport.java:62) [junit] at org.apache.commons.jelly.tags.junit.AssertEqualsTag.doTag(AssertEqualsTag.java:55) [junit]
[EMAIL PROTECTED]: Project commons-jelly-test (in module commons-jelly) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project commons-jelly-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 15 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-jelly-test : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on jakarta-servletapi-5-servlet exists, no need to add for property maven.jar.servletapi. -DEBUG- Dependency on jakarta-taglibs-standard exists, no need to add for property maven.jar.jstl. -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -WARNING- Overriding Maven properties: [/usr/local/gump/public/workspace/commons-jelly/build.properties] -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/target/test-reports The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-test/gump_work/build_commons-jelly_commons-jelly-test.html Work Name: build_commons-jelly_commons-jelly-test (Type: Build) Work ended in a state of : Failed Elapsed: 56 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/discovery/dist/commons-discovery.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-31012006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/forehead/forehead-1.0-beta-5.jar:/usr/local/gump/public/workspace/jakarta-servletapi-5/jsr154/dist/lib/servlet-api.jar:/usr/local/gump/public/workspace/jakarta-taglibs/dist/standard/lib/jstl.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar - [junit] Expected expression: ${singleSize*2} [junit] Actual expression: ${doubleSize} File: file:/x1/gump/public/workspace/commons-jelly/target/test-classes/org/apache/commons/jelly/suite.jelly At tag test:assertEquals: line: 359 column: 75 [junit] org.apache.commons.jelly.JellyTagException: file:/x1/gump/public/workspace/commons-jelly/target/test-classes/org/apache/commons/jelly/suite.jelly:359:75: test:assertEquals expected:[22] but was:[22] [junit] Expected expression: ${singleSize*2} [junit] Actual expression: ${doubleSize} File: file:/x1/gump/public/workspace/commons-jelly/target/test-classes/org/apache/commons/jelly/suite.jelly At tag test:assertEquals: line: 359 column: 75 [junit] at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:712) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:282) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] Caused by: org.apache.commons.jelly.tags.junit.JellyAssertionFailedError: expected:[22] but was:[22] [junit] Expected expression: ${singleSize*2} [junit] Actual expression: ${doubleSize} File: file:/x1/gump/public/workspace/commons-jelly/target/test-classes/org/apache/commons/jelly/suite.jelly At tag test:assertEquals: line: 359 column: 75 [junit] at org.apache.commons.jelly.tags.junit.AssertTagSupport.fail(AssertTagSupport.java:39) [junit] at org.apache.commons.jelly.tags.junit.AssertTagSupport.failNotEquals(AssertTagSupport.java:62) [junit] at org.apache.commons.jelly.tags.junit.AssertEqualsTag.doTag(AssertEqualsTag.java:55) [junit]
[EMAIL PROTECTED]: Project commons-jelly-tags-swing (in module commons-jelly) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project commons-jelly-tags-swing has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 15 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-jelly-tags-swing : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-swing/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-jelly-tags-swing-31012006.jar] identifier set to project name -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/swing/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/swing/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/swing/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/swing/target/test-reports -WARNING- No directory [/usr/local/gump/public/workspace/commons-jelly/jelly-tags/swing/target/test-reports] -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-swing/gump_work/build_commons-jelly_commons-jelly-tags-swing.html Work Name: build_commons-jelly_commons-jelly-tags-swing (Type: Build) Work ended in a state of : Failed Elapsed: 3 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/swing] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/target/commons-jelly-tags-define-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/interaction/target/commons-jelly-tags-interaction-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-31012006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar - at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at java.lang.Class.newInstance0(Class.java:308) at java.lang.Class.newInstance(Class.java:261) at org.apache.commons.jelly.JellyContext.getTagLibrary(JellyContext.java:432) at org.apache.maven.jelly.MavenJellyContext.getTagLibrary(MavenJellyContext.java:171) at org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1033) at org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:647) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at
[EMAIL PROTECTED]: Project commons-jelly-tags-swing (in module commons-jelly) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project commons-jelly-tags-swing has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 15 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-jelly-tags-swing : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-swing/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [commons-jelly-tags-swing-31012006.jar] identifier set to project name -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/swing/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/swing/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/swing/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/swing/target/test-reports -WARNING- No directory [/usr/local/gump/public/workspace/commons-jelly/jelly-tags/swing/target/test-reports] -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-swing/gump_work/build_commons-jelly_commons-jelly-tags-swing.html Work Name: build_commons-jelly_commons-jelly-tags-swing (Type: Build) Work ended in a state of : Failed Elapsed: 3 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/swing] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/target/commons-jelly-tags-define-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/interaction/target/commons-jelly-tags-interaction-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/lang/dist/commons-lang-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-31012006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar - at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at java.lang.Class.newInstance0(Class.java:308) at java.lang.Class.newInstance(Class.java:261) at org.apache.commons.jelly.JellyContext.getTagLibrary(JellyContext.java:432) at org.apache.maven.jelly.MavenJellyContext.getTagLibrary(MavenJellyContext.java:171) at org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1033) at org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:647) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at
[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 15 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-jelly-tags-xml-test : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-xml-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -WARNING- Overriding Maven properties: [/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/build.properties] -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-reports The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-xml-test/gump_work/build_commons-jelly_commons-jelly-tags-xml-test.html Work Name: build_commons-jelly_commons-jelly-tags-xml-test (Type: Build) Work ended in a state of : Failed Elapsed: 41 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-31012006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar - [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] [junit] [junit] Testcase: testSetSingleNodeAndAsString(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an ERROR [junit] file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:294:81: x:set You must define an attribute called 'select' for this tag. [junit] org.apache.commons.jelly.MissingAttributeException: file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:294:81: x:set You must define an attribute called 'select' for this tag. [junit] at org.apache.commons.jelly.tags.xml.SetTag.doTag(SetTag.java:86) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] [junit] [junit] Testcase: testSetStringLists(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an ERROR [junit] file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:339:82: x:set You must define an attribute called 'select' for this tag. [junit] org.apache.commons.jelly.MissingAttributeException: file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:339:82: x:set You must define an attribute called 'select' for this tag. [junit] at org.apache.commons.jelly.tags.xml.SetTag.doTag(SetTag.java:86) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] [junit] [junit] Testcase: testEntities(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an ERROR [junit]
[EMAIL PROTECTED]: Project commons-jelly-tags-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 15 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-31012006.jar] identifier set to project name -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-reports -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-html/gump_work/build_commons-jelly_commons-jelly-tags-html.html Work Name: build_commons-jelly_commons-jelly-tags-html (Type: Build) Work ended in a state of : Failed Elapsed: 15 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/html] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/commons-jelly-tags-jsl-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-31012006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar:/usr/local/gump/packages/nekohtml-0.9.5/nekohtml.jar - [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] [junit] [junit] Testcase: testLowerCase(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an ERROR [junit] file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:40:48: test:assert You must define an attribute called 'test' for this tag. [junit] org.apache.commons.jelly.MissingAttributeException: file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:40:48: test:assert You must define an attribute called 'test' for this tag. [junit] at org.apache.commons.jelly.tags.junit.AssertTag.doTag(AssertTag.java:54) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] [junit] [junit] Testcase: testMixedCase(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an ERROR [junit] file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:47:48: test:assert You must define an attribute called 'test' for this tag. [junit] org.apache.commons.jelly.MissingAttributeException: file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:47:48: test:assert You must define an attribute called 'test' for this tag. [junit] at
[EMAIL PROTECTED]: Project commons-jelly-tags-html (in module commons-jelly) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project commons-jelly-tags-html has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 15 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-31012006.jar] identifier set to project name -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-reports -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-html/gump_work/build_commons-jelly_commons-jelly-tags-html.html Work Name: build_commons-jelly_commons-jelly-tags-html (Type: Build) Work ended in a state of : Failed Elapsed: 15 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/html] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/commons-jelly-tags-jsl-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-31012006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar:/usr/local/gump/packages/nekohtml-0.9.5/nekohtml.jar - [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] [junit] [junit] Testcase: testLowerCase(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an ERROR [junit] file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:40:48: test:assert You must define an attribute called 'test' for this tag. [junit] org.apache.commons.jelly.MissingAttributeException: file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:40:48: test:assert You must define an attribute called 'test' for this tag. [junit] at org.apache.commons.jelly.tags.junit.AssertTag.doTag(AssertTag.java:54) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] [junit] [junit] Testcase: testMixedCase(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an ERROR [junit] file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:47:48: test:assert You must define an attribute called 'test' for this tag. [junit] org.apache.commons.jelly.MissingAttributeException: file:/x1/gump/public/workspace/commons-jelly/jelly-tags/html/target/test-classes/org/apache/commons/jelly/html/suite.jelly:47:48: test:assert You must define an attribute called 'test' for this tag. [junit] at
[EMAIL PROTECTED]: Project commons-jelly-tags-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 15 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-jelly-tags-jsl-test : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on ant exists, no need to add for property maven.jar.ant-optional. -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -WARNING- Overriding Maven properties: [/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties] -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/test-reports The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/gump_work/build_commons-jelly_commons-jelly-tags-jsl-test.html Work Name: build_commons-jelly_commons-jelly-tags-jsl-test (Type: Build) Work ended in a state of : Failed Elapsed: 17 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/ant/target/commons-jelly-tags-ant-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-31012006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar - [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262) [junit] at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) [junit] at org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:234) [junit] at org.apache.commons.jelly.tags.core.SetTag.doTag(SetTag.java:90) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) [junit] at org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTag.java:160) [junit] at org.dom4j.rule.Mode.fireRule(Mode.java:58) [junit] at org.dom4j.rule.Mode.applyTemplates(Mode.java:79) [junit] at org.dom4j.rule.RuleManager$1.run(RuleManager.java:171) [junit] at org.dom4j.rule.Mode.fireRule(Mode.java:58) [junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:102) [junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:91) [junit] at 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 15 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-jelly-tags-jsl-test : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on ant exists, no need to add for property maven.jar.ant-optional. -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -WARNING- Overriding Maven properties: [/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties] -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/test-reports The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/gump_work/build_commons-jelly_commons-jelly-tags-jsl-test.html Work Name: build_commons-jelly_commons-jelly-tags-jsl-test (Type: Build) Work ended in a state of : Failed Elapsed: 17 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/ant/target/commons-jelly-tags-ant-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-31012006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar - [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262) [junit] at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) [junit] at org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:234) [junit] at org.apache.commons.jelly.tags.core.SetTag.doTag(SetTag.java:90) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) [junit] at org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTag.java:160) [junit] at org.dom4j.rule.Mode.fireRule(Mode.java:58) [junit] at org.dom4j.rule.Mode.applyTemplates(Mode.java:79) [junit] at org.dom4j.rule.RuleManager$1.run(RuleManager.java:171) [junit] at org.dom4j.rule.Mode.fireRule(Mode.java:58) [junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:102) [junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:91) [junit] at org.dom4j.rule.Stylesheet.run(Stylesheet.java:78) [junit] at
[exec] doesn't build
...for me shodan:~/dev/jakarta-commons-exec tcurdt$ mvn clean [INFO] Scanning for projects... [INFO] [ERROR] FATAL ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: org.apache.commons ArtifactId: commons-sandbox-parent Version: 1.0-SNAPSHOT Reason: Unable to download the artifact from any repository org.apache.commons:commons-sandbox-parent:pom:1.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) What's going on? Do I have to check out the sandbox thingy and build it so I have it in my local repository? cheers -- Torsten PGP.sig Description: This is a digitally signed message part
[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 15 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-jelly-tags-define-test : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-define-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -WARNING- Overriding Maven properties: [/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/build.properties] -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/target/test-reports The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-define-test/gump_work/build_commons-jelly_commons-jelly-tags-define-test.html Work Name: build_commons-jelly_commons-jelly-tags-define-test (Type: Build) Work ended in a state of : Failed Elapsed: 14 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/define] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/dynabean/target/commons-jelly-tags-dynabean-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-31012006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar - [junit] at org.jaxen.saxpath.base.XPathReader.unionExpr(XPathReader.java:1129) [junit] at org.jaxen.saxpath.base.XPathReader.unaryExpr(XPathReader.java:1117) [junit] at org.jaxen.saxpath.base.XPathReader.multiplicativeExpr(XPathReader.java:1039) [junit] at org.jaxen.saxpath.base.XPathReader.additiveExpr(XPathReader.java:982) [junit] at org.jaxen.saxpath.base.XPathReader.relationalExpr(XPathReader.java:902) [junit] at org.jaxen.saxpath.base.XPathReader.equalityExpr(XPathReader.java:850) [junit] at org.jaxen.saxpath.base.XPathReader.andExpr(XPathReader.java:826) [junit] at org.jaxen.saxpath.base.XPathReader.orExpr(XPathReader.java:804) [junit] at org.jaxen.saxpath.base.XPathReader.expr(XPathReader.java:797) [junit] at org.jaxen.saxpath.base.XPathReader.parse(XPathReader.java:105) [junit] at org.jaxen.BaseXPath.init(BaseXPath.java:126) [junit] at org.jaxen.BaseXPath.init(BaseXPath.java:152) [junit] at org.jaxen.dom4j.Dom4jXPath.init(Dom4jXPath.java:101) [junit] at org.apache.commons.jelly.expression.xpath.XPathExpression.evaluate(XPathExpression.java:78) [junit] at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:256) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] at junit.framework.TestCase.runBare(TestCase.java:127) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit]
[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 15 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-jelly-tags-define-test : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-define-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -WARNING- Overriding Maven properties: [/usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/build.properties] -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/define/target/test-reports The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-define-test/gump_work/build_commons-jelly_commons-jelly-tags-define-test.html Work Name: build_commons-jelly_commons-jelly-tags-define-test (Type: Build) Work ended in a state of : Failed Elapsed: 14 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/define] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/cli/target/commons-cli-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/dynabean/target/commons-jelly-tags-dynabean-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-31012006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar - [junit] at org.jaxen.saxpath.base.XPathReader.unionExpr(XPathReader.java:1129) [junit] at org.jaxen.saxpath.base.XPathReader.unaryExpr(XPathReader.java:1117) [junit] at org.jaxen.saxpath.base.XPathReader.multiplicativeExpr(XPathReader.java:1039) [junit] at org.jaxen.saxpath.base.XPathReader.additiveExpr(XPathReader.java:982) [junit] at org.jaxen.saxpath.base.XPathReader.relationalExpr(XPathReader.java:902) [junit] at org.jaxen.saxpath.base.XPathReader.equalityExpr(XPathReader.java:850) [junit] at org.jaxen.saxpath.base.XPathReader.andExpr(XPathReader.java:826) [junit] at org.jaxen.saxpath.base.XPathReader.orExpr(XPathReader.java:804) [junit] at org.jaxen.saxpath.base.XPathReader.expr(XPathReader.java:797) [junit] at org.jaxen.saxpath.base.XPathReader.parse(XPathReader.java:105) [junit] at org.jaxen.BaseXPath.init(BaseXPath.java:126) [junit] at org.jaxen.BaseXPath.init(BaseXPath.java:152) [junit] at org.jaxen.dom4j.Dom4jXPath.init(Dom4jXPath.java:101) [junit] at org.apache.commons.jelly.expression.xpath.XPathExpression.evaluate(XPathExpression.java:78) [junit] at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:256) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] at junit.framework.TestCase.runBare(TestCase.java:127) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit]
[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 15 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-jelly-tags-xml-test : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-xml-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -WARNING- Overriding Maven properties: [/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/build.properties] -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-reports The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-xml-test/gump_work/build_commons-jelly_commons-jelly-tags-xml-test.html Work Name: build_commons-jelly_commons-jelly-tags-xml-test (Type: Build) Work ended in a state of : Failed Elapsed: 41 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml] CLASSPATH: /opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-31012006.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-31012006.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-31012006.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/packages/jaxen-1.1-beta-6/jaxen-1.1-beta-6.jar - [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] [junit] [junit] Testcase: testSetSingleNodeAndAsString(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an ERROR [junit] file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:294:81: x:set You must define an attribute called 'select' for this tag. [junit] org.apache.commons.jelly.MissingAttributeException: file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:294:81: x:set You must define an attribute called 'select' for this tag. [junit] at org.apache.commons.jelly.tags.xml.SetTag.doTag(SetTag.java:86) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] [junit] [junit] Testcase: testSetStringLists(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an ERROR [junit] file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:339:82: x:set You must define an attribute called 'select' for this tag. [junit] org.apache.commons.jelly.MissingAttributeException: file:/x1/gump/public/workspace/commons-jelly/jelly-tags/xml/target/test-classes/org/apache/commons/jelly/tags/xml/suite.jelly:339:82: x:set You must define an attribute called 'select' for this tag. [junit] at org.apache.commons.jelly.tags.xml.SetTag.doTag(SetTag.java:86) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) [junit] at org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:59) [junit] [junit] [junit] Testcase: testEntities(org.apache.commons.jelly.tags.junit.CaseTag$1): Caused an ERROR [junit]
DO NOT REPLY [Bug 35403] - [daemon] Changes to make jsvc work on AMD64 w/ JDK 1.5
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=35403. 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=35403 [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] --- Additional Comments From [EMAIL PROTECTED] 2006-01-31 14:28 --- *** Bug 33494 has been marked as a duplicate of this bug. *** -- 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: r373845 - /jakarta/commons/sandbox/scxml/branches/STATELESS_MODEL/xdocs/api-notes/core-digester.xml
Author: rahul Date: Tue Jan 31 07:52:07 2006 New Revision: 373845 URL: http://svn.apache.org/viewcvs?rev=373845view=rev Log: Correct a typo and an URL that changed recently Modified: jakarta/commons/sandbox/scxml/branches/STATELESS_MODEL/xdocs/api-notes/core-digester.xml Modified: jakarta/commons/sandbox/scxml/branches/STATELESS_MODEL/xdocs/api-notes/core-digester.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/branches/STATELESS_MODEL/xdocs/api-notes/core-digester.xml?rev=373845r1=373844r2=373845view=diff == --- jakarta/commons/sandbox/scxml/branches/STATELESS_MODEL/xdocs/api-notes/core-digester.xml (original) +++ jakarta/commons/sandbox/scxml/branches/STATELESS_MODEL/xdocs/api-notes/core-digester.xml Tue Jan 31 07:52:07 2006 @@ -45,7 +45,7 @@ SCXML scxml = null; try { - scxml = SCXMLDigester.digest(lt;URLgt;, lt;ErroHandlergt;); + scxml = SCXMLDigester.digest(lt;URLgt;, lt;ErrorHandlergt;); } catch (IOException ioe) { // IOException while parsing } catch (SAXException se) { @@ -76,7 +76,7 @@ so the document must be a standalone document./p pThe codeSCXMLDigester/code Javadoc is available - a href=../apidocs/org/apache/commons/scxml/SCXMLDigester.html + a href=../apidocs/org/apache/commons/scxml/io/SCXMLDigester.html here/a. /p /subsection - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [exec] doesn't build
Torsten Curdt wrote: Do I have to check out the sandbox thingy and build it so I have it in my local repository? You just need to check it out using trunks right now. That won't always be necessary - the m2 build is just experimental at the moment and the parent hasn't been published to the repository. - Brett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r373879 - /jakarta/commons/dormant/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParser.java
Author: mvdb Date: Tue Jan 31 09:23:15 2006 New Revision: 373879 URL: http://svn.apache.org/viewcvs?rev=373879view=rev Log: Fix bugzilla bug 35684. Thanx Peter Bijl for the bug report solution Modified: jakarta/commons/dormant/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParser.java Modified: jakarta/commons/dormant/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParser.java URL: http://svn.apache.org/viewcvs/jakarta/commons/dormant/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParser.java?rev=373879r1=373878r2=373879view=diff == --- jakarta/commons/dormant/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParser.java (original) +++ jakarta/commons/dormant/feedparser/trunk/src/java/org/apache/commons/feedparser/MetaFeedParser.java Tue Jan 31 09:23:15 2006 @@ -227,16 +227,13 @@ MetaFeedParserListener listener, FeedParserState state, boolean ISO8601 ) { - -//ok. Support dc:date -String v = state.current.getChildText( name, ns ); - -if ( v != null ) { - -try { +try { +//ok. Support dc:date +String v = state.current.getChildText( name, ns ); + +if ( v != null ) { Date d = null; - if ( ISO8601 ) { d = ISO8601DateParser.parse( v ); } else { @@ -247,9 +244,9 @@ listener.onCreatedEnd(); return true; -//if it fails to parse we can just move on. -} catch ( Throwable t ) { } - +} +} catch ( Throwable t ) { +// ignore the exception, so we can just move on } return false; - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 35684] - [feedparser] NullPointerException in WebSphere Portal 5.1
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=35684. 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=35684 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2006-01-31 18:27 --- Incorparated the patch, since I am in a good mood :) What I meant by a patch is actually this : http://jakarta.apache.org/commons/patches.html. Since I don't use feedparser myself, I just volunteered to apply patches. The more complete the patches are (preferrably with testcases, even though they currently kind of lack in the docs), the more likely it is that they get applied. -- 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]
[Jakarta-commons Wiki] Update of CommonsPeople by MartinvandenBemt
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 MartinvandenBemt: http://wiki.apache.org/jakarta-commons/CommonsPeople -- * '''Active''': SCXML * '''Interested''': Commons-build, Validator * '''Future''': Resources, Digester + + === Martin van den Bemt === + * '''Active''': varies + * '''Oversight''': feedparser (applying patches) + * '''Interested''': csv, email, fileupload, io, beanutils, dbutils, betwixt === Jeff Brekke === * '''Active''': net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 21304] - [cli] Broken link report (13 404s)
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=21304. 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=21304 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2006-01-31 19:29 --- Site was regenerated afaik.. And all apidocs and xrefs are present. Thanx for pointing to it and sorry for the late reaction. -- 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: [lang] EqualsBuilder: Comparison of Collections
Hello, Stephen Colebourne: This is a misunderstanding of the java collections framework. The framework consists of three collections interfaces - Collection, Set and List. Two List implementations are equal based on their order. Two Set implementations are equal based on their content. Two Collection implementations have no defined equals behaviour. If you want to achieve equals comparison based on content without order, then simply create two HashSet objects instead of two ArrayList objects. Thank you for welcoming and correcting me on this Stephen, you are absolutely right! You proposed to use a HashSet in order to compare Collections for equality based on their content. However, in the current State of the EqualsBuilder, it is not possible to use it in order to compare HashSets... So wouldn't it be useful to add such an operation? Kind Regards, Matthias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[csv] csv writer..
Hi everyone (specifically Henri I guess), I need to write a csv writer (fixed size columns, semi colon seperators, etc) and I can do 2 things : 1) Create it as a project of my own. 2) Put in the csv component. I prefer in this case the second and I will do my best to make it something really nice, but it may not be exactly what people had in mind. First goal is to get the job done I need, later goals are to make it pretty.. Any objections doing my stuff in the csv component ? Mvgr, Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [csv] csv writer..
Hmm kind of missed there was a CSVPrinter in there.. My setup is kind of different (still writing it though). Any problems I can go ahead anyway.. It is still sandbox and we can always integrate the two later on :) Mvgr, Martin Martin van den Bemt wrote: Hi everyone (specifically Henri I guess), I need to write a csv writer (fixed size columns, semi colon seperators, etc) and I can do 2 things : 1) Create it as a project of my own. 2) Put in the csv component. I prefer in this case the second and I will do my best to make it something really nice, but it may not be exactly what people had in mind. First goal is to get the job done I need, later goals are to make it pretty.. Any objections doing my stuff in the csv component ? Mvgr, Martin - 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: [feedparser] a FYI : Cleanup bugzilla code.
snip/ I meant to get back to 38169 [1], but it got pushed down the todo list. Thanks for taking care of it, nice to see that lib directory with all the jars disappear :-) Indeed.. I also don't like jars in the cvs/subversion. Since I volunteered to do some patching for feedparser, I though yesterday it was about time to apply some of them. At least no bugs in feedparser anymore ;) Mvgr, Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [fileupload] Efficient upload stream reading API?
Hi again, On Tue, Jan 31, 2006 at 09:02:31AM +, David Holroyd wrote: The current FileUpload API only allows uploaded data to be read by the application if an intermediate buffer (i.e. DiskFileItem) is used. It would be very handy if the low-level interfaces provided read access to the uploaded file data. The attached patch tries to get this working (though without much thought yet for efficiency or compliance with the existing code-formatting standards ;). The changed code passes the ServletFileUploadTest suite, and adds a test-suite for the new DelimitedInputStream class. Is there any chance of a future release of FileUpload supporting this kind of interface? ta, dave -- http://david.holroyd.me.uk/ Index: /home/dave/workspace/fileupload/src/java/org/apache/commons/fileupload/DelimitedInputStream.java === --- /home/dave/workspace/fileupload/src/java/org/apache/commons/fileupload/DelimitedInputStream.java (revision 0) +++ /home/dave/workspace/fileupload/src/java/org/apache/commons/fileupload/DelimitedInputStream.java (revision 0) @@ -1 +1,112 @@ +package org.apache.commons.fileupload; + +import java.io.IOException; +import java.io.InputStream; +import java.io.PushbackInputStream; +//import org.apache.tomcat.util.buf.ByteChunk; + +class DelimitedInputStream extends InputStream { + private PushbackInputStream in; + private byte[] term; // the sequence that delimits the end of stream + private byte[] tmpBuff; + private boolean eos = false; // reached the end of stream (terminator)? + private boolean closed = false; // close() called? + +public DelimitedInputStream(PushbackInputStream in, byte[] terminator) { + this.in = in; + // take a copy of the original terminator, + term = new byte[terminator.length]; + System.arraycopy(terminator, 0, term, 0, terminator.length); + tmpBuff = new byte[terminator.length * 2]; +} + + public int read() throws IOException { + byte[] tmp = new byte[1]; + int c = read(tmp, 0, 1); + if (c == -1) { + return -1; + } + return tmp[0] 0xff; + } + + public int read(byte[] buf, int off, int len) throws IOException { + assertOpen(); + if (eos) return -1; + + int c = readChunk(buf, off, len); + return c; + } + + private int fillTmpBuff(int limit) throws IOException { + int read = 0; + while (read limit) { + int c = in.read(tmpBuff, read, limit-read); + if (c == -1) { + if (read == 0) { + return -1; + } + break; + } + read += c; + } + return read; + } + + private int readChunk(byte[] buf, int off, int len) + throws IOException + { + int read = fillTmpBuff(Math.min(len, term.length)+term.length); + if (read == -1) { + return -1; + } + if (read = term.length) { + int pos = findTerm(); + if (pos != -1) { + in.unread(tmpBuff, pos, read-pos); + eos = true; + read = pos; + } else if (read = len) { + in.unread(tmpBuff, len, read-len); + read = len; + } + } else if (read = len) { + in.unread(tmpBuff, len, read-len); + read = len; + } + System.arraycopy(tmpBuff, 0, buf, off, read); + return read; + } + + private int findTerm() { + int pos = 0; + int end = tmpBuff.length - term.length; +// return ByteChunk.findChars(tmpBuff, 0, end, term); + + outer: while (pos = end) { + if (tmpBuff[pos] != term[0]) { + pos++; + continue; + } + for (int i=1; iterm.length; i++) { + if (tmpBuff[pos+i] != term[i]) { + pos++; + continue outer; + } + } + // if the above for-loop completes without the + // 'continue outer', we must have found a match, + return pos; + } + return -1; + } +
Re: [collections] New utility methods for CollectionUtils ListUtils
Matt Blum wrote: The proposed CollectionUtils method is currently called cloneCollection, but could be called deepClone. It takes any Collection as a parameter, and attempts to create a clone of it and every object contained within it. It tries a couple of different processes to do this, starting with using reflection to find the objects' clone method; if they don't have such a method but are Serializable, it uses Commons Lang SerializationUtils' clone method to clone them. If it can't do that, either, it will just copy by reference. It will recursively iterate through any sub-Collections as well, meaning that circular references will cause it to generate a stack overflow. I've found it to be very useful. This could be useful, but would need to be done without a dependency on commons-lang. Practically, it could just be the application of a Transformer to each element in the collection resulting in a new collection. The main proposed ListUtils method is simply called move, and takes a List, an index, and a distance as parameters. It will move the element in the List at the specified index the specified distance, which can either be positive or negative. It will wrap around, so that, in a List of length three (say), moving an element a distance of -2 would have the same effect as moving it 1. It will throw IndexOutOfBoundsException, as you'd expect, if the specified index is out of range. This seems a little specialised, although I'm open to other views. I have another proposed ListUtils method, called removeNulls, which as you'd expect simply removes nulls from a list. I have coded this before and it is useful. If you would like to write a patch, perhaps for the null remove first, then follow http://jakarta.apache.org/commons/patches.html creating a bugzilla request prefixed by [collections] Stephen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r373942 - in /jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/writer: ./ CSVConfig.java CSVConfigGuesser.java CSVField.java CSVWriter.java
Author: mvdb Date: Tue Jan 31 15:36:48 2006 New Revision: 373942 URL: http://svn.apache.org/viewcvs?rev=373942view=rev Log: Start with CSVWriter.. (it's kind of working already..) Added: jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/writer/ jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/writer/CSVConfig.java jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/writer/CSVConfigGuesser.java jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/writer/CSVField.java jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/writer/CSVWriter.java Added: jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/writer/CSVConfig.java URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/writer/CSVConfig.java?rev=373942view=auto == --- jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/writer/CSVConfig.java (added) +++ jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/writer/CSVConfig.java Tue Jan 31 15:36:48 2006 @@ -0,0 +1,285 @@ +/* + * Copyright 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.commons.csv.writer; + +import java.io.InputStream; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collection; +import java.util.List; + +/** + * The CSVConfig is used to configure the CSV writer + * + * @author Martin van den Bemt + * @version $Id: $ + */ +public class CSVConfig { + +/** specifies if it is a fixed width csv file **/ +private boolean fixedWidth; +/** list of fields **/ +private List fields; + +/** Do no do any filling **/ +public static final int FILLNONE = 0; +/** Fill content the the left. Mainly usable together with fixedWidth **/ +public static final int FILLLEFT = 1; +/** Fill content to the right. Mainly usable together with fixedWidth **/ +public static final int FILLRIGHT = 2; + +/** The fill pattern */ +private int fill; +/** The fill char. Defaults to a space */ +private char fillChar = ' '; +/** The seperator character. Defaults to , */ +private char delimiter = ','; +/** Should we ignore the delimiter. Defaults to false */ +private boolean ignoreDelimiter = false; +/** the value delimiter. Defaults to */ +private char valueDelimiter = ''; +/** Should we ignore the value delimiter. Defaults to true */ +private boolean ignoreValueDelimiter = true; +/** Specifies if we want to use a field header */ +private boolean fieldHeader = false; +/** Specifies if the end of the line needs to be trimmed */ +private boolean endTrimmed = false; +/** + * + */ +public CSVConfig() { +super(); +} + +/** + * @return if the CSV file is fixedWidth + */ +public boolean isFixedWidth() { +return fixedWidth; +} + +/** + * Specify if the CSV file is fixed width. + * Defaults to false + * @param fixedWidth the fixedwidth + */ +public void setFixedWidth(boolean fixedWidth) { +this.fixedWidth = fixedWidth; +} + +public void addField(CSVField field) { +if (fields == null) { +fields = new ArrayList(); +} +fields.add(field); +} + +/** + * Set the fields that should be used by the writer. + * This will overwrite currently added fields completely! + * @param csvFields the csvfields array. If null it will do nothing + */ +public void setFields(CSVField[] csvFields) { +if (csvFields == null) { +return; +} +fields = new ArrayList(Arrays.asList(csvFields)); +} + +/** + * Set the fields that should be used by the writer + * @param csvField a collection with fields. If null it will do nothing + */ +public void setFields(Collection csvField) { +if (csvField == null) { +return; +} +fields = new ArrayList(csvField); +} + +/** + * @return an array with the known fields (even if no fields are specified) + */ +public CSVField[] getFields() { +CSVField[] csvFields = new CSVField[0]; +if (fields != null) { +return (CSVField[]) fields.toArray(csvFields); +
svn commit: r373943 - in /jakarta/commons/sandbox/csv/trunk/src/test/org/apache/commons/csv/writer: ./ CSVConfigGuesserTest.java CSVConfigTest.java CSVFieldTest.java CSVWriterTest.java
Author: mvdb Date: Tue Jan 31 15:37:16 2006 New Revision: 373943 URL: http://svn.apache.org/viewcvs?rev=373943view=rev Log: Testcases for CSVWriter. Added: jakarta/commons/sandbox/csv/trunk/src/test/org/apache/commons/csv/writer/ jakarta/commons/sandbox/csv/trunk/src/test/org/apache/commons/csv/writer/CSVConfigGuesserTest.java jakarta/commons/sandbox/csv/trunk/src/test/org/apache/commons/csv/writer/CSVConfigTest.java jakarta/commons/sandbox/csv/trunk/src/test/org/apache/commons/csv/writer/CSVFieldTest.java jakarta/commons/sandbox/csv/trunk/src/test/org/apache/commons/csv/writer/CSVWriterTest.java Added: jakarta/commons/sandbox/csv/trunk/src/test/org/apache/commons/csv/writer/CSVConfigGuesserTest.java URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/csv/trunk/src/test/org/apache/commons/csv/writer/CSVConfigGuesserTest.java?rev=373943view=auto == --- jakarta/commons/sandbox/csv/trunk/src/test/org/apache/commons/csv/writer/CSVConfigGuesserTest.java (added) +++ jakarta/commons/sandbox/csv/trunk/src/test/org/apache/commons/csv/writer/CSVConfigGuesserTest.java Tue Jan 31 15:37:16 2006 @@ -0,0 +1,88 @@ +/* + * Copyright 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.commons.csv.writer; + +import java.io.ByteArrayInputStream; + +import junit.framework.TestCase; + +/** + * Tests for the config guesser. + * + * @author Martin van den Bemt + * @version $Id: $ + */ +public class CSVConfigGuesserTest extends TestCase { + +public void testSetters() throws Exception { +CSVConfigGuesser guesser = new CSVConfigGuesser(); +ByteArrayInputStream in = new ByteArrayInputStream(new byte[0]); +guesser.setInputStream(in); +assertEquals(in, guesser.getInputStream()); +guesser = new CSVConfigGuesser(in); +assertEquals(in, guesser.getInputStream()); +assertEquals(false, guesser.hasFieldHeader()); +guesser.setHasFieldHeader(true); +assertEquals(true, guesser.hasFieldHeader()); +} +/** + * Test a format like + * 1234 ; abcd ; 1234 ; + * + */ +public void testConfigGuess1() { +CSVConfig expected = new CSVConfig(); +expected.setDelimiter(';'); +expected.setValueDelimiter(' '); +expected.setFill(CSVConfig.FILLRIGHT); +expected.setIgnoreValueDelimiter(false); +expected.setFixedWidth(true); +CSVField field = new CSVField(); +field.setSize(4); +expected.addField(field); +expected.addField(field); +StringBuffer sb = new StringBuffer(); +sb.append(1234;abcd;1234\n); +sb.append(abcd;1234;abcd); +ByteArrayInputStream in = new ByteArrayInputStream(sb.toString().getBytes()); +CSVConfigGuesser guesser = new CSVConfigGuesser(in); +CSVConfig guessed = guesser.guess(); +assertEquals(expected.isFixedWidth(), guessed.isFixedWidth()); +assertEquals(expected.getFields().length, guessed.getFields().length); +assertEquals(expected.getFields()[0].getSize(), guessed.getFields()[0].getSize()); +} +/** + * Test a format like + * 1234,123123,12312312,213123 + * 1,2,3,4 + * + */ +public void testConfigGuess2() { +CSVConfig expected = new CSVConfig(); +expected.setDelimiter(';'); +expected.setValueDelimiter(' '); +expected.setFill(CSVConfig.FILLRIGHT); +expected.setIgnoreValueDelimiter(false); +//expected.setFixedWidth(false); +StringBuffer sb = new StringBuffer(); +sb.append(1,2,3,4\n); +sb.append(abcd,1234,abcd,1234); +ByteArrayInputStream in = new ByteArrayInputStream(sb.toString().getBytes()); +CSVConfigGuesser guesser = new CSVConfigGuesser(in); +CSVConfig guessed = guesser.guess(); +assertEquals(expected.isFixedWidth(), guessed.isFixedWidth()); +} +} Added: jakarta/commons/sandbox/csv/trunk/src/test/org/apache/commons/csv/writer/CSVConfigTest.java URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/csv/trunk/src/test/org/apache/commons/csv/writer/CSVConfigTest.java?rev=373943view=auto == --- jakarta/commons/sandbox/csv/trunk/src/test/org/apache/commons/csv/writer/CSVConfigTest.java
svn commit: r373944 - /jakarta/commons/sandbox/csv/trunk/project.xml
Author: mvdb Date: Tue Jan 31 15:37:31 2006 New Revision: 373944 URL: http://svn.apache.org/viewcvs?rev=373944view=rev Log: Add myself as a developer. Modified: jakarta/commons/sandbox/csv/trunk/project.xml Modified: jakarta/commons/sandbox/csv/trunk/project.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/csv/trunk/project.xml?rev=373944r1=373943r2=373944view=diff == --- jakarta/commons/sandbox/csv/trunk/project.xml (original) +++ jakarta/commons/sandbox/csv/trunk/project.xml Tue Jan 31 15:37:31 2006 @@ -34,6 +34,11 @@ idbayard/id email[EMAIL PROTECTED]/email /developer +developer + nameMartin van den Bemt/name + idmvdb/id + email[EMAIL PROTECTED]/email +/developer /developers dependencies - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [csv] csv writer..
My initial stuff has been committed. Let me know if it is usefull or someone wants it removed.. (package org.apache.commons.csv.writer) It already does some (for me) usefull writing :) Mvgr, Martin Martin van den Bemt wrote: Hi everyone (specifically Henri I guess), I need to write a csv writer (fixed size columns, semi colon seperators, etc) and I can do 2 things : 1) Create it as a project of my own. 2) Put in the csv component. I prefer in this case the second and I will do my best to make it something really nice, but it may not be exactly what people had in mind. First goal is to get the job done I need, later goals are to make it pretty.. Any objections doing my stuff in the csv component ? Mvgr, Martin - 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]
svn commit: r373946 - /jakarta/commons/sandbox/csv/trunk/
Author: mvdb Date: Tue Jan 31 15:49:34 2006 New Revision: 373946 URL: http://svn.apache.org/viewcvs?rev=373946view=rev Log: ignore eclipse files and target directory. Modified: jakarta/commons/sandbox/csv/trunk/ (props changed) Propchange: jakarta/commons/sandbox/csv/trunk/ -- --- svn:ignore (added) +++ svn:ignore Tue Jan 31 15:49:34 2006 @@ -0,0 +1,3 @@ +.classpath +.project +target - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: svn commit: r373946 - /jakarta/commons/sandbox/csv/trunk/
Any reason you want to ignore the eclipse files? Sometimes it makes checking the project out from Eclipse a whole load easier. On 2/1/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: mvdb Date: Tue Jan 31 15:49:34 2006 New Revision: 373946 URL: http://svn.apache.org/viewcvs?rev=373946view=rev Log: ignore eclipse files and target directory. Modified: jakarta/commons/sandbox/csv/trunk/ (props changed) Propchange: jakarta/commons/sandbox/csv/trunk/ -- --- svn:ignore (added) +++ svn:ignore Tue Jan 31 15:49:34 2006 @@ -0,0 +1,3 @@ +.classpath +.project +target - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- http://www.multitask.com.au/people/dion/ In order to succeed, your desire for success should be greater than your fear of failure. - Bill Cosby - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: svn commit: r373946 - /jakarta/commons/sandbox/csv/trunk/
You are correct about the sometimes :) To keep it short : they are a PITA. To make it a little bit longer : I always run into .classpath conflicts and I don't like that other people dictate how my eclipse should behave and which version I should run and I don't expect others to have to put up with the .classpath and .project files I am using. In my opinion it's good practice to add them to cvsignore or svn:ignore, with a possible exception when you are in control of everyone elses environment, which is clearly not the case here. And you can just type maven eclipse to get a nice .classpath and .project.. Mvgr, Martin Dion Gillard wrote: Any reason you want to ignore the eclipse files? Sometimes it makes checking the project out from Eclipse a whole load easier. On 2/1/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: mvdb Date: Tue Jan 31 15:49:34 2006 New Revision: 373946 URL: http://svn.apache.org/viewcvs?rev=373946view=rev Log: ignore eclipse files and target directory. Modified: jakarta/commons/sandbox/csv/trunk/ (props changed) Propchange: jakarta/commons/sandbox/csv/trunk/ -- --- svn:ignore (added) +++ svn:ignore Tue Jan 31 15:49:34 2006 @@ -0,0 +1,3 @@ +.classpath +.project +target - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- http://www.multitask.com.au/people/dion/ In order to succeed, your desire for success should be greater than your fear of failure. - Bill Cosby - 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: [collections] New utility methods for CollectionUtils ListUtils
1. +1 on not using Commons Lang as a dependency. 2. I would agree that this is a bit specialized. I'm -0 on including it. 3. The removeNulls() method could be interesting, but I would not limit it to lists. You could use CollectionUtils.filter() and an isNotNull predicate. -Original Message- From: Stephen Colebourne [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 31, 2006 4:35 PM To: Jakarta Commons Developers List Subject: Re: [collections] New utility methods for CollectionUtils ListUtils Matt Blum wrote: The proposed CollectionUtils method is currently called cloneCollection, but could be called deepClone. It takes any Collection as a parameter, and attempts to create a clone of it and every object contained within it. It tries a couple of different processes to do this, starting with using reflection to find the objects' clone method; if they don't have such a method but are Serializable, it uses Commons Lang SerializationUtils' clone method to clone them. If it can't do that, either, it will just copy by reference. It will recursively iterate through any sub-Collections as well, meaning that circular references will cause it to generate a stack overflow. I've found it to be very useful. This could be useful, but would need to be done without a dependency on commons-lang. Practically, it could just be the application of a Transformer to each element in the collection resulting in a new collection. The main proposed ListUtils method is simply called move, and takes a List, an index, and a distance as parameters. It will move the element in the List at the specified index the specified distance, which can either be positive or negative. It will wrap around, so that, in a List of length three (say), moving an element a distance of -2 would have the same effect as moving it 1. It will throw IndexOutOfBoundsException, as you'd expect, if the specified index is out of range. This seems a little specialised, although I'm open to other views. I have another proposed ListUtils method, called removeNulls, which as you'd expect simply removes nulls from a list. I have coded this before and it is useful. If you would like to write a patch, perhaps for the null remove first, then follow http://jakarta.apache.org/commons/patches.html creating a bugzilla request prefixed by [collections] Stephen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 38459] - [scxml] JUnit tests for SCXML
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=38459. 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=38459 [EMAIL PROTECTED] changed: What|Removed |Added Attachment #17546|0 |1 is obsolete|| --- Additional Comments From [EMAIL PROTECTED] 2006-02-01 04:36 --- Created an attachment (id=17551) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=17551action=view) Correct svn diff for new tests There is an issue with testing SCXMLHelper.isLegalConfig because you are not able to test the error reporter that comes back. Everything is just written out to a log file. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r373983 - in /jakarta/commons/sandbox/scxml/trunk: ./ src/test/java/org/apache/commons/scxml/ src/test/java/org/apache/commons/scxml/env/
Author: rahul Date: Tue Jan 31 20:07:11 2006 New Revision: 373983 URL: http://svn.apache.org/viewcvs?rev=373983view=rev Log: BZ 38459 [scxml] JUnit tests for SCXML Thanks to Peter Costa pcosta02 AT yahoo DOT com Also added Peter to list of contributors. Added: jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/TestBuiltin.java (with props) jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/TestSCXMLHelper.java (with props) jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/env/TestSimpleContext.java (with props) Modified: jakarta/commons/sandbox/scxml/trunk/project.xml jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/SCXMLTestSuite.java jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/env/EnvTestSuite.java Modified: jakarta/commons/sandbox/scxml/trunk/project.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/project.xml?rev=373983r1=373982r2=373983view=diff == --- jakarta/commons/sandbox/scxml/trunk/project.xml (original) +++ jakarta/commons/sandbox/scxml/trunk/project.xml Tue Jan 31 20:07:11 2006 @@ -87,6 +87,9 @@ contributor nameJaroslav Gergic/name /contributor +contributor + namePeter Costa/name +/contributor /contributors dependencies Modified: jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/SCXMLTestSuite.java URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/SCXMLTestSuite.java?rev=373983r1=373982r2=373983view=diff == --- jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/SCXMLTestSuite.java (original) +++ jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/SCXMLTestSuite.java Tue Jan 31 20:07:11 2006 @@ -1,5 +1,5 @@ /* - * 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. @@ -48,6 +48,8 @@ suite.setName(Commons-SCXML Tests); suite.addTest(SCXMLDigesterTest.suite()); suite.addTest(SCXMLExecutorTest.suite()); +suite.addTest(TestBuiltin.suite()); +suite.addTest(TestSCXMLHelper.suite()); suite.addTest(TriggerEventTest.suite()); return suite; } Added: jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/TestBuiltin.java URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/TestBuiltin.java?rev=373983view=auto == --- jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/TestBuiltin.java (added) +++ jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/TestBuiltin.java Tue Jan 31 20:07:11 2006 @@ -0,0 +1,69 @@ +/* + * Copyright 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.commons.scxml; + +import java.util.HashSet; +import java.util.Set; + +import org.apache.commons.scxml.model.State; +import org.apache.commons.scxml.model.TransitionTarget; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +public class TestBuiltin extends TestCase { + +public TestBuiltin(String testName) { +super(testName); +} + +public static Test suite() { +return new TestSuite(TestBuiltin.class); +} + +public static void main(String args[]) { +String[] testCaseName = { TestBuiltin.class.getName()}; +junit.textui.TestRunner.main(testCaseName); +} + +public void testIsMemberEmptySet() { +Set set = new HashSet(); + +assertFalse(Builtin.isMember(set, on)); +} + +public void testIsMemberFalse() { +TransitionTarget state = new State(); +state.setId(off); + +Set set = new HashSet(); +set.add(state); + +assertFalse(Builtin.isMember(set, on)); +} + +public void testIsMemberTrue()
DO NOT REPLY [Bug 38459] - [scxml] JUnit tests for SCXML
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=38459. 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=38459 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |ASSIGNED --- Additional Comments From [EMAIL PROTECTED] 2006-02-01 05:20 --- Thanks Peter, I've applied your patch, as a result you'll be listed on the project team page the next time the website is refreshed. You make an interesting comment about the ErrorReporter, the fact that it logs the error is purely a side-effect of choosing the SimpleErrorReporter implementation (which does nothing but log the error). Indeed, if someone were to write it, it would make sense to have a NoOpErrorReporter that did nothing, just as it would make sense to have an implementation that did something fancier. Same goes for EventDispatcher, ErrorHandler etc. I'm inclined to leave this bug unresolved for a while even though this particular patch has been applied; in case any of us ends up writing more tests we can attach them here in the placeholder spirit that you opened the bug report in. -- 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]