svn commit: r501365 - in /jakarta/commons/proper/net/branches/JDK_1_5_BRANCH/src/test/java/org/apache/commons/net: ftp/AllTests.java ftp/parser/AllTests.java telnet/TelnetTestSimpleServer.java
Author: rwinston Date: Tue Jan 30 02:47:32 2007 New Revision: 501365 URL: http://svn.apache.org/viewvc?view=revrev=501365 Log: Fix licenses Modified: jakarta/commons/proper/net/branches/JDK_1_5_BRANCH/src/test/java/org/apache/commons/net/ftp/AllTests.java jakarta/commons/proper/net/branches/JDK_1_5_BRANCH/src/test/java/org/apache/commons/net/ftp/parser/AllTests.java jakarta/commons/proper/net/branches/JDK_1_5_BRANCH/src/test/java/org/apache/commons/net/telnet/TelnetTestSimpleServer.java Modified: jakarta/commons/proper/net/branches/JDK_1_5_BRANCH/src/test/java/org/apache/commons/net/ftp/AllTests.java URL: http://svn.apache.org/viewvc/jakarta/commons/proper/net/branches/JDK_1_5_BRANCH/src/test/java/org/apache/commons/net/ftp/AllTests.java?view=diffrev=501365r1=501364r2=501365 == --- jakarta/commons/proper/net/branches/JDK_1_5_BRANCH/src/test/java/org/apache/commons/net/ftp/AllTests.java (original) +++ jakarta/commons/proper/net/branches/JDK_1_5_BRANCH/src/test/java/org/apache/commons/net/ftp/AllTests.java Tue Jan 30 02:47:32 2007 @@ -1,11 +1,12 @@ /* - * Copyright 2005 The Apache Software Foundation + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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 * - * 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 + * 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, Modified: jakarta/commons/proper/net/branches/JDK_1_5_BRANCH/src/test/java/org/apache/commons/net/ftp/parser/AllTests.java URL: http://svn.apache.org/viewvc/jakarta/commons/proper/net/branches/JDK_1_5_BRANCH/src/test/java/org/apache/commons/net/ftp/parser/AllTests.java?view=diffrev=501365r1=501364r2=501365 == --- jakarta/commons/proper/net/branches/JDK_1_5_BRANCH/src/test/java/org/apache/commons/net/ftp/parser/AllTests.java (original) +++ jakarta/commons/proper/net/branches/JDK_1_5_BRANCH/src/test/java/org/apache/commons/net/ftp/parser/AllTests.java Tue Jan 30 02:47:32 2007 @@ -1,8 +1,18 @@ /* - * Created on Apr 5, 2004 + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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 * - * To change the template for this generated file go to - * Window - Preferences - Java - Code Generation - Code and Comments + * 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.net.ftp.parser; Modified: jakarta/commons/proper/net/branches/JDK_1_5_BRANCH/src/test/java/org/apache/commons/net/telnet/TelnetTestSimpleServer.java URL: http://svn.apache.org/viewvc/jakarta/commons/proper/net/branches/JDK_1_5_BRANCH/src/test/java/org/apache/commons/net/telnet/TelnetTestSimpleServer.java?view=diffrev=501365r1=501364r2=501365 == --- jakarta/commons/proper/net/branches/JDK_1_5_BRANCH/src/test/java/org/apache/commons/net/telnet/TelnetTestSimpleServer.java (original) +++ jakarta/commons/proper/net/branches/JDK_1_5_BRANCH/src/test/java/org/apache/commons/net/telnet/TelnetTestSimpleServer.java Tue Jan 30 02:47:32 2007 @@ -1,11 +1,12 @@ /* - * Copyright 2003-2004 The Apache Software Foundation + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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 * - * Licensed under the
Re: [all] exceptions and localization
How about if we give the data for the localized message instead of localizing it ourselves? I've done this for a class I call BusinessLogicException (used for when a user breaks a business rule like already a user with that name in the system since you would want to display that error message to the user). What I did was create a message class like this: public class BusinessLogicException extends Exception { private final String messageKey; private final Object[] arguments; // May have been called parameters? // Constructors and getters here... } So, if an application wants to localize the message, they can use their own localization paradigm (i18n, resource bundles, Tapestry messages, etc.). On 1/30/07, Craig McClanahan [EMAIL PROTECTED] wrote: On 1/28/07, Stephen Colebourne [EMAIL PROTECTED] wrote: Phil Steitz wrote: I am interested in what others have to say about this as a general practice for commons. For [math] specifically, I think it is important that we can fit seamlessly into localized applications, and we are refactoring our exceptions hierarchy anyway, so I say go for it. I disagree strongly with the whole concept of localized exception messages. Localization for users yes, but developers no. On 1/28/07, Luc Maisonobe [EMAIL PROTECTED] wrote: As a non-native english speaker, I am quite eager to provide users with libraries that can be embedded seemlessly into localized applications. IMO, a localized application actually means localization for users, and implies nothing for developers. Adding localized error messages is another place for the application to go wrong, so you're going to have to test this fully. After all, if you get it wrong, you could lose the real exception and just get a meaningless failed to localize exception. And thats a terrible outcome. For the record, I would -1 any code commit to add localized error messages to a component I actively commit to. I'm late to the table on this thread, and only care about the Commons libraries I care about :-), but you should be aware that this attitude will disqualify the use of such libraries from use within code from organizations that have strict rules about implementing localization. I work for such an organization (Sun) ... the key rules are that any message that might be visible to users *must* be localizable. For log messages, that tends to translate into a straightforward policy that DEBUG and TRACE type messages do not need to be localized, but anything from INFO level above must be. The issue for exception messages is a bit more interesting. How does the library developer know whether or not the message part of the exception will be displayed to end users? From a pragmatic viewpoint, you can pretty much assume this will happen with exceptions in webapps, while many Swing apps will hide that sort of stuff to some degree. But, as a bottom line, if I'm interested in maximum adoption of a Commons library I work on, I will diligently ensure that exception messages are localizable :-). Stephen Craig - 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: [all] exceptions and localization
Craig McClanahan wrote: I'm late to the table on this thread, and only care about the Commons libraries I care about :-) Thanks for your interest in this thread. but you should be aware that this attitude will disqualify the use of such libraries from use within code from organizations that have strict rules about implementing localization. I work for such an organization (Sun) ... the key rules are that any message that might be visible to users *must* be localizable. I agree with you and thought localization should be provided by the layer which provides the message. Other people think this should be done at application level, if done at all. For log messages, that tends to translate into a straightforward policy that DEBUG and TRACE type messages do not need to be localized, but anything from INFO level above must be. The issue for exception messages is a bit more interesting. How does the library developer know whether or not the message part of the exception will be displayed to end users? From a pragmatic viewpoint, you can pretty much assume this will happen with exceptions in webapps, while many Swing apps will hide that sort of stuff to some degree. I think that since low level components may be used almost anywhere, their messages *may* be displayed and this sole possibility is enough to justify a localized version should be made available. If the application gets an error it really doesn't know about, it can simply display it. But, as a bottom line, if I'm interested in maximum adoption of a Commons library I work on, I will diligently ensure that exception messages are localizable :-). When I first started this long thread, I thought the need for localized error messages as provided by exceptions was acknowledged by everyone and asked for the way to implement it, starting from a simple one which already works. I was wrong. The disagreement started about the need itself and slipped to the level at which implementation should be done. I would really like to reach a compromise on this issue, something that could by accepted by everybody. I don't want to get banned with a -1 on a commit, but at least a few people would like localized error messages that can be simply forwarded upward from lower layers to upper layer for display without processing. Standard java already provides Throwable.getLocalizedMessage() since JDK 1.1. I could set up for [math] only an exception hierarchy that only add a few constructors and an implementation of this method without any change in the Throwable.getMessage() behaviour. Does this sound reasonable ? Luc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]: Project commons-jelly-tags-soap (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-soap has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 76 runs. The current state of this project is 'Failed', with reason 'Configuration Failed'. For reference only, the following projects are affected by this: - commons-jelly-tags-soap : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-soap/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-soap-30012007.jar] identifier set to project name -ERROR- No such project [ws-jaxme] for property. -ERROR- Cannot resolve output/outputpath of *unknown* [ws-jaxme] -ERROR- Unhandled Property: maven.jar.jaxme-api on: Maven on Project:commons-jelly-tags-soap -DEBUG- Dependency on ws-axis exists, no need to add for property maven.jar.axis. -DEBUG- Dependency on ws-axis exists, no need to add for property maven.jar.jaxrpc-api. -DEBUG- Dependency on ws-axis exists, no need to add for property maven.jar.saaj-api. -DEBUG- Dependency on jakarta-servletapi-5-servlet exists, no need to add for property maven.jar.servletapi. -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -INFO- Failed with reason configuration failed -ERROR- Bad Dependency. Project: ws-jaxme unknown to *this* workspace -INFO- Failed to extract fallback artifacts from Gump Repository To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-soap/rss.xml - Atom: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-soap/atom.xml == Gump Tracking Only === Produced by Gump version 2.2. Gump Run 2330012007, vmgump.apache.org:vmgump-public:2330012007 Gump E-mail Identifier (unique within run) #39. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]: Project commons-jelly-tags-soap (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-soap has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 76 runs. The current state of this project is 'Failed', with reason 'Configuration Failed'. For reference only, the following projects are affected by this: - commons-jelly-tags-soap : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-soap/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-soap-30012007.jar] identifier set to project name -ERROR- No such project [ws-jaxme] for property. -ERROR- Cannot resolve output/outputpath of *unknown* [ws-jaxme] -ERROR- Unhandled Property: maven.jar.jaxme-api on: Maven on Project:commons-jelly-tags-soap -DEBUG- Dependency on ws-axis exists, no need to add for property maven.jar.axis. -DEBUG- Dependency on ws-axis exists, no need to add for property maven.jar.jaxrpc-api. -DEBUG- Dependency on ws-axis exists, no need to add for property maven.jar.saaj-api. -DEBUG- Dependency on jakarta-servletapi-5-servlet exists, no need to add for property maven.jar.servletapi. -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -INFO- Failed with reason configuration failed -ERROR- Bad Dependency. Project: ws-jaxme unknown to *this* workspace -INFO- Failed to extract fallback artifacts from Gump Repository To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-soap/rss.xml - Atom: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-soap/atom.xml == Gump Tracking Only === Produced by Gump version 2.2. Gump Run 2330012007, vmgump.apache.org:vmgump-public:2330012007 Gump E-mail Identifier (unique within run) #39. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]: Project commons-jelly-tags-jaxme (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-jaxme has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 76 runs. The current state of this project is 'Failed', with reason 'Configuration Failed'. For reference only, the following projects are affected by this: - commons-jelly-tags-jaxme : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jaxme/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-jaxme-30012007.jar] identifier set to project name -ERROR- No such project [ws-jaxme] for property. -ERROR- No such project [ws-jaxme] for property. -ERROR- No such project [ws-jaxme] for property. -ERROR- No such project [ws-jaxme] for property. -ERROR- Cannot resolve output/outputpath of *unknown* [ws-jaxme] -ERROR- Unhandled Property: maven.jar.jaxme-js on: Maven on Project:commons-jelly-tags-jaxme -ERROR- Cannot resolve output/outputpath of *unknown* [ws-jaxme] -ERROR- Unhandled Property: maven.jar.jaxme on: Maven on Project:commons-jelly-tags-jaxme -ERROR- Cannot resolve output/outputpath of *unknown* [ws-jaxme] -ERROR- Unhandled Property: maven.jar.jaxme-api on: Maven on Project:commons-jelly-tags-jaxme -ERROR- Cannot resolve output/outputpath of *unknown* [ws-jaxme] -ERROR- Unhandled Property: maven.jar.jaxme-xs on: Maven on Project:commons-jelly-tags-jaxme -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -INFO- Failed with reason configuration failed -ERROR- Bad Dependency. Project: ws-jaxme unknown to *this* workspace -INFO- Failed to extract fallback artifacts from Gump Repository To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jaxme/rss.xml - Atom: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jaxme/atom.xml == Gump Tracking Only === Produced by Gump version 2.2. Gump Run 2330012007, vmgump.apache.org:vmgump-public:2330012007 Gump E-mail Identifier (unique within run) #42. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]: Project commons-jelly-tags-jaxme (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-jaxme has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 76 runs. The current state of this project is 'Failed', with reason 'Configuration Failed'. For reference only, the following projects are affected by this: - commons-jelly-tags-jaxme : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jaxme/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-jaxme-30012007.jar] identifier set to project name -ERROR- No such project [ws-jaxme] for property. -ERROR- No such project [ws-jaxme] for property. -ERROR- No such project [ws-jaxme] for property. -ERROR- No such project [ws-jaxme] for property. -ERROR- Cannot resolve output/outputpath of *unknown* [ws-jaxme] -ERROR- Unhandled Property: maven.jar.jaxme-js on: Maven on Project:commons-jelly-tags-jaxme -ERROR- Cannot resolve output/outputpath of *unknown* [ws-jaxme] -ERROR- Unhandled Property: maven.jar.jaxme on: Maven on Project:commons-jelly-tags-jaxme -ERROR- Cannot resolve output/outputpath of *unknown* [ws-jaxme] -ERROR- Unhandled Property: maven.jar.jaxme-api on: Maven on Project:commons-jelly-tags-jaxme -ERROR- Cannot resolve output/outputpath of *unknown* [ws-jaxme] -ERROR- Unhandled Property: maven.jar.jaxme-xs on: Maven on Project:commons-jelly-tags-jaxme -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -INFO- Failed with reason configuration failed -ERROR- Bad Dependency. Project: ws-jaxme unknown to *this* workspace -INFO- Failed to extract fallback artifacts from Gump Repository To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jaxme/rss.xml - Atom: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jaxme/atom.xml == Gump Tracking Only === Produced by Gump version 2.2. Gump Run 2330012007, vmgump.apache.org:vmgump-public:2330012007 Gump E-mail Identifier (unique within run) #42. -- Apache Gump http://gump.apache.org/ [Instance: vmgump] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Updated: (VFS-109) Ant tasks could be improved to support filesets
[ https://issues.apache.org/jira/browse/VFS-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ludovic Maître updated VFS-109: --- Attachment: commons-vfs-ant-1.0-SNAPSHOT-BUT-PERHAPS-BETTER-src.tar.bz2 This is a more tested version. I have sent the contributor agreement to the ASF, from France so perhaps this can take some time. Any feedback/bug reports are welcomes on this issue, Best regards; Ant tasks could be improved to support filesets --- Key: VFS-109 URL: https://issues.apache.org/jira/browse/VFS-109 Project: Commons VFS Issue Type: Improvement Affects Versions: later Environment: Mac OS X, Linux Reporter: Ludovic Maître Assigned To: Mario Ivankovits Priority: Minor Fix For: later Attachments: commons-vfs-ant-1.0-SNAPSHOT-BUT-PERHAPS-BETTER-src.tar.bz2, commons-vfs-ant-1.0-SNAPSHOT-src.tar.bz2, commons-vfs-ant-1.0-SNAPSHOT-src.tar.bz2, README.txt, RELEASE_NOTES.txt The Commons-VFS Ant tasks could be improved to support filesets, or an object derived from filesets which support FileObjects instead of files. I've done a preliminary version of this. The content of the attached file contain a replacement package for the ant tasks, which extend them and add selectors, vfs:fileset and directory scanner for VFS. It is a functional, i use it for my deployment system. It use Ant 1.6.5 (and not 1.6.2). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Commented: (VALIDATOR-221) DateValidator considers 02/29 with format MM/dd invalid
[ https://issues.apache.org/jira/browse/VALIDATOR-221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468695 ] Henri Yandell commented on VALIDATOR-221: - The Date that should be returned is 02/29/2007 as that's the current year - which is invalid. Next year 02/29 will be valid [no idea DateFormat wise, but that's what I'd expect :) ] DateValidator considers 02/29 with format MM/dd invalid --- Key: VALIDATOR-221 URL: https://issues.apache.org/jira/browse/VALIDATOR-221 Project: Commons Validator Issue Type: Bug Affects Versions: 1.3.1 Release Environment: Windows XP, Java 1.5.0_04 Reporter: Carsten Drossel Priority: Minor When the date pattern contains only day and month the isValid(..)-method of DateValidator returns false for the value Feb. 29th. Here is a JUnit test that fails: public void testFebruary29th() throws Exception { assertTrue( DateValidator.getInstance().isValid( 02/29, MM/dd, true ) ); } The DateValidator uses the parse(..)-method of SimpleDateFormat for the validation. This method appears to complete any date using 01/01/1970 00:00. Since 1970 was not a leap year a ParseException is thrown for the input 02/29 with the format MM/dd because 02/29/1970 is not a valid date. But IMHO 02/29 should be valid. An example where it makes sense is a search for persons with a certain birthday. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]: Project commons-jelly-tags-jsl-test (in module commons-jelly) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project commons-jelly-tags-jsl-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 5 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-jelly-tags-jsl-test : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on ant exists, no need to add for property maven.jar.ant-optional. -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -WARNING- Overriding Maven properties: [/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties] -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/test-reports The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/gump_work/build_commons-jelly_commons-jelly-tags-jsl-test.html Work Name: build_commons-jelly_commons-jelly-tags-jsl-test (Type: Build) Work ended in a state of : Failed Elapsed: 25 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/commons-cli-1.0.x/target/commons-cli-30012007.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-30012007.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-30012007.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/ant/target/commons-jelly-tags-ant-30012007.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-30012007.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-30012007.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-30012007.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-30012007.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-30012007.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-30012007.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/public/workspace/jaxen/target/jaxen-30012007.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar - [junit] at org.apache.commons.jelly.tags.junit.AssertTagSupport.fail(AssertTagSupport.java:64) [junit] at org.apache.commons.jelly.tags.junit.AssertTag.doTag(AssertTag.java:59) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:263) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:96) [junit] at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:187) [junit] at org.apache.commons.jelly.impl.StaticTag.doTag(StaticTag.java:66) [junit] at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:113) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:96) [junit] at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:187) [junit] at org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTag.java:161) [junit] at org.dom4j.rule.Mode.fireRule(Mode.java:59) [junit] at org.dom4j.rule.Mode.applyTemplates(Mode.java:80) [junit] at org.dom4j.rule.RuleManager$1.run(RuleManager.java:171) [junit] at
[EMAIL PROTECTED]: Project commons-jelly-tags-jsl-test (in module commons-jelly) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at [EMAIL PROTECTED] Project commons-jelly-tags-jsl-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 5 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-jelly-tags-jsl-test : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on ant exists, no need to add for property maven.jar.ant-optional. -DEBUG- Dependency on xml-xerces exists, no need to add for property maven.jar.xerces. -WARNING- Overriding Maven properties: [/usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties] -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl/target/test-reports The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-jsl-test/gump_work/build_commons-jelly_commons-jelly-tags-jsl-test.html Work Name: build_commons-jelly_commons-jelly-tags-jsl-test (Type: Build) Work ended in a state of : Failed Elapsed: 25 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/jsl] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/jakarta-commons/beanutils/dist/commons-beanutils-core.jar:/usr/local/gump/public/workspace/commons-cli-1.0.x/target/commons-cli-30012007.jar:/usr/local/gump/public/workspace/jakarta-commons/collections/build/commons-collections-30012007.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-30012007.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/ant/target/commons-jelly-tags-ant-30012007.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-30012007.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/log/target/commons-jelly-tags-log-30012007.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/xml/target/commons-jelly-tags-xml-30012007.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-30012007.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-30012007.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-30012007.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/public/workspace/jaxen/target/jaxen-30012007.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar - [junit] at org.apache.commons.jelly.tags.junit.AssertTagSupport.fail(AssertTagSupport.java:64) [junit] at org.apache.commons.jelly.tags.junit.AssertTag.doTag(AssertTag.java:59) [junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:263) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:96) [junit] at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:187) [junit] at org.apache.commons.jelly.impl.StaticTag.doTag(StaticTag.java:66) [junit] at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:113) [junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:96) [junit] at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:187) [junit] at org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTag.java:161) [junit] at org.dom4j.rule.Mode.fireRule(Mode.java:59) [junit] at org.dom4j.rule.Mode.applyTemplates(Mode.java:80) [junit] at org.dom4j.rule.RuleManager$1.run(RuleManager.java:171) [junit] at
[EMAIL PROTECTED]: Project commons-jelly-tags-fmt-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-fmt-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 5 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-jelly-tags-fmt-test : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-fmt-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/fmt/build.properties] -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/fmt/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/fmt/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/fmt/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/fmt/target/test-reports The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-fmt-test/gump_work/build_commons-jelly_commons-jelly-tags-fmt-test.html Work Name: build_commons-jelly_commons-jelly-tags-fmt-test (Type: Build) Work ended in a state of : Failed Elapsed: 18 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/fmt] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/bsh-2.0b4/bsh-commands-2.0b4.jar:/usr/local/gump/packages/bsh-2.0b4/bsh-classpath-2.0b4.jar:/usr/local/gump/packages/bsh-2.0b4/bsh-core-2.0b4.jar:/usr/local/gump/packages/bsh-2.0b4/bsh-bsf-2.0b4.jar:/usr/local/gump/packages/bsh-2.0b4/bsh-2.0b4.jar:/usr/local/gump/packages/bsh-2.0b4/bsh-reflect-2.0b4.jar:/usr/local/gump/packages/bsh-2.0b4/bsh-util-2.0b4.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-30012007.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-30012007.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/ant/target/commons-jelly-tags-ant-30012007.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/beanshell/target/commons-jelly-tags-beanshell-30012007.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-30012007.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-30012007.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-30012007.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-30012007.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/public/workspace/jaxen/target/jaxen-30012007.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/fmt/target/commons-jelly-tags-fmt-30012007.jar - [junit] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) [junit] at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) [junit] at java.net.URLClassLoader.access$100(URLClassLoader.java:56) [junit] at java.net.URLClassLoader$1.run(URLClassLoader.java:195) [junit] at java.security.AccessController.doPrivileged(Native Method) [junit] at java.net.URLClassLoader.findClass(URLClassLoader.java:188) [junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [junit] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) [junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:251) [junit] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) [junit] at org.apache.commons.jelly.tags.ant.AntTagLibrary.createProject(AntTagLibrary.java:128)
[EMAIL PROTECTED]: Project commons-jelly-tags-fmt-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-fmt-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 5 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - commons-jelly-tags-fmt-test : Commons Jelly Full details are available at: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-fmt-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/fmt/build.properties] -DEBUG- (Gump generated) Maven Properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/fmt/build.properties -INFO- Failed with reason build failed -DEBUG- Maven POM in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/fmt/project.xml -DEBUG- Maven project properties in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/fmt/project.properties -INFO- Project Reports in: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/fmt/target/test-reports The following work was performed: http://vmgump.apache.org/gump/public/commons-jelly/commons-jelly-tags-fmt-test/gump_work/build_commons-jelly_commons-jelly-tags-fmt-test.html Work Name: build_commons-jelly_commons-jelly-tags-fmt-test (Type: Build) Work ended in a state of : Failed Elapsed: 18 secs Command Line: maven --offline jar [Working Directory: /usr/local/gump/public/workspace/commons-jelly/jelly-tags/fmt] CLASSPATH: /opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/packages/bsh-2.0b4/bsh-commands-2.0b4.jar:/usr/local/gump/packages/bsh-2.0b4/bsh-classpath-2.0b4.jar:/usr/local/gump/packages/bsh-2.0b4/bsh-core-2.0b4.jar:/usr/local/gump/packages/bsh-2.0b4/bsh-bsf-2.0b4.jar:/usr/local/gump/packages/bsh-2.0b4/bsh-2.0b4.jar:/usr/local/gump/packages/bsh-2.0b4/bsh-reflect-2.0b4.jar:/usr/local/gump/packages/bsh-2.0b4/bsh-util-2.0b4.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-30012007.jar:/usr/local/gump/public/workspace/commons-jelly/target/commons-jelly-30012007.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/ant/target/commons-jelly-tags-ant-30012007.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/beanshell/target/commons-jelly-tags-beanshell-30012007.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/junit/target/commons-jelly-tags-junit-30012007.jar:/usr/local/gump/public/workspace/jakarta-commons/jexl/dist/commons-jexl-30012007.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-30012007.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/commons-logging-api-30012007.jar:/usr/local/gump/public/workspace/dom4j/build/dom4j.jar:/usr/local/gump/public/workspace/jaxen/target/jaxen-30012007.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar:/usr/local/gump/public/workspace/commons-jelly/jelly-tags/fmt/target/commons-jelly-tags-fmt-30012007.jar - [junit] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) [junit] at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) [junit] at java.net.URLClassLoader.access$100(URLClassLoader.java:56) [junit] at java.net.URLClassLoader$1.run(URLClassLoader.java:195) [junit] at java.security.AccessController.doPrivileged(Native Method) [junit] at java.net.URLClassLoader.findClass(URLClassLoader.java:188) [junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [junit] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) [junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:251) [junit] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) [junit] at org.apache.commons.jelly.tags.ant.AntTagLibrary.createProject(AntTagLibrary.java:128)
[RESULT] IO 1.3 (RC3)
The third release candidate of IO 1.3 has been voted into being. +1s from: Niall Pemberton Jörg Schaible Stephen Colebourne Phil Steitz Previous releases had +1s from: Jochen Wiedmann Rahul Alkolkar Torsten Curdt Gary Gregory RC3 - http://mail-archives.apache.org/mod_mbox/jakarta-commons-dev/200701.mbox/[EMAIL PROTECTED] RC2 - http://mail-archives.apache.org/mod_mbox/jakarta-commons-dev/200701.mbox/[EMAIL PROTECTED] Hen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Commented: (VALIDATOR-221) DateValidator considers 02/29 with format MM/dd invalid
[ https://issues.apache.org/jira/browse/VALIDATOR-221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468773 ] Gabriel Belingueres commented on VALIDATOR-221: --- I think there is a subtle mistake here in trying to use a DateValidator to validate if 02/29 is a valid date. The thing is that February the 29 is valid *depending on the year* you are talking about, and this is a necessary context information that is lacking here. As of why SimpleDateFormat assumes by default that you are talking about 1970 instead of throwing an exception is beyond me understanding. See this other example: df = new SimpleDateFormat(dd); df.setLenient(false); d = df.parse(31); Now d is 01/31/1970, so it is valid. Again SimpleDateFormat assumes month 1, year 1970. Now I think that you should better of relaying in a regexp validator or some custom functionality since what you are trying to validate definitively is not a date. Perhaps DateValidator could detect those incomplete cases. May be it could check the pattern parameter and try to ask if it include the following sub strings: d or dd or ddd, M or MM or MMM, yy or to detect those invalid cases? Anyway, as long as DateValidator is relying on SimpleDateFormat I see no simple solution here. DateValidator considers 02/29 with format MM/dd invalid --- Key: VALIDATOR-221 URL: https://issues.apache.org/jira/browse/VALIDATOR-221 Project: Commons Validator Issue Type: Bug Affects Versions: 1.3.1 Release Environment: Windows XP, Java 1.5.0_04 Reporter: Carsten Drossel Priority: Minor When the date pattern contains only day and month the isValid(..)-method of DateValidator returns false for the value Feb. 29th. Here is a JUnit test that fails: public void testFebruary29th() throws Exception { assertTrue( DateValidator.getInstance().isValid( 02/29, MM/dd, true ) ); } The DateValidator uses the parse(..)-method of SimpleDateFormat for the validation. This method appears to complete any date using 01/01/1970 00:00. Since 1970 was not a leap year a ParseException is thrown for the input 02/29 with the format MM/dd because 02/29/1970 is not a valid date. But IMHO 02/29 should be valid. An example where it makes sense is a search for persons with a certain birthday. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r501540 - in /jakarta/commons/proper/io/trunk: build.xml pom.xml project.xml
Author: bayard Date: Tue Jan 30 12:24:48 2007 New Revision: 501540 URL: http://svn.apache.org/viewvc?view=revrev=501540 Log: Moved to 1.4-SNAPSHOT as 1.3 is now releasable Modified: jakarta/commons/proper/io/trunk/build.xml jakarta/commons/proper/io/trunk/pom.xml jakarta/commons/proper/io/trunk/project.xml Modified: jakarta/commons/proper/io/trunk/build.xml URL: http://svn.apache.org/viewvc/jakarta/commons/proper/io/trunk/build.xml?view=diffrev=501540r1=501539r2=501540 == --- jakarta/commons/proper/io/trunk/build.xml (original) +++ jakarta/commons/proper/io/trunk/build.xml Tue Jan 30 12:24:48 2007 @@ -26,7 +26,7 @@ /property property name=testreportdir value=${basedir}/build/test-reports /property - property name=final.name value=commons-io-1.3-SNAPSHOT / + property name=final.name value=commons-io-1.4-SNAPSHOT / property name=dist.build.dir value=${basedir}/build/dist-build / property name=dist.bin value=${dist.build.dir}/${final.name} / property name=dist.src value=${dist.build.dir}/${final.name}-src / @@ -272,7 +272,7 @@ /tstamp property name=copyright value=Copyright amp;copy; The Apache Software Foundation. All Rights Reserved. /property -property name=title value=IO 1.3-SNAPSHOT +property name=title value=IO 1.4-SNAPSHOT /property javadoc use=true private=true destdir=${javadocdir} author=true version=true sourcepath=${basedir}/src/java packagenames=org.apache.commons.io.* overview=src/java/org/apache/commons/io/overview.html classpath Modified: jakarta/commons/proper/io/trunk/pom.xml URL: http://svn.apache.org/viewvc/jakarta/commons/proper/io/trunk/pom.xml?view=diffrev=501540r1=501539r2=501540 == --- jakarta/commons/proper/io/trunk/pom.xml (original) +++ jakarta/commons/proper/io/trunk/pom.xml Tue Jan 30 12:24:48 2007 @@ -27,7 +27,7 @@ modelVersion4.0.0/modelVersion groupIdcommons-io/groupId artifactIdcommons-io/artifactId - version1.3-SNAPSHOT/version + version1.4-SNAPSHOT/version nameIO/name inceptionYear2002/inceptionYear Modified: jakarta/commons/proper/io/trunk/project.xml URL: http://svn.apache.org/viewvc/jakarta/commons/proper/io/trunk/project.xml?view=diffrev=501540r1=501539r2=501540 == --- jakarta/commons/proper/io/trunk/project.xml (original) +++ jakarta/commons/proper/io/trunk/project.xml Tue Jan 30 12:24:48 2007 @@ -21,7 +21,7 @@ nameIO/name groupIdcommons-io/groupId artifactIdcommons-io/artifactId - currentVersion1.3-SNAPSHOT/currentVersion + currentVersion1.4-SNAPSHOT/currentVersion inceptionYear2002/inceptionYear shortDescriptionCommons IO/shortDescription description - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r501541 - /jakarta/commons/proper/io/tags/IO_1_3/
Author: bayard Date: Tue Jan 30 12:25:21 2007 New Revision: 501541 URL: http://svn.apache.org/viewvc?view=revrev=501541 Log: Releasing 1.3 Added: jakarta/commons/proper/io/tags/IO_1_3/ - copied from r501540, jakarta/commons/proper/io/tags/IO_1_3_RC3/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r501543 - /jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/ExtendedBufferedReader.java
Author: yonik Date: Tue Jan 30 12:29:06 2007 New Revision: 501543 URL: http://svn.apache.org/viewvc?view=revrev=501543 Log: prevent blocking on lookahead after EOL: SANDBOX-173 Modified: jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/ExtendedBufferedReader.java Modified: jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/ExtendedBufferedReader.java URL: http://svn.apache.org/viewvc/jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/ExtendedBufferedReader.java?view=diffrev=501543r1=501542r2=501543 == --- jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/ExtendedBufferedReader.java (original) +++ jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/ExtendedBufferedReader.java Tue Jan 30 12:29:06 2007 @@ -81,7 +81,11 @@ lookaheadChar = super.read(); } lastChar = lookaheadChar; -lookaheadChar = super.read(); +if (super.ready()) { + lookaheadChar = super.read(); +} else { + lookaheadChar = UNDEFINED; +} if (lastChar == '\n') { lineCounter++; } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Resolved: (SANDBOX-173) CSVParser.getLine() blocks until char after eol is recieved.
[ https://issues.apache.org/jira/browse/SANDBOX-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yonik Seeley resolved SANDBOX-173. -- Resolution: Fixed I just committed this patch. Thanks Erik! CSVParser.getLine() blocks until char after eol is recieved. Key: SANDBOX-173 URL: https://issues.apache.org/jira/browse/SANDBOX-173 Project: Commons Sandbox Issue Type: Bug Components: CSV Affects Versions: Nightly Builds Reporter: Erik Engstrom Attachments: ExtendedBufferedReader.java.diff If you are parsing a stream (for example stdin) and you call CSVParser.getLine() I would it to expect to block until a eol or eof is encountered. Instead the method blocks until it has recieved a char after the eol. This seems to be because ExtendedBufferReader blocks on lookaheadchar in read(). It should check to see if there the underlying input stream is ready before blocking to read the lookaheadchar. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r501549 - in /jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv: CSVParser.java CSVUtils.java
Author: yonik Date: Tue Jan 30 12:39:40 2007 New Revision: 501549 URL: http://svn.apache.org/viewvc?view=revrev=501549 Log: trivial cleanup of javadoc errors Modified: jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVParser.java jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVUtils.java Modified: jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVParser.java URL: http://svn.apache.org/viewvc/jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVParser.java?view=diffrev=501549r1=501548r2=501549 == --- jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVParser.java (original) +++ jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVParser.java Tue Jan 30 12:39:40 2007 @@ -104,10 +104,9 @@ // == /** - * Default strategy for the parser follows the default CSV Strategy. + * Default strategy for the parser follows the default [EMAIL PROTECTED] CSVStrategy}. * * @param input an InputStream containing csv-formatted stream - * @see #setStrategy() * @deprecated use [EMAIL PROTECTED] #CSVParser(Reader)}. */ public CSVParser(InputStream input) { @@ -118,7 +117,6 @@ * CSV parser using the default [EMAIL PROTECTED] CSVStrategy}. * * @param input a Reader containing csv-formatted input - * @see #setStrategy() */ public CSVParser(Reader input) { // note: must match default-CSV-strategy !! @@ -128,8 +126,8 @@ /** * Customized value delimiter parser. * - * The parser follows the default CSV strategy as defined in - * [EMAIL PROTECTED] #setStrategy()} except for the delimiter setting. + * The parser follows the default [EMAIL PROTECTED] CSVStrategy} + * except for the delimiter setting. * * @param input a Reader based on csv-formatted input * @param delimiter a Char used for value separation Modified: jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVUtils.java URL: http://svn.apache.org/viewvc/jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVUtils.java?view=diffrev=501549r1=501548r2=501549 == --- jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVUtils.java (original) +++ jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVUtils.java Tue Jan 30 12:39:40 2007 @@ -75,12 +75,11 @@ // == /** - * Parses the given String according to the default CSV strategy. + * Parses the given String according to the default [EMAIL PROTECTED] CSVStrategy}. * * @param s CSV String to be parsed. * @return parsed String matrix (which is never null) * @throws IOException in case of error - * @see #setStrategy() */ public static String[][] parse(String s) throws IOException { if (s == null) { @@ -96,7 +95,7 @@ } /** - * Parses the first line only according to the default CSV strategy. + * Parses the first line only according to the default [EMAIL PROTECTED] CSVStrategy}. * * Parsing empty string will be handled as valid records containing zero * elements, so the following property holds: parseLine().length == 0. @@ -104,7 +103,6 @@ * @param s CSV String to be parsed. * @return parsed String vector (which is never null) * @throws IOException in case of error - * @see #setStrategy() */ public static String[] parseLine(String s) throws IOException { if (s == null) { - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r501556 - in /jakarta/commons/proper/fileupload/trunk: build.xml pom.xml project.xml
Author: bayard Date: Tue Jan 30 12:49:10 2007 New Revision: 501556 URL: http://svn.apache.org/viewvc?view=revrev=501556 Log: Moving to commons-io 1.3 Modified: jakarta/commons/proper/fileupload/trunk/build.xml jakarta/commons/proper/fileupload/trunk/pom.xml jakarta/commons/proper/fileupload/trunk/project.xml Modified: jakarta/commons/proper/fileupload/trunk/build.xml URL: http://svn.apache.org/viewvc/jakarta/commons/proper/fileupload/trunk/build.xml?view=diffrev=501556r1=501555r2=501556 == --- jakarta/commons/proper/fileupload/trunk/build.xml (original) +++ jakarta/commons/proper/fileupload/trunk/build.xml Tue Jan 30 12:49:10 2007 @@ -37,7 +37,7 @@ property name=proxy.password value= /property path id=build.classpath -pathelement location=${libdir}/commons-io/jars/commons-io-1.1.jar +pathelement location=${libdir}/commons-io/jars/commons-io-1.3.jar /pathelement pathelement location=${libdir}/javax.servlet/jars/servlet-api-2.3.jar /pathelement @@ -188,13 +188,13 @@ target name=get-dep-commons-io.jar description=o Download the dependency : commons-io.jar unless=commons-io.jar depends=init,setProxy,noProxy,get-custom-dep-commons-io.jar mkdir dir=${libdir}/commons-io/jars/ /mkdir -get dest=${libdir}/commons-io/jars/commons-io-1.1.jar usetimestamp=true ignoreerrors=true src=http://www.ibiblio.org/maven/commons-io/jars/commons-io-1.1.jar; +get dest=${libdir}/commons-io/jars/commons-io-1.3.jar usetimestamp=true ignoreerrors=true src=http://www.ibiblio.org/maven/commons-io/jars/commons-io-1.3.jar; /get /target target name=get-custom-dep-commons-io.jar if=commons-io.jar depends=init,setProxy,noProxy mkdir dir=${libdir}/commons-io/jars/ /mkdir -get dest=${libdir}/commons-io/jars/commons-io-1.1.jar usetimestamp=true ignoreerrors=true src=${commons-io.jar} +get dest=${libdir}/commons-io/jars/commons-io-1.3.jar usetimestamp=true ignoreerrors=true src=${commons-io.jar} /get /target target name=get-dep-servlet-api.jar description=o Download the dependency : servlet-api.jar unless=servlet-api.jar depends=init,setProxy,noProxy,get-custom-dep-servlet-api.jar @@ -254,4 +254,4 @@ unjar dest=${maven.home} src=${user.home}/maven-install-latest.jar /unjar /target -/project \ No newline at end of file +/project Modified: jakarta/commons/proper/fileupload/trunk/pom.xml URL: http://svn.apache.org/viewvc/jakarta/commons/proper/fileupload/trunk/pom.xml?view=diffrev=501556r1=501555r2=501556 == --- jakarta/commons/proper/fileupload/trunk/pom.xml (original) +++ jakarta/commons/proper/fileupload/trunk/pom.xml Tue Jan 30 12:49:10 2007 @@ -172,7 +172,7 @@ dependency groupIdcommons-io/groupId artifactIdcommons-io/artifactId - version1.3-SNAPSHOT/version + version1.3/version optionaltrue/optional /dependency /dependencies Modified: jakarta/commons/proper/fileupload/trunk/project.xml URL: http://svn.apache.org/viewvc/jakarta/commons/proper/fileupload/trunk/project.xml?view=diffrev=501556r1=501555r2=501556 == --- jakarta/commons/proper/fileupload/trunk/project.xml (original) +++ jakarta/commons/proper/fileupload/trunk/project.xml Tue Jan 30 12:49:10 2007 @@ -169,8 +169,7 @@ dependency groupIdcommons-io/groupId artifactIdcommons-io/artifactId - !-- We will need IO 1.3 when released -- - versionSNAPSHOT/version + version1.3/version urlhttp://jakarta.apache.org/commons/io//url /dependency dependency - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r501557 - /jakarta/commons/proper/lang/trunk/RELEASE-NOTES.txt
Author: bayard Date: Tue Jan 30 12:52:45 2007 New Revision: 501557 URL: http://svn.apache.org/viewvc?view=revrev=501557 Log: Fixed up release notes Modified: jakarta/commons/proper/lang/trunk/RELEASE-NOTES.txt Modified: jakarta/commons/proper/lang/trunk/RELEASE-NOTES.txt URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/RELEASE-NOTES.txt?view=diffrev=501557r1=501556r2=501557 == --- jakarta/commons/proper/lang/trunk/RELEASE-NOTES.txt (original) +++ jakarta/commons/proper/lang/trunk/RELEASE-NOTES.txt Tue Jan 30 12:52:45 2007 @@ -70,17 +70,18 @@ * [LANG-300] - NumberUtils.createNumber throws NumberFormatException for one digit long * [LANG-303] - FastDateFormat.mRules is not transient or serializable * [LANG-304] - NullPointerException in isAvailableLocale(Locale) +* [LANG-313] - Wrong behavior of Entities.unescape IMPROVEMENTS IN 2.3: * [LANG-258] - Enum JavaDoc +* [LANG-266] - Wish for StringUtils.join(Collection, *) * [LANG-268] - StringUtils.join should allow you to pass a range for it (so it only joins a part of the array) +* [LANG-275] - StringUtils substringsBetween +* [LANG-282] - Create more tests to test out the +=31 replacement code in DurationFormatUtils. * [LANG-287] - Optimize StringEscapeUtils.unescapeXml(String) * [LANG-289] - NumberUtils.max(byte[]) and NumberUtils.min(byte[]) are missing * [LANG-291] - Null-safe comparison methods for finding most recent / least recent dates. -* [LANG-282] - Create more tests to test out the +=31 replacement code in DurationFormatUtils. -* [LANG-266] - Wish for StringUtils.join(Collection, *) -* [LANG-310] - BooleanUtils isNotTrue/isNotFalse * [LANG-306] - StrBuilder appendln/appendAll/appendSeparator -* [LANG-275] - StringUtils substringsBetween +* [LANG-310] - BooleanUtils isNotTrue/isNotFalse - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r501558 - /jakarta/commons/proper/lang/trunk/xdocs/upgradeto2_3.xml
Author: bayard Date: Tue Jan 30 12:54:27 2007 New Revision: 501558 URL: http://svn.apache.org/viewvc?view=revrev=501558 Log: Upgrading release notes here too Modified: jakarta/commons/proper/lang/trunk/xdocs/upgradeto2_3.xml Modified: jakarta/commons/proper/lang/trunk/xdocs/upgradeto2_3.xml URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/xdocs/upgradeto2_3.xml?view=diffrev=501558r1=501557r2=501558 == --- jakarta/commons/proper/lang/trunk/xdocs/upgradeto2_3.xml (original) +++ jakarta/commons/proper/lang/trunk/xdocs/upgradeto2_3.xml Tue Jan 30 12:54:27 2007 @@ -78,30 +78,35 @@ BUG FIXES IN 2.3: -* [LANG-69 ] - [lang] ToStringBuilder throws StackOverflowError when an Object cycle exists -* [LANG-153] - [lang] Can't XMLDecode an Enum +* [LANG-69 ] - ToStringBuilder throws StackOverflowError when an Object cycle exists +* [LANG-102] - Refactor Entities methods +* [LANG-153] - Can't XMLDecode an Enum * [LANG-262] - Use of enum prevents a classloader from being garbage collected resuling in out of memory exceptions. * [LANG-279] - HashCodeBuilder throws java.lang.StackOverflowError when an object contains a cycle. * [LANG-281] - DurationFormatUtils returns wrong result * [LANG-286] - Serialization - not backwards compatible -* [LANG-292] - unescapeXml(amp;12345678;) should be amp;12345678; +* [LANG-292] - unescapeXml(12345678;) should be 12345678; * [LANG-294] - StrBuilder.replaceAll and StrBuilder.deleteAll can throw ArrayIndexOutOfBoundsException. * [LANG-295] - StrBuilder contains usages of thisBuf.length when they should use size * [LANG-299] - Bug in method appendFixedWidthPadRight of class StrBuilder causes an ArrayIndexOutOfBoundsException * [LANG-300] - NumberUtils.createNumber throws NumberFormatException for one digit long * [LANG-303] - FastDateFormat.mRules is not transient or serializable * [LANG-304] - NullPointerException in isAvailableLocale(Locale) +* [LANG-313] - Wrong behavior of Entities.unescape IMPROVEMENTS IN 2.3: -* [LANG-238] - [lang] Add equals(type[]) to NumberUtils * [LANG-258] - Enum JavaDoc +* [LANG-266] - Wish for StringUtils.join(Collection, *) * [LANG-268] - StringUtils.join should allow you to pass a range for it (so it only joins a part of the array) +* [LANG-275] - StringUtils substringsBetween +* [LANG-282] - Create more tests to test out the +=31 replacement code in DurationFormatUtils. * [LANG-287] - Optimize StringEscapeUtils.unescapeXml(String) * [LANG-289] - NumberUtils.max(byte[]) and NumberUtils.min(byte[]) are missing * [LANG-291] - Null-safe comparison methods for finding most recent / least recent dates. -* [LANG-282] - Create more tests to test out the +=31 replacement code in DurationFormatUtils. -* [LANG-266] - Wish for StringUtils.join(Collection, *) +* [LANG-306] - StrBuilder appendln/appendAll/appendSeparator +* [LANG-310] - BooleanUtils isNotTrue/isNotFalse + /source /p /section - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r501561 - /jakarta/commons/proper/lang/trunk/xdocs/upgradeto2_3.xml
Author: bayard Date: Tue Jan 30 13:03:54 2007 New Revision: 501561 URL: http://svn.apache.org/viewvc?view=revrev=501561 Log: Fixing messup that I reintroduced Modified: jakarta/commons/proper/lang/trunk/xdocs/upgradeto2_3.xml Modified: jakarta/commons/proper/lang/trunk/xdocs/upgradeto2_3.xml URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/xdocs/upgradeto2_3.xml?view=diffrev=501561r1=501560r2=501561 == --- jakarta/commons/proper/lang/trunk/xdocs/upgradeto2_3.xml (original) +++ jakarta/commons/proper/lang/trunk/xdocs/upgradeto2_3.xml Tue Jan 30 13:03:54 2007 @@ -85,7 +85,7 @@ * [LANG-279] - HashCodeBuilder throws java.lang.StackOverflowError when an object contains a cycle. * [LANG-281] - DurationFormatUtils returns wrong result * [LANG-286] - Serialization - not backwards compatible -* [LANG-292] - unescapeXml(12345678;) should be 12345678; +* [LANG-292] - unescapeXml(amp;12345678;) should be amp;12345678; * [LANG-294] - StrBuilder.replaceAll and StrBuilder.deleteAll can throw ArrayIndexOutOfBoundsException. * [LANG-295] - StrBuilder contains usages of thisBuf.length when they should use size * [LANG-299] - Bug in method appendFixedWidthPadRight of class StrBuilder causes an ArrayIndexOutOfBoundsException - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r501564 - /jakarta/commons/proper/lang/trunk/xdocs/index.xml
Author: bayard Date: Tue Jan 30 13:11:09 2007 New Revision: 501564 URL: http://svn.apache.org/viewvc?view=revrev=501564 Log: Moving Documentation back above Releases Modified: jakarta/commons/proper/lang/trunk/xdocs/index.xml Modified: jakarta/commons/proper/lang/trunk/xdocs/index.xml URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/xdocs/index.xml?view=diffrev=501564r1=501563r2=501564 == --- jakarta/commons/proper/lang/trunk/xdocs/index.xml (original) +++ jakarta/commons/proper/lang/trunk/xdocs/index.xml Tue Jan 30 13:11:09 2007 @@ -39,6 +39,17 @@ /p /section !-- == -- +section name=Documentation +p +A getting started a href=userguide.htmluser guide/a is available +together with various a href=maven-reports.htmlproject reports/a. +/p +p +The a href=cvs-usage.htmlsubversion repository/a can be +a href=http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/;browsed/a. +/p +/section +!-- == -- section name=Releases p The latest version is 2.3. - @@ -58,17 +69,6 @@ p For previous releases, see the a href=http://archive.apache.org/dist/jakarta/commons/lang/;Apache Archive/a. -/p -/section -!-- == -- -section name=Documentation -p -A getting started a href=userguide.htmluser guide/a is available -together with various a href=maven-reports.htmlproject reports/a. -/p -p -The a href=cvs-usage.htmlsubversion repository/a can be -a href=http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/;browsed/a. /p /section !-- == -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r501566 - /jakarta/commons/proper/lang/trunk/xdocs/index.xml
Author: bayard Date: Tue Jan 30 13:13:57 2007 New Revision: 501566 URL: http://svn.apache.org/viewvc?view=revrev=501566 Log: Fixing missing 'for's Modified: jakarta/commons/proper/lang/trunk/xdocs/index.xml Modified: jakarta/commons/proper/lang/trunk/xdocs/index.xml URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/xdocs/index.xml?view=diffrev=501566r1=501565r2=501566 == --- jakarta/commons/proper/lang/trunk/xdocs/index.xml (original) +++ jakarta/commons/proper/lang/trunk/xdocs/index.xml Tue Jan 30 13:13:57 2007 @@ -59,9 +59,9 @@ table trthVersion/ththRelease date/ththJavadoc/ththRelease notes/th/tr -trtd2.3/tdtdPending/tdtda href=api-2.3/api-2.3/a/tdtda href=upgradeto2_3.htmlrelease notes 2.3/a/td/tr -trtd2.2/tdtd04/Oct/06/tdtda href=api-2.2/api-2.2/a/tdtda href=upgradeto2_2.htmlrelease notes 2.2/a/td/tr -trtd2.1/tdtd13/Jun/06/tdtda href=api-2.1/api-2.1/a/tdtda href=upgradeto2_1.htmlrelease notes 2.1/a/td/tr +trtd2.3/tdtdPending/tdtda href=api-2.3/api-2.3/a/tdtda href=upgradeto2_3.htmlrelease notes for 2.3/a/td/tr +trtd2.2/tdtd04/Oct/06/tdtda href=api-2.2/api-2.2/a/tdtda href=upgradeto2_2.htmlrelease notes for 2.2/a/td/tr +trtd2.1/tdtd13/Jun/06/tdtda href=api-2.1/api-2.1/a/tdtda href=upgradeto2_1.htmlrelease notes for 2.1/a/td/tr trtd2.0/tdtd02/Sep/03/tdtda href=api-2.0/api-2.0/a/tdtda href=upgradeto2_0.htmlrelease notes for 2.0/a/td/tr trtd1.0.1/tdtd25/Nov/02/tdtda href=api-1.0.1/api-1.0.1/a/tdtda href=http://archive.apache.org/dist/jakarta/commons/lang/old/v1.0.1/RELEASE-NOTES.txt;release notes for 1.0.1/a/td/tr trtd1.0/tdtd04/Oct/02/tdtda href=api-1.0/api-1.0/a/tdtda href=http://archive.apache.org/dist/jakarta/commons/lang/old/v1.0/RELEASE-NOTES.txt;release notes for 1.0/a/td/tr - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ang] pre 2.3 build
On 1/4/07, Stephen Colebourne [EMAIL PROTECTED] wrote: Henri Yandell wrote: Anything need fixing up before doing the real build? I don't like the new table on the home page. I think it provides too much information, and mainly information that isn't that relevant. Yeah, I was experimenting. I definitely like it - I think it helps with the structure of the page - but definitely nothing to hold up a release. I'd much rather improve the downloads.xml to be a release.xml and contain all versions etc. Then this kind of info could sit in there. Its also inconsistent with the other similar commons sites, notably in that releases is now above documentation. (Yes, I know this is minor, but all this helps consistency. If we do change this, we should change it elsewhere too.) Fixed. If it is to be kept then perhaps the release notes column should always have the text 'release notes'? and the javadoc column 'javadoc'. Perhaps there should be a download column? Also, javadoc for 1.0 isn't online, so a symlink to 1.0.1 would need to be created. 1.0 now online. And if we do keep it, then perhaps the releases and documentation section should be merged. Agreed, if it stays then the documentaiton section could just fold into it. I think the best solution would be to move the data to a separate release history page? The home page then just references the download and javadoc of the latest version, probably in a combined releases and documentation section. I'll change to this. Hen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r501600 - in /jakarta/commons/proper/lang/trunk/xdocs: index.xml navigation.xml release-history.xml
Author: bayard Date: Tue Jan 30 14:07:20 2007 New Revision: 501600 URL: http://svn.apache.org/viewvc?view=revrev=501600 Log: Pushing the release history table out to its own page and rolling the frontpage back (somewhat) Added: jakarta/commons/proper/lang/trunk/xdocs/release-history.xml (with props) Modified: jakarta/commons/proper/lang/trunk/xdocs/index.xml jakarta/commons/proper/lang/trunk/xdocs/navigation.xml Modified: jakarta/commons/proper/lang/trunk/xdocs/index.xml URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/xdocs/index.xml?view=diffrev=501600r1=501599r2=501600 == --- jakarta/commons/proper/lang/trunk/xdocs/index.xml (original) +++ jakarta/commons/proper/lang/trunk/xdocs/index.xml Tue Jan 30 14:07:20 2007 @@ -45,6 +45,14 @@ together with various a href=maven-reports.htmlproject reports/a. /p p +The JavaDoc API documents are available online: +/p +ul +liThe a href=api-release/index.htmlcurrent release 2.3/a/li +liThe a href=api-2.2/index.htmlprevious version 2.2/a/li +liOlder releases - see the a href=release-history.htmlRelease History/a page/li +/ul +p The a href=cvs-usage.htmlsubversion repository/a can be a href=http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/;browsed/a. /p @@ -57,18 +65,8 @@ (a href=upgradeto2_3.htmlupgrade notes/a) /p -table -trthVersion/ththRelease date/ththJavadoc/ththRelease notes/th/tr -trtd2.3/tdtdPending/tdtda href=api-2.3/api-2.3/a/tdtda href=upgradeto2_3.htmlrelease notes for 2.3/a/td/tr -trtd2.2/tdtd04/Oct/06/tdtda href=api-2.2/api-2.2/a/tdtda href=upgradeto2_2.htmlrelease notes for 2.2/a/td/tr -trtd2.1/tdtd13/Jun/06/tdtda href=api-2.1/api-2.1/a/tdtda href=upgradeto2_1.htmlrelease notes for 2.1/a/td/tr -trtd2.0/tdtd02/Sep/03/tdtda href=api-2.0/api-2.0/a/tdtda href=upgradeto2_0.htmlrelease notes for 2.0/a/td/tr -trtd1.0.1/tdtd25/Nov/02/tdtda href=api-1.0.1/api-1.0.1/a/tdtda href=http://archive.apache.org/dist/jakarta/commons/lang/old/v1.0.1/RELEASE-NOTES.txt;release notes for 1.0.1/a/td/tr -trtd1.0/tdtd04/Oct/02/tdtda href=api-1.0/api-1.0/a/tdtda href=http://archive.apache.org/dist/jakarta/commons/lang/old/v1.0/RELEASE-NOTES.txt;release notes for 1.0/a/td/tr -/table - p -For previous releases, see the a href=http://archive.apache.org/dist/jakarta/commons/lang/;Apache Archive/a. +For information on previous releases, see the a href=release-history.htmlRelease History/a and to download previous releases, see the a href=http://archive.apache.org/dist/jakarta/commons/lang/;Apache Archive/a. /p /section !-- == -- Modified: jakarta/commons/proper/lang/trunk/xdocs/navigation.xml URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/xdocs/navigation.xml?view=diffrev=501600r1=501599r2=501600 == --- jakarta/commons/proper/lang/trunk/xdocs/navigation.xml (original) +++ jakarta/commons/proper/lang/trunk/xdocs/navigation.xml Tue Jan 30 14:07:20 2007 @@ -29,6 +29,7 @@ item name=Overview href=/index.html/ item name=Download href=http://jakarta.apache.org/site/downloads/downloads_commons-lang.cgi/ item name=User guide href=/userguide.html/ + item name=Release History href=/release-history.html/ item name=Javadoc (2.3 release) href=api-release/index.html/ /menu Added: jakarta/commons/proper/lang/trunk/xdocs/release-history.xml URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/xdocs/release-history.xml?view=autorev=501600 == --- jakarta/commons/proper/lang/trunk/xdocs/release-history.xml (added) +++ jakarta/commons/proper/lang/trunk/xdocs/release-history.xml Tue Jan 30 14:07:20 2007 @@ -0,0 +1,40 @@ +?xml version=1.0? +!-- +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You 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. +-- +document + properties + titleHome/title + author email=commons-dev@jakarta.apache.orgCommons Documentation Team/author + /properties +body +!-- == -- +section name=Commons Lang Release History + +table
[jira] Updated: (LANG-314) Tests fail to pass when building with Maven 2
[ https://issues.apache.org/jira/browse/LANG-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henri Yandell updated LANG-314: --- Attachment: Lang314-fix.patch Fix for the two broken tests. No one else uses the public method in ClassUtilsTest, so it was deleted and a simpler method of creating a second classloader created. Tests fail to pass when building with Maven 2 - Key: LANG-314 URL: https://issues.apache.org/jira/browse/LANG-314 Project: Commons Lang Issue Type: Bug Affects Versions: Nightly Builds Reporter: Henri Yandell Fix For: 2.3 Attachments: Lang314-fix.patch Tests run: 75, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.211 sec FAILURE! testColorEnumEqualsWithDifferentClassLoaders(org.apache.commons.lang.enums.EnumTest) Time elapsed: 0.001 sec FAILURE! junit.framework.AssertionFailedError: ClassUtilsTest= [EMAIL PROTECTED] [EMAIL PROTECTED] at junit.framework.Assert.fail(Assert.java:47) at org.apache.commons.lang.ClassUtilsTest.newSystemClassLoader(ClassUtilsTest.java:522) at org.apache.commons.lang.enums.EnumTest.testWithDifferentClassLoaders(EnumTest.java:457) at org.apache.commons.lang.enums.EnumTest.testColorEnumEqualsWithDifferentClassLoaders(EnumTest.java:446) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Created: (LANG-314) Tests fail to pass when building with Maven 2
Tests fail to pass when building with Maven 2 - Key: LANG-314 URL: https://issues.apache.org/jira/browse/LANG-314 Project: Commons Lang Issue Type: Bug Affects Versions: Nightly Builds Reporter: Henri Yandell Fix For: 2.3 Attachments: Lang314-fix.patch Tests run: 75, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.211 sec FAILURE! testColorEnumEqualsWithDifferentClassLoaders(org.apache.commons.lang.enums.EnumTest) Time elapsed: 0.001 sec FAILURE! junit.framework.AssertionFailedError: ClassUtilsTest= [EMAIL PROTECTED] [EMAIL PROTECTED] at junit.framework.Assert.fail(Assert.java:47) at org.apache.commons.lang.ClassUtilsTest.newSystemClassLoader(ClassUtilsTest.java:522) at org.apache.commons.lang.enums.EnumTest.testWithDifferentClassLoaders(EnumTest.java:457) at org.apache.commons.lang.enums.EnumTest.testColorEnumEqualsWithDifferentClassLoaders(EnumTest.java:446) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r501606 - in /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang: ClassUtilsTest.java enum/EnumTest.java enums/EnumTest.java
Author: bayard Date: Tue Jan 30 14:26:38 2007 New Revision: 501606 URL: http://svn.apache.org/viewvc?view=revrev=501606 Log: Applying my fix from LANG-314 Modified: jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/ClassUtilsTest.java jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/enum/EnumTest.java jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/enums/EnumTest.java Modified: jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/ClassUtilsTest.java URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/ClassUtilsTest.java?view=diffrev=501606r1=501605r2=501606 == --- jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/ClassUtilsTest.java (original) +++ jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/ClassUtilsTest.java Tue Jan 30 14:26:38 2007 @@ -501,30 +501,6 @@ assertGetClassThrowsException( className, ClassNotFoundException.class ); } -/** - * Creates a new instance of URLClassLoader with the system class loader's URLs and a codenull/code parent - * class loader. - * - * @see ClassLoader#getSystemClassLoader() - * @see URLClassLoader#newInstance(URL[], ClassLoader) - * @return the resulting class loader - */ -public static ClassLoader newSystemClassLoader() throws SecurityException, IllegalArgumentException { -ClassLoader systemClassLoader = ClassLoader.getSystemClassLoader(); -ClassLoader myClassLoader = ClassUtilsTest.class.getClassLoader(); -if (!(myClassLoader instanceof URLClassLoader)) { -fail(ClassUtilsTest ClassLoader = + (myClassLoader == null ? null : myClassLoader.getClass().getName())); -} -if (!(systemClassLoader instanceof URLClassLoader)) { -fail(System ClassLoader = + (systemClassLoader == null ? null : systemClassLoader.getClass().getName())); -} -if (!myClassLoader.equals(systemClassLoader)) { -fail(ClassUtilsTest= + myClassLoader + System= + systemClassLoader); -} -URLClassLoader urlScl = (URLClassLoader) myClassLoader; -return URLClassLoader.newInstance(urlScl.getURLs(), null); -} - // Show the Java bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4071957 // We may have to delete this if a JDK fixes the bug. public void testShowJavaBug() throws Exception { Modified: jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/enum/EnumTest.java URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/enum/EnumTest.java?view=diffrev=501606r1=501605r2=501606 == --- jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/enum/EnumTest.java (original) +++ jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/enum/EnumTest.java Tue Jan 30 14:26:38 2007 @@ -32,7 +32,6 @@ import junit.framework.TestCase; import junit.framework.TestSuite; -import org.apache.commons.lang.ClassUtilsTest; import org.apache.commons.lang.SerializationUtils; /** @@ -456,7 +455,11 @@ assertTrue(colorEnum.equals(colorEnum)); assertNotNull(ColorEnum.class.getClassLoader()); // set up: -ClassLoader classLoader = ClassUtilsTest.newSystemClassLoader(); +ClassLoader myClassLoader = EnumTest.class.getClassLoader(); +if (!(myClassLoader instanceof URLClassLoader)) { +fail(EnumTest ClassLoader = + (myClassLoader == null ? null : myClassLoader.getClass().getName())); +} +ClassLoader classLoader = URLClassLoader.newInstance( ((URLClassLoader)myClassLoader).getURLs(), null); Object enumObjectFromOtherClassLoader = this.getColorEnum(classLoader, colorEnum.getName()); // the real test, part 1. Modified: jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/enums/EnumTest.java URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/enums/EnumTest.java?view=diffrev=501606r1=501605r2=501606 == --- jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/enums/EnumTest.java (original) +++ jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/enums/EnumTest.java Tue Jan 30 14:26:38 2007 @@ -30,7 +30,6 @@ import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; -import org.apache.commons.lang.ClassUtilsTest; import org.apache.commons.lang.SerializationUtils; /** @@ -454,7 +453,11 @@ assertTrue(colorEnum.equals(colorEnum)); assertNotNull(ColorEnum.class.getClassLoader()); // set up: -
svn commit: r501608 - in /jakarta/commons/proper/lang/trunk: RELEASE-NOTES.txt xdocs/upgradeto2_3.xml
Author: bayard Date: Tue Jan 30 14:27:20 2007 New Revision: 501608 URL: http://svn.apache.org/viewvc?view=revrev=501608 Log: Adding LANG-314 to the release notes Modified: jakarta/commons/proper/lang/trunk/RELEASE-NOTES.txt jakarta/commons/proper/lang/trunk/xdocs/upgradeto2_3.xml Modified: jakarta/commons/proper/lang/trunk/RELEASE-NOTES.txt URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/RELEASE-NOTES.txt?view=diffrev=501608r1=501607r2=501608 == --- jakarta/commons/proper/lang/trunk/RELEASE-NOTES.txt (original) +++ jakarta/commons/proper/lang/trunk/RELEASE-NOTES.txt Tue Jan 30 14:27:20 2007 @@ -84,4 +84,5 @@ * [LANG-291] - Null-safe comparison methods for finding most recent / least recent dates. * [LANG-306] - StrBuilder appendln/appendAll/appendSeparator * [LANG-310] - BooleanUtils isNotTrue/isNotFalse +* [LANG-314] - Tests fail to pass when building with Maven 2 Modified: jakarta/commons/proper/lang/trunk/xdocs/upgradeto2_3.xml URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/xdocs/upgradeto2_3.xml?view=diffrev=501608r1=501607r2=501608 == --- jakarta/commons/proper/lang/trunk/xdocs/upgradeto2_3.xml (original) +++ jakarta/commons/proper/lang/trunk/xdocs/upgradeto2_3.xml Tue Jan 30 14:27:20 2007 @@ -106,6 +106,7 @@ * [LANG-291] - Null-safe comparison methods for finding most recent / least recent dates. * [LANG-306] - StrBuilder appendln/appendAll/appendSeparator * [LANG-310] - BooleanUtils isNotTrue/isNotFalse +* [LANG-314] - Tests fail to pass when building with Maven 2 /source /p - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Closed: (LANG-314) Tests fail to pass when building with Maven 2
[ https://issues.apache.org/jira/browse/LANG-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henri Yandell closed LANG-314. -- Resolution: Fixed Fixed: r501606 | bayard | 2007-01-30 14:26:38 -0800 (Tue, 30 Jan 2007) | 1 line Changed paths: M /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/ClassUtilsTest.java M /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/enum/EnumTest.java M /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/enums/EnumTest.java Applying my fix from LANG-314 Tests fail to pass when building with Maven 2 - Key: LANG-314 URL: https://issues.apache.org/jira/browse/LANG-314 Project: Commons Lang Issue Type: Bug Affects Versions: Nightly Builds Reporter: Henri Yandell Fix For: 2.3 Attachments: Lang314-fix.patch Tests run: 75, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.211 sec FAILURE! testColorEnumEqualsWithDifferentClassLoaders(org.apache.commons.lang.enums.EnumTest) Time elapsed: 0.001 sec FAILURE! junit.framework.AssertionFailedError: ClassUtilsTest= [EMAIL PROTECTED] [EMAIL PROTECTED] at junit.framework.Assert.fail(Assert.java:47) at org.apache.commons.lang.ClassUtilsTest.newSystemClassLoader(ClassUtilsTest.java:522) at org.apache.commons.lang.enums.EnumTest.testWithDifferentClassLoaders(EnumTest.java:457) at org.apache.commons.lang.enums.EnumTest.testColorEnumEqualsWithDifferentClassLoaders(EnumTest.java:446) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r501620 - in /jakarta/commons/proper/lang/trunk: default.properties pom.xml project.xml
Author: bayard Date: Tue Jan 30 14:49:10 2007 New Revision: 501620 URL: http://svn.apache.org/viewvc?view=revrev=501620 Log: Setting version to 2.3 prior to creating an RC Modified: jakarta/commons/proper/lang/trunk/default.properties jakarta/commons/proper/lang/trunk/pom.xml jakarta/commons/proper/lang/trunk/project.xml Modified: jakarta/commons/proper/lang/trunk/default.properties URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/default.properties?view=diffrev=501620r1=501619r2=501620 == --- jakarta/commons/proper/lang/trunk/default.properties (original) +++ jakarta/commons/proper/lang/trunk/default.properties Tue Jan 30 14:49:10 2007 @@ -33,7 +33,7 @@ component.title = Core Language Utilities # The current version number of this component -component.version = 2.3-SNAPSHOT +component.version = 2.3 # The current year used for the end date in copyrights. copyright.end = 2005 Modified: jakarta/commons/proper/lang/trunk/pom.xml URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/pom.xml?view=diffrev=501620r1=501619r2=501620 == --- jakarta/commons/proper/lang/trunk/pom.xml (original) +++ jakarta/commons/proper/lang/trunk/pom.xml Tue Jan 30 14:49:10 2007 @@ -27,7 +27,7 @@ modelVersion4.0.0/modelVersion groupIdcommons-lang/groupId artifactIdcommons-lang/artifactId - version2.3-SNAPSHOT/version + version2.3/version nameLang/name inceptionYear2001/inceptionYear Modified: jakarta/commons/proper/lang/trunk/project.xml URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/project.xml?view=diffrev=501620r1=501619r2=501620 == --- jakarta/commons/proper/lang/trunk/project.xml (original) +++ jakarta/commons/proper/lang/trunk/project.xml Tue Jan 30 14:49:10 2007 @@ -20,7 +20,7 @@ groupIdcommons-lang/groupId artifactIdcommons-lang/artifactId nameLang/name -currentVersion2.3-SNAPSHOT/currentVersion +currentVersion2.3/currentVersion inceptionYear2001/inceptionYear shortDescriptionJava Common Components/shortDescription description - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r501635 - /jakarta/commons/proper/lang/tags/LANG_2_3_RC1/
Author: bayard Date: Tue Jan 30 15:18:09 2007 New Revision: 501635 URL: http://svn.apache.org/viewvc?view=revrev=501635 Log: Preparing first release candidate Added: jakarta/commons/proper/lang/tags/LANG_2_3_RC1/ - copied from r501634, jakarta/commons/proper/lang/trunk/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r501636 - in /jakarta/commons/proper/lang/trunk: pom.xml project.xml
Author: bayard Date: Tue Jan 30 15:18:39 2007 New Revision: 501636 URL: http://svn.apache.org/viewvc?view=revrev=501636 Log: Rolling back to 2.3-SNAPSHOT Modified: jakarta/commons/proper/lang/trunk/pom.xml jakarta/commons/proper/lang/trunk/project.xml Modified: jakarta/commons/proper/lang/trunk/pom.xml URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/pom.xml?view=diffrev=501636r1=501635r2=501636 == --- jakarta/commons/proper/lang/trunk/pom.xml (original) +++ jakarta/commons/proper/lang/trunk/pom.xml Tue Jan 30 15:18:39 2007 @@ -27,7 +27,7 @@ modelVersion4.0.0/modelVersion groupIdcommons-lang/groupId artifactIdcommons-lang/artifactId - version2.3/version + version2.3-SNAPSHOT/version nameLang/name inceptionYear2001/inceptionYear Modified: jakarta/commons/proper/lang/trunk/project.xml URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/project.xml?view=diffrev=501636r1=501635r2=501636 == --- jakarta/commons/proper/lang/trunk/project.xml (original) +++ jakarta/commons/proper/lang/trunk/project.xml Tue Jan 30 15:18:39 2007 @@ -20,7 +20,7 @@ groupIdcommons-lang/groupId artifactIdcommons-lang/artifactId nameLang/name -currentVersion2.3/currentVersion +currentVersion2.3-SNAPSHOT/currentVersion inceptionYear2001/inceptionYear shortDescriptionJava Common Components/shortDescription description - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r501637 - /jakarta/commons/proper/lang/trunk/default.properties
Author: bayard Date: Tue Jan 30 15:18:47 2007 New Revision: 501637 URL: http://svn.apache.org/viewvc?view=revrev=501637 Log: Rolling back to 2.3-SNAPSHOT Modified: jakarta/commons/proper/lang/trunk/default.properties Modified: jakarta/commons/proper/lang/trunk/default.properties URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/default.properties?view=diffrev=501637r1=501636r2=501637 == --- jakarta/commons/proper/lang/trunk/default.properties (original) +++ jakarta/commons/proper/lang/trunk/default.properties Tue Jan 30 15:18:47 2007 @@ -33,7 +33,7 @@ component.title = Core Language Utilities # The current version number of this component -component.version = 2.3 +component.version = 2.3-SNAPSHOT # The current year used for the end date in copyrights. copyright.end = 2005 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Closed: (LANG-286) Serialization - not backwards compatible
[ https://issues.apache.org/jira/browse/LANG-286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henri Yandell closed LANG-286. -- Resolution: Fixed Fix Version/s: (was: 2.3) 2.2 This was effectively fixed in 2.2 (no new serialUIDs in 2.3)- however it's not until you go from 2.2 to a new version that you notice. Serialization - not backwards compatible Key: LANG-286 URL: https://issues.apache.org/jira/browse/LANG-286 Project: Commons Lang Issue Type: Bug Affects Versions: 2.2 Environment: N/A Reporter: David J. M. Karlsen Fix For: 2.2 Release report states that commons-lang 2.2 is binary backwards compatible, this does not seem to be correct between commons-lang 2.1 and 2.2 Running 2.2 at the server and 2.1 on client will result in an exception: org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Mismatched serialization UIDs : Source (Rep. IDRMI:org.apache.commons.lang.exception.NestableDelegate:4F998DA78EFC2530:F68F1455DDEE96BB) = F68F1455DDEE96BB whereas Target (Rep. ID RMI:org.apache.commons.lang.exception.NestableDelegate:4F998DA78EFC2530:0001) = 0001 minor code: 4942F89A completed: No -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[VOTE] Lang 2.3 RC1
Next up - Lang 2.3. Here's the release candidate: http://people.apache.org/~bayard/commons-lang/commons-lang-2.3-rc1/ Clirr, Jardiff + Site included. [ ] +1 [ ] -1 Vote to close on Monday if it gets that far. There is an open issue in JIRA currently: http://issues.apache.org/jira/browse/LANG-69 I'm keeping it open for a little bit longer in case anyone has any opinions on my fix to this. Hen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Uploading large file fails
I am trying to upload a large file using the storeFile command. I used the example shown and when the file begins to upload, i get this, and then nothing. It just hangs. It never finishes. 30 Jan 2007 02:14:08,342 INFO [main] (Ftp.java:28) - Connected to: xx 30 Jan 2007 02:14:08,342 INFO [main] (FtpCommandListener.java:21) - USER xx 30 Jan 2007 02:14:08,389 INFO [main] (FtpCommandListener.java:26) - 331 Password required for xxx. 30 Jan 2007 02:14:08,389 INFO [main] (FtpCommandListener.java:21) - PASS xxx 30 Jan 2007 02:14:08,435 INFO [main] (FtpCommandListener.java:26) - 230 User x logged in. 30 Jan 2007 02:14:08,435 INFO [main] (FtpCommandListener.java:21) - SYST 30 Jan 2007 02:14:08,482 INFO [main] (FtpCommandListener.java:26) - 215 UNIX Type: L8 30 Jan 2007 02:14:08,482 INFO [main] (Ftp.java:68) - Remote system is UNIX Type: L8 30 Jan 2007 02:14:08,482 INFO [main] (FtpCommandListener.java:21) - TYPE I 30 Jan 2007 02:14:08,529 INFO [main] (FtpCommandListener.java:26) - 200 Type set to I 30 Jan 2007 02:14:08,545 INFO [main] (FtpCommandListener.java:21) - PASV 30 Jan 2007 02:14:08,576 INFO [main] (FtpCommandListener.java:26) - 227 Entering Passive Mode (76,162,77,98,130,27). 30 Jan 2007 02:14:08,623 INFO [main] (FtpCommandListener.java:21) - STOR x/xxx.zip 30 Jan 2007 02:14:08,685 INFO [main] (FtpCommandListener.java:26) - 150 Opening BINARY mode data connection for x/xxx.zip We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. http://tv.yahoo.com/collections/265
Re: [VOTE] Lang 2.3 RC1
Any chance you could unzip the site? Stephen Henri Yandell wrote: Next up - Lang 2.3. Here's the release candidate: http://people.apache.org/~bayard/commons-lang/commons-lang-2.3-rc1/ Clirr, Jardiff + Site included. [ ] +1 [ ] -1 Vote to close on Monday if it gets that far. There is an open issue in JIRA currently: http://issues.apache.org/jira/browse/LANG-69 I'm keeping it open for a little bit longer in case anyone has any opinions on my fix to this. Hen - 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: [VOTE] Lang 2.3 RC1
Never! Zipped sites are the new thing. Done. Sorry about that. On 1/30/07, Stephen Colebourne [EMAIL PROTECTED] wrote: Any chance you could unzip the site? Stephen Henri Yandell wrote: Next up - Lang 2.3. Here's the release candidate: http://people.apache.org/~bayard/commons-lang/commons-lang-2.3-rc1/ Clirr, Jardiff + Site included. [ ] +1 [ ] -1 Vote to close on Monday if it gets that far. There is an open issue in JIRA currently: http://issues.apache.org/jira/browse/LANG-69 I'm keeping it open for a little bit longer in case anyone has any opinions on my fix to this. Hen - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r501737 - /jakarta/commons/proper/lang/trunk/pom.xml
Author: bayard Date: Tue Jan 30 21:46:41 2007 New Revision: 501737 URL: http://svn.apache.org/viewvc?view=revrev=501737 Log: Removing an extra scm:svn Modified: jakarta/commons/proper/lang/trunk/pom.xml Modified: jakarta/commons/proper/lang/trunk/pom.xml URL: http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/pom.xml?view=diffrev=501737r1=501736r2=501737 == --- jakarta/commons/proper/lang/trunk/pom.xml (original) +++ jakarta/commons/proper/lang/trunk/pom.xml Tue Jan 30 21:46:41 2007 @@ -45,8 +45,8 @@ /issueManagement scm - connectionscm:svn:scm:svn:https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk/connection - developerConnectionscm:svn:scm:svn:https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk/developerConnection + connectionscm:svn:https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk/connection + developerConnectionscm:svn:https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk/developerConnection urlhttp://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/url /scm - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r501738 - /jakarta/commons/proper/collections/trunk/pom.xml
Author: bayard Date: Tue Jan 30 21:47:03 2007 New Revision: 501738 URL: http://svn.apache.org/viewvc?view=revrev=501738 Log: Adding a Maven2 POM for Collections Added: jakarta/commons/proper/collections/trunk/pom.xml (with props) Added: jakarta/commons/proper/collections/trunk/pom.xml URL: http://svn.apache.org/viewvc/jakarta/commons/proper/collections/trunk/pom.xml?view=autorev=501738 == --- jakarta/commons/proper/collections/trunk/pom.xml (added) +++ jakarta/commons/proper/collections/trunk/pom.xml Tue Jan 30 21:47:03 2007 @@ -0,0 +1,406 @@ +?xml version=1.0? +!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You 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 collectionsuage governing permissions and + limitations under the License. +-- +project +xmlns=http://maven.apache.org/POM/4.0.0; +xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; +xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; + parent +groupIdorg.apache.commons/groupId +artifactIdcommons-parent/artifactId +version1/version + /parent + modelVersion4.0.0/modelVersion + groupIdcommons-collections/groupId + artifactIdcommons-collections/artifactId + version3.3-SNAPSHOT/version + nameCollections/name + + inceptionYear2001/inceptionYear + descriptionTypes that extend and augment the Java Collections Framework./description + + urlhttp://jakarta.apache.org/commons/collections//url + + issueManagement +systemjira/system +urlhttp://issues.apache.org/jira/browse/COLLECTIONS/url + /issueManagement + + scm + connectionscm:svn:scm:svn:https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk/connection + developerConnectionscm:svn:scm:svn:https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk/developerConnection + urlhttp://svn.apache.org/viewvc/jakarta/commons/proper/collections/trunk/url + /scm + + developers +developer + nameStephen Colebourne/name + idscolebourne/id + email/email + organization/organization +/developer +developer + nameMorgan Delagrange/name + idmorgand/id + email/email + organization/organization +/developer +developer + nameMatthew Hawthorne/name + idmatth/id + email/email + organization/organization +/developer +developer + nameGeir Magnusson/name + idgeirm/id + email/email + organization/organization +/developer +developer + nameCraig McClanahan/name + idcraigmcc/id + email/email + organization/organization +/developer +developer + namePhil Steitz/name + idpsteitz/id + email/email + organization/organization +/developer +developer + nameArun M. Thomas/name + idamamment/id + email/email + organization/organization +/developer +developer + nameRodney Waldhoff/name + idrwaldhoff/id + email/email + organization/organization +/developer +developer + nameHenri Yandell/name + idbayard/id + email/email + organization/organization +/developer +developer + nameJames Carman/name + idjcarman/id + email/email + organization/organization +/developer +developer + nameRobert Burrell Donkin/name + idrdonkin/id +/developer + /developers + + contributors +contributor + nameRafael U. C. Afonso/name +/contributor +contributor + nameMax Rydahl Andersen/name +/contributor +contributor + nameFederico Barbieri/name +/contributor +contributor + nameArron Bates/name +/contributor +contributor + nameNicola Ken Barozzi/name +/contributor +contributor + nameSebastian Bazley/name +/contributor +contributor + nameMatt Benson/name +/contributor +contributor + nameOla Berg/name +/contributor +contributor + nameChristopher Berry/name +/contributor +contributor + nameNathan Beyer/name +/contributor +contributor + nameJanek Bogucki/name +/contributor +contributor + nameChuck Burdick/name +/contributor +contributor + nameDave Bryson/name +/contributor +
[jira] Commented: (EMAIL-59) SSL Support
[ https://issues.apache.org/jira/browse/EMAIL-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468879 ] Henri Yandell commented on EMAIL-59: Patch has tabs and trailing spaces in, so make sure to remove them when applying. Javadoc is lacking. SSL Support --- Key: EMAIL-59 URL: https://issues.apache.org/jira/browse/EMAIL-59 Project: Commons Email Issue Type: New Feature Reporter: Mitch McCuiston Attachments: enable-ssl.patch Adding convenience methods for enabling SSL in Email.java abstract class. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Reopened: (EMAIL-56) [Email] Parsing MIME content.
[ https://issues.apache.org/jira/browse/EMAIL-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henri Yandell reopened EMAIL-56: [Email] Parsing MIME content. - Key: EMAIL-56 URL: https://issues.apache.org/jira/browse/EMAIL-56 Project: Commons Email Issue Type: Improvement Environment: Operating System: Windows XP Platform: Other Reporter: Jose M. Ordax Priority: Minor This is not a bug, it is a Feature Request. It should be nice if the framework implements a way to create a MultiPartMessage from an InputStream or a String with all the content of a real message got from a POP3 or NNTP server. Currently it seems you have to create it manually adding headers and parts via methods. And I think in this way is not really useful. Thanks, Chemi. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r501739 - /jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java
Author: bayard Date: Tue Jan 30 22:03:55 2007 New Revision: 501739 URL: http://svn.apache.org/viewvc?view=revrev=501739 Log: Applying performance enhancement requested in EMAIL-60 Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java Modified: jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java URL: http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java?view=diffrev=501739r1=501738r2=501739 == --- jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java (original) +++ jakarta/commons/proper/email/trunk/src/java/org/apache/commons/mail/HtmlEmail.java Tue Jan 30 22:03:55 2007 @@ -72,6 +72,10 @@ /** Embedded images */ protected List inlineImages = new ArrayList(); +/** HTML prefix and suffix for default HTML mail */ +private static final String HTML_MESSAGE_START = htmlbodypre; +private static final String HTML_MESSAGE_END = /pre/body/html; + /** * Set the text content. * @@ -136,12 +140,17 @@ setTextMsg(msg); -setHtmlMsg( -new StringBuffer() -.append(htmlbodypre) -.append(msg) -.append(/pre/body/html) -.toString()); +StringBuffer htmlMsgBuf = new StringBuffer( +msg.length() ++ HTML_MESSAGE_START.length() ++ HTML_MESSAGE_END.length() +); + +htmlMsgBuf.append(HTML_MESSAGE_START) +.append(msg) +.append(HTML_MESSAGE_END); + +setHtmlMsg(htmlMsgBuf.toString()); return this; } @@ -162,7 +171,7 @@ throw new EmailException(Invalid URL, e); } } - + /** * Embeds an URL in the HTML. * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Closed: (EMAIL-60) Performance in HtmlEmail#setMsg(String msg)
[ https://issues.apache.org/jira/browse/EMAIL-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henri Yandell closed EMAIL-60. -- Resolution: Fixed Fix Version/s: 1.1 svn ci -m Applying performance enhancement requested in EMAIL-60 Sendingsrc/java/org/apache/commons/mail/HtmlEmail.java Transmitting file data . Committed revision 501739. Performance in HtmlEmail#setMsg(String msg) --- Key: EMAIL-60 URL: https://issues.apache.org/jira/browse/EMAIL-60 Project: Commons Email Issue Type: Improvement Affects Versions: 1.0 Reporter: Cédrik LIME Priority: Minor Fix For: 1.1 Attachments: HtmlEmail.patch The method HtmlEmail.setMsg(String) builds an HTML message from a text message using a StringBuffer. This StringBuffer should be correctly sized according to inputted message, to avoid unnecessary resizing: 138c138 new StringBuffer() --- new StringBuffer(msg.length() + 37) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [email] Status and JIRA breakdown
On 1/10/07, Ben Speakmon [EMAIL PROTECTED] wrote: There are currently 13 open issues in JIRA; happily one was closed last week when the OP got a new comment on the issue and marked it closed as being his fault. There are 13 issues there now. EMAIL-28 seems to be the extra one (Thunderbird issue). Dion, are you still active on [email]? Of the 13: JIRA keys makes it easier to know which ones you're referring to. 4 issues: Fixes for, or new features for, charset support 4 issues: Improvements to how attachments work 2 issues: Simple-looking performance enhancements (both with patches I reviewed and that seem to be okay) EMAIL-60 applied. Unsure what the other one was. Only request is that you create patches from the root of the project (ie next to the project.xml) rather than the file itself. Makes it much simpler to apply :) 1 bug: HTML Emails with images don't display in Outlook 2000 (https://issues.apache.org/jira/browse/EMAIL-50) 2 features: adding SSL support and generating Email objects from InputStreams or Strings (both of which seem useful) I know that email 1.0 was targeted at javamail 1.3 and jaf 1.0.2, but since then the 1.1-SNAPSHOT in the maven file has updated to 1.4 and 1.1 respectively, and Henri committed the patch I submitted to enforce the same versions in the build.xml. Therefore it seems that the decision to ship a 1.1 with the newer versions has already been made, so I don't see why any of the current issues should be postponed to a 2.0 release. Right now email is a very simple API, and I don't see a need either from my own use of it or from the current open issues to push a lot of new features onto it; rather the focus should be on making what's already there work better. +1 to 1.4/1.1 and +1 to small improvements rather than any big rethinks. In your opinion - should all the issues be fixed for 1.1? Or should some be wontfix'd or aren't worth the effort? Hen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r501743 - /jakarta/commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/BasicRowProcessor.java
Author: bayard Date: Tue Jan 30 22:17:47 2007 New Revision: 501743 URL: http://svn.apache.org/viewvc?view=revrev=501743 Log: Adding a serialVersionUID (based on the class in the 1.1 release and serialver JDK 1.5 on OS X) to BasicRowProcessor.CaseInsensitiveMap as requested by Walter Chang in DBUTILS-36 Modified: jakarta/commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/BasicRowProcessor.java Modified: jakarta/commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/BasicRowProcessor.java URL: http://svn.apache.org/viewvc/jakarta/commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/BasicRowProcessor.java?view=diffrev=501743r1=501742r2=501743 == --- jakarta/commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/BasicRowProcessor.java (original) +++ jakarta/commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/BasicRowProcessor.java Tue Jan 30 22:17:47 2007 @@ -148,6 +148,13 @@ private static class CaseInsensitiveHashMap extends HashMap { /** + * Required for serialization support. + * + * @see java.io.Serializable + */ +private static final long serialVersionUID = 1841673097701957808L; + +/** * @see java.util.Map#containsKey(java.lang.Object) */ public boolean containsKey(Object key) { - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Closed: (DBUTILS-36) Add serialVersionUID to BasicRowProcessor.CaseInsensitiveHashMap
[ https://issues.apache.org/jira/browse/DBUTILS-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henri Yandell closed DBUTILS-36. Resolution: Fixed svn ci -m Adding a serialVersionUID (based on the class in the 1.1 release and serialver JDK 1.5 on OS X) to BasicRowProcessor.CaseInsensitiveMap as requested by Walter Chang in DBUTILS-36 Sendingsrc/java/org/apache/commons/dbutils/BasicRowProcessor.java Transmitting file data . Committed revision 501743. Add serialVersionUID to BasicRowProcessor.CaseInsensitiveHashMap Key: DBUTILS-36 URL: https://issues.apache.org/jira/browse/DBUTILS-36 Project: Commons DbUtils Issue Type: Bug Affects Versions: 1.1 Environment: jdk 5.0, windows xp pro sp2 Reporter: Walter Chang Fix For: 1.2 Please add serialVersioUID to org.apache.commons.dbutils.BasicRowProcessor.CaseInsensitiveHashMap. Without serialVersioUID, when a Map returned by QueryRunneris send across the wire to another jvm (different version), incompatible serial id exception will result. For instance, IBM JVM 1.4.1 has a different way of calculating serialVersionUID for Serializable class that does not have serialVersionUID defined than JVM 5.0. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Commented: (DBUTILS-35) Can somebody upload commons-dbutils 1.1 sources jar to the apache repository
[ https://issues.apache.org/jira/browse/DBUTILS-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468893 ] Henri Yandell commented on DBUTILS-35: -- Placed in http://people.apache.org/repo/m1-ibiblio-rsync-repository/commons-dbutils/jars/ which should be sync'd over to the m1 central repository and then be converted to the m2 central repository. Can somebody upload commons-dbutils 1.1 sources jar to the apache repository Key: DBUTILS-35 URL: https://issues.apache.org/jira/browse/DBUTILS-35 Project: Commons DbUtils Issue Type: Task Affects Versions: 1.1 Reporter: Tomislav Stojcevich Priority: Minor Fix For: 1.2 Attachments: commons-dbutils-1.1-sources.jar I would like to get the sources sync'd to the maven repository. See: http://jira.codehaus.org/browse/MAVENUPLOAD-1262 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Closed: (DBUTILS-27) [dbutils] QueryRunner.count(String, ...) methods for SELECT COUNT(...) sql
[ https://issues.apache.org/jira/browse/DBUTILS-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henri Yandell closed DBUTILS-27. Resolution: Won't Fix Thanks Michael; marking as WONTFIX. [dbutils] QueryRunner.count(String, ...) methods for SELECT COUNT(...) sql --- Key: DBUTILS-27 URL: https://issues.apache.org/jira/browse/DBUTILS-27 Project: Commons DbUtils Issue Type: Improvement Environment: Operating System: All Platform: All Reporter: Michael Heuer Priority: Minor Fix For: 1.2 Attachments: count.java, count.java, diff.txt Found that I was repeating the same bit of code over and over again when executing SELECT COUNT(...) sql queries with QueryRunner, so I thought I might code this up into a set of static methods for possible inclusion in commons-dbutils. e.g. Connection conn; String sql = select count(*) from tablename where column0 = ? and column1 = ?; from: int count = 0; Object result = QueryRunner.query(conn, sql, new Object[] { foo, bar }, new ScalarHandler()); if (result != null) { count = ((Integer) result).intValue(); } to: int count = QueryRunner.count(conn, sql, new Object[] { foo, bar }); See attached diff.txt. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Closed: (DBUTILS-17) [dbutils] ScalarHandler subclasses that return Integers and Longs
[ https://issues.apache.org/jira/browse/DBUTILS-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Henri Yandell closed DBUTILS-17. Resolution: Won't Fix There have been no comments, so going with my view of WONTFIX on this. [dbutils] ScalarHandler subclasses that return Integers and Longs - Key: DBUTILS-17 URL: https://issues.apache.org/jira/browse/DBUTILS-17 Project: Commons DbUtils Issue Type: Improvement Environment: Operating System: All Platform: All Reporter: greg hawkes Priority: Minor Fix For: 1.2 Attachments: DBUTILS-17.patch, IntScalarHandler.java, LongScalarHandler.java I (and, looking around, many other people) most often use ScalarHandler to fetch the result of an SQL count(*) column. ScalarHandler works, but I was forever needing to parse the result to create an Integer (and occasionally, a Long) value. Several possible solutions have been proposed to make this task easier. This is mine. I have extended ScalarHandler to create IntScalarHandler and LongScalarHandler, which return Integers and Longs, respectively. Their usage is exactly the same as ScalarHandler. They have been tested on Oracle, MS-SQL Server, and PostgreSQL databases, and have proven to be very effective. I hope that they can be included in the DbUtils distribution, where they fit right alongside the existing ScalarHandler. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]