svn commit: r758271 - /commons/proper/compress/trunk/pom.xml
Author: bodewig Date: Wed Mar 25 14:37:27 2009 New Revision: 758271 URL: http://svn.apache.org/viewvc?rev=758271view=rev Log: remove checkstyle plugin, COMPRESS-25 Modified: commons/proper/compress/trunk/pom.xml Modified: commons/proper/compress/trunk/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/pom.xml?rev=758271r1=758270r2=758271view=diff == --- commons/proper/compress/trunk/pom.xml (original) +++ commons/proper/compress/trunk/pom.xml Wed Mar 25 14:37:27 2009 @@ -161,16 +161,6 @@ /rulesets /configuration /plugin - !-- 2009-03-23 sgoeschl fix this is currently broken since there is no checkstyle.xml -- - !-- - plugin -groupIdorg.apache.maven.plugins/groupId -artifactIdmaven-checkstyle-plugin/artifactId -configuration - configLocationcheckstyle.xml/configLocation -/configuration - /plugin - -- /plugins /reporting
svn commit: r758276 - /commons/proper/compress/trunk/doap_compress.rdf
Author: bodewig Date: Wed Mar 25 14:43:44 2009 New Revision: 758276 URL: http://svn.apache.org/viewvc?rev=758276view=rev Log: Add a DOAP file, COMPRESS-38 Added: commons/proper/compress/trunk/doap_compress.rdf (with props) Added: commons/proper/compress/trunk/doap_compress.rdf URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/doap_compress.rdf?rev=758276view=auto == --- commons/proper/compress/trunk/doap_compress.rdf (added) +++ commons/proper/compress/trunk/doap_compress.rdf Wed Mar 25 14:43:44 2009 @@ -0,0 +1,47 @@ +?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. +-- +rdf:RDF xmlns=http://usefulinc.com/ns/doap#; xmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; xmlns:asfext=http://projects.apache.org/ns/asfext#; xmlns:rdfs=http://www.w3.org/2000/01/rdf-schema#; xmlns:doap=http://usefulinc.com/ns/doap#; xml:lang=en + Project rdf:about=http://commons.apache.org/compress/; +nameApache Commons Compress/name +homepage rdf:resource=http://commons.apache.org/compress// +programming-languageJava/programming-language +category rdf:resource=http://projects.apache.org/category/library/ +license rdf:resource=http://usefulinc.com/doap/licenses/asl20/ +bug-database rdf:resource=http://issues.apache.org/jira/browse/COMPRESS/ +download-page rdf:resource=http://commons.apache.org/downloads/download_compress.cgi/ +asfext:pmc rdf:resource=http://commons.apache.org// +shortdesc xml:lang=enCommons Compress/shortdesc +description xml:lang=enCommons Compress: working with zip, ar, jar, bz2, cpio and gz files./description +repository + SVNRepository +browse rdf:resource=http://svn.apache.org/repos/asf/commons/proper/compress/trunk/ +location rdf:resource=http://svn.apache.org/repos/asf/commons/proper/compress/ + /SVNRepository +/repository +release + !-- + revision +namecommons-compress/name +created2009-03-18/created +version1.0/version + /revision + -- +/release +mailing-list rdf:resource=http://commons.apache.org/mail-lists.html/ + /Project +/rdf:RDF Propchange: commons/proper/compress/trunk/doap_compress.rdf -- svn:eol-style = native
svn commit: r758284 - in /commons/proper/dbcp/trunk/src: java/org/apache/commons/dbcp/datasources/SharedPoolDataSource.java java/org/apache/commons/dbcp/datasources/UserPassKey.java test/org/apache/co
Author: markt Date: Wed Mar 25 14:55:25 2009 New Revision: 758284 URL: http://svn.apache.org/viewvc?rev=758284view=rev Log: Fix DBCP-8. Handle changed passwords in SharedPoolDataSource. Patch provided by Michael T. Dean Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/SharedPoolDataSource.java commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/UserPassKey.java commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestSharedPoolDataSource.java Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/SharedPoolDataSource.java URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/SharedPoolDataSource.java?rev=758284r1=758283r2=758284view=diff == --- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/SharedPoolDataSource.java (original) +++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/SharedPoolDataSource.java Wed Mar 25 14:55:25 2009 @@ -194,10 +194,11 @@ } private UserPassKey getUserPassKey(String username, String password) { -UserPassKey key = (UserPassKey) userKeys.get(username); +String name = username + password; +UserPassKey key = (UserPassKey) userKeys.get(name); if (key == null) { key = new UserPassKey(username, password); -userKeys.put(username, key); +userKeys.put(name, key); } return key; } Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/UserPassKey.java URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/UserPassKey.java?rev=758284r1=758283r2=758284view=diff == --- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/UserPassKey.java (original) +++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/UserPassKey.java Wed Mar 25 14:55:25 2009 @@ -82,7 +82,8 @@ } public int hashCode() { -return (this.username != null ? this.username.hashCode() : 0); +return (this.username != null ? +(this.username + this.password).hashCode() : 0); } public String toString() { Modified: commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestSharedPoolDataSource.java URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestSharedPoolDataSource.java?rev=758284r1=758283r2=758284view=diff == --- commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestSharedPoolDataSource.java (original) +++ commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestSharedPoolDataSource.java Wed Mar 25 14:55:25 2009 @@ -27,6 +27,7 @@ import junit.framework.Test; import junit.framework.TestSuite; +import org.apache.commons.dbcp.SQLNestedException; import org.apache.commons.dbcp.TestConnectionPool; import org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS; @@ -102,9 +103,10 @@ ds.getConnection(u1, x).close(); fail(Able to retrieve connection with incorrect password); } -catch (SQLException e) +catch (SQLNestedException e) { -if (!e.getMessage().startsWith(Given password did not match)) +Throwable t = e.getCause(); +if (!t.getMessage().startsWith(x is not the correct password)) { throw e; }
svn commit: r758399 - in /commons/proper/exec/trunk/src/site: site.xml xdoc/download_exec.xml xdoc/testmatrix.xml
Author: sgoeschl Date: Wed Mar 25 18:41:49 2009 New Revision: 758399 URL: http://svn.apache.org/viewvc?rev=758399view=rev Log: +) added the JVM of Joerg Schaible where he tested commons-exec +) added the download page Added: commons/proper/exec/trunk/src/site/xdoc/download_exec.xml Modified: commons/proper/exec/trunk/src/site/site.xml commons/proper/exec/trunk/src/site/xdoc/testmatrix.xml Modified: commons/proper/exec/trunk/src/site/site.xml URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/site/site.xml?rev=758399r1=758398r2=758399view=diff == --- commons/proper/exec/trunk/src/site/site.xml (original) +++ commons/proper/exec/trunk/src/site/site.xml Wed Mar 25 18:41:49 2009 @@ -25,6 +25,7 @@ item name=Tutorial href=/tutorial.html / item name=FAQ href=faq.html/ item name=Test Matrix href=/testmatrix.html / + item name=Download href=/download_exec.cgi/ /menu menu name=Development Added: commons/proper/exec/trunk/src/site/xdoc/download_exec.xml URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/site/xdoc/download_exec.xml?rev=758399view=auto == --- commons/proper/exec/trunk/src/site/xdoc/download_exec.xml (added) +++ commons/proper/exec/trunk/src/site/xdoc/download_exec.xml Wed Mar 25 18:41:49 2009 @@ -0,0 +1,145 @@ +?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. +-- +!-- + +==+ + | | + | THIS FILE IS GENERATED BY THE COMMONS BUILD PLUGIN | + |DO NOT EDIT DIRECTLY | + | | + +==+ + | TEMPLATE FILE: download-page-template.xml| + | commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates | + +==+ + | | + | 1) Re-generate using: mvn commons:download-page | + | | + | 2) Set the following properties in the component's pom: | + |- commons.componentid (required, alphabetic, lower case) | + |- commons.release.version (required) | + |- commons.binary.suffix (optional)| + | (defaults to -bin, set to for pre-maven2 releases) | + | | + | 3) Example Properties| + | | + | properties| + |commons.componentidmath/commons.componentid | + |commons.release.version1.2/commons.release.version| + | /properties | + | | + +==+ +-- +document + properties +titleDownload Commons Exec/title +author email=d...@commons.apache.orgCommons Documentation Team/author + /properties + body +section name=Download Commons Exec + p +We recommend you use a mirror to download our release +builds, but you strongmust/strong verify the integrity of +the downloaded files using signatures downloaded from our main +distribution directories. Recent releases (48 hours) may not yet +be available from the mirrors. + /p + + p +You are currently using b[preferred]/b. If you +encounter a problem with this mirror, please select another +mirror. If all mirrors are failing, there are ibackup/i +mirrors (at the end of the mirrors