Re: [httpclient] why all this stream wrapping

2005-06-26 Thread Torsten Curdt
Oleg,

thanks for the quick and extensive answer!

 This is a conscious design decision. The reason for these wrappers'
 existence is to ensure the reliability of persistent connections. 

I already assumed something like that. Bummer.

 We are perfectly aware of shortcomings of the existing HttpClient API.
 It is butt ugly, plain and simple. I guess I am entitled to such a
 strong opinion as I have been maintaining HttpClient for years on a day
 to day basis.

Well ...that sounds worse than it feels from
the users POV :) Although I have this problem
currently.

 HttpClient is currently being rewritten and its API redesigned from
 scratch to address those shortcomings and provide a flexible platform
 one could use to build client-, proxy- and server-side HTTP services. I
 hope we will have a much cleaner and powerful API as a result:
 
 http://wiki.apache.org/jakarta-httpclient/HttpClientApiRedesign

Thanks for the pointer looking forward seeing
it in action.

 There's already enough code in the SVN to check out already and get a
 feel of how things are shaping up
 
 http://svn.apache.org/repos/asf/jakarta/httpclient/trunk/http-common/

Currently too much on the plate but hope to
have the time to try it anytime soon.

cheers
--
Torsten


signature.asc
Description: OpenPGP digital signature


Re: [io] release?

2005-06-26 Thread Torsten Curdt
 The main tasks for a release are all the release notes, clirr, jdiff,
 release candidates, votes etc



 Is the process docoumented somewhere?
 
 
 See http://jakarta.apache.org/commons/releases/index.html

That's exensive! Awesome!
Who is the release manager of commons-io?

cheers
--
Torsten


signature.asc
Description: OpenPGP digital signature


[EMAIL PROTECTED]: Project commons-logging (in module jakarta-commons) failed

2005-06-26 Thread Ted Husted
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-logging has an issue affecting its community integration.
This issue affects 322 projects,
 and has been outstanding for 12 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- addressing :  WS-FX Project
- ant-embed-optional :  Java based build tool
- ant-xdocs-proposal :  Java based build tool
- apache-ldapber-provider :  Apache Directory Project
- apacheds-core :  Apache Directory Server
- apacheds-main :  Apache Directory Server
- apacheds-shared :  Apache Directory Server
- asn1-ber :  Apache ASN.1 Tools
- asn1-codec :  Apache ASN.1 Tools
- authx-script :  Apache Authentication and Authorization Framework
- avalon-activation-impl :  Avalon SVN
- avalon-central-site :  Avalon SVN
- avalon-composition-impl :  Avalon SVN
- avalon-finder-test :  Avalon SVN
- avalon-jms-api :  Avalon SVN
- avalon-jms-impl :  Avalon SVN
- avalon-jms-test :  Avalon SVN
- avalon-jmx-mx4j :  Avalon SVN
- avalon-jmx-spi :  Avalon SVN
- avalon-jmx-test :  Avalon SVN
- avalon-jmx-util :  Avalon SVN
- avalon-logging-test :  Avalon SVN
- avalon-merlin-cli :  Avalon SVN
- avalon-merlin-impl :  Avalon SVN
- avalon-merlin-unit :  Avalon SVN
- avalon-repository-cli :  Avalon SVN
- avalon-repository-test :  Avalon SVN
- avalon-runtime :  Avalon SVN
- avalon-tutorial-hello :  Avalon SVN
- avalon-tutorial-main :  Avalon SVN
- avalon-tutorial-webserver :  Avalon SVN
- beepcore :  BEEP is a new Internet standards-track protocol
- cargo :  Cargo provides a Java API to manipulate Java Containers
- castor :  Java to XML, SQL, LDAP bindings
- checkstyle :  Java style checker
- checkstyle-test :  Java style checker
- cocoon :  Java XML Framework
- cocoon-block-apples :  Java XML Framework
- cocoon-block-asciiart :  Java XML Framework
- cocoon-block-authentication-fw :  Java XML Framework
- cocoon-block-axis :  Java XML Framework
- cocoon-block-batik :  Java XML Framework
- cocoon-block-bsf :  Java XML Framework
- cocoon-block-chaperon :  Java XML Framework
- cocoon-block-cron :  Java XML Framework
- cocoon-block-databases :  Java XML Framework
- cocoon-block-deli :  Java XML Framework
- cocoon-block-eventcache :  Java XML Framework
- cocoon-block-faces :  Java XML Framework
- cocoon-block-fop :  Java XML Framework
- cocoon-block-forms :  Java XML Framework
- cocoon-block-hsqldb :  Java XML Framework
- cocoon-block-html :  Java XML Framework
- cocoon-block-itext :  Java XML Framework
- cocoon-block-javaflow :  Java XML Framework
- cocoon-block-jcr :  A jcr: protocol for Cocoon
- cocoon-block-jfor :  Java XML Framework
- cocoon-block-jms :  Java XML Framework
- cocoon-block-jsp :  Java XML Framework
- cocoon-block-linkrewriter :  Java XML Framework
- cocoon-block-lucene :  Java XML Framework
- cocoon-block-mail :  Java XML Framework
- cocoon-block-midi :  Java XML Framework
- cocoon-block-naming :  Java XML Framework
- cocoon-block-ojb :  Java XML Framework
- cocoon-block-paranoid :  Java XML Framework
- cocoon-block-petstore :  Java XML Framework
- cocoon-block-poi :  Java XML Framework
- cocoon-block-portal :  Java XML Framework
- cocoon-block-profiler :  Java XML Framework
- cocoon-block-proxy :  Java XML Framework
- cocoon-block-python :  Java XML Framework
- cocoon-block-qdox :  Java XML Framework
- cocoon-block-querybean :  Java XML Framework
- cocoon-block-repository :  Java XML Framework
- cocoon-block-scratchpad :  Java XML Framework
- cocoon-block-serializers :  Java XML Framework
- cocoon-block-session-fw :  Java XML Framework
- cocoon-block-slide :  Java XML Framework
- cocoon-block-slop :  Java XML Framework
- cocoon-block-spring-app :  A demo for Spring and Cocoon
- cocoon-block-stx :  Java XML Framework
- cocoon-block-taglib :  Java XML Framework
- cocoon-block-template :  Java XML Framework
- cocoon-block-tour :  Java XML Framework
- cocoon-block-velocity :  Java XML Framework
- cocoon-block-web3 :  Java XML Framework
- cocoon-block-webdav :  Java XML Framework
- cocoon-block-xmldb :  Java XML Framework
- cocoon-block-xsp :  Java XML Framework
- commons-beanutils :  Bean Utilities (Core)
- commons-beanutils-bean-collections :  Bean Utilities (Bean Collections)
- commons-beanutils-core :  Jakarta commons
- commons-betwixt :  Commons Betwixt Package
- commons-chain :  GoF Chain of Responsibility pattern
- commons-cli :  Commons CLI Package
  

[EMAIL PROTECTED]: Project commons-logging (in module jakarta-commons) failed

2005-06-26 Thread Ted Husted
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-logging has an issue affecting its community integration.
This issue affects 322 projects,
 and has been outstanding for 12 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- addressing :  WS-FX Project
- ant-embed-optional :  Java based build tool
- ant-xdocs-proposal :  Java based build tool
- apache-ldapber-provider :  Apache Directory Project
- apacheds-core :  Apache Directory Server
- apacheds-main :  Apache Directory Server
- apacheds-shared :  Apache Directory Server
- asn1-ber :  Apache ASN.1 Tools
- asn1-codec :  Apache ASN.1 Tools
- authx-script :  Apache Authentication and Authorization Framework
- avalon-activation-impl :  Avalon SVN
- avalon-central-site :  Avalon SVN
- avalon-composition-impl :  Avalon SVN
- avalon-finder-test :  Avalon SVN
- avalon-jms-api :  Avalon SVN
- avalon-jms-impl :  Avalon SVN
- avalon-jms-test :  Avalon SVN
- avalon-jmx-mx4j :  Avalon SVN
- avalon-jmx-spi :  Avalon SVN
- avalon-jmx-test :  Avalon SVN
- avalon-jmx-util :  Avalon SVN
- avalon-logging-test :  Avalon SVN
- avalon-merlin-cli :  Avalon SVN
- avalon-merlin-impl :  Avalon SVN
- avalon-merlin-unit :  Avalon SVN
- avalon-repository-cli :  Avalon SVN
- avalon-repository-test :  Avalon SVN
- avalon-runtime :  Avalon SVN
- avalon-tutorial-hello :  Avalon SVN
- avalon-tutorial-main :  Avalon SVN
- avalon-tutorial-webserver :  Avalon SVN
- beepcore :  BEEP is a new Internet standards-track protocol
- cargo :  Cargo provides a Java API to manipulate Java Containers
- castor :  Java to XML, SQL, LDAP bindings
- checkstyle :  Java style checker
- checkstyle-test :  Java style checker
- cocoon :  Java XML Framework
- cocoon-block-apples :  Java XML Framework
- cocoon-block-asciiart :  Java XML Framework
- cocoon-block-authentication-fw :  Java XML Framework
- cocoon-block-axis :  Java XML Framework
- cocoon-block-batik :  Java XML Framework
- cocoon-block-bsf :  Java XML Framework
- cocoon-block-chaperon :  Java XML Framework
- cocoon-block-cron :  Java XML Framework
- cocoon-block-databases :  Java XML Framework
- cocoon-block-deli :  Java XML Framework
- cocoon-block-eventcache :  Java XML Framework
- cocoon-block-faces :  Java XML Framework
- cocoon-block-fop :  Java XML Framework
- cocoon-block-forms :  Java XML Framework
- cocoon-block-hsqldb :  Java XML Framework
- cocoon-block-html :  Java XML Framework
- cocoon-block-itext :  Java XML Framework
- cocoon-block-javaflow :  Java XML Framework
- cocoon-block-jcr :  A jcr: protocol for Cocoon
- cocoon-block-jfor :  Java XML Framework
- cocoon-block-jms :  Java XML Framework
- cocoon-block-jsp :  Java XML Framework
- cocoon-block-linkrewriter :  Java XML Framework
- cocoon-block-lucene :  Java XML Framework
- cocoon-block-mail :  Java XML Framework
- cocoon-block-midi :  Java XML Framework
- cocoon-block-naming :  Java XML Framework
- cocoon-block-ojb :  Java XML Framework
- cocoon-block-paranoid :  Java XML Framework
- cocoon-block-petstore :  Java XML Framework
- cocoon-block-poi :  Java XML Framework
- cocoon-block-portal :  Java XML Framework
- cocoon-block-profiler :  Java XML Framework
- cocoon-block-proxy :  Java XML Framework
- cocoon-block-python :  Java XML Framework
- cocoon-block-qdox :  Java XML Framework
- cocoon-block-querybean :  Java XML Framework
- cocoon-block-repository :  Java XML Framework
- cocoon-block-scratchpad :  Java XML Framework
- cocoon-block-serializers :  Java XML Framework
- cocoon-block-session-fw :  Java XML Framework
- cocoon-block-slide :  Java XML Framework
- cocoon-block-slop :  Java XML Framework
- cocoon-block-spring-app :  A demo for Spring and Cocoon
- cocoon-block-stx :  Java XML Framework
- cocoon-block-taglib :  Java XML Framework
- cocoon-block-template :  Java XML Framework
- cocoon-block-tour :  Java XML Framework
- cocoon-block-velocity :  Java XML Framework
- cocoon-block-web3 :  Java XML Framework
- cocoon-block-webdav :  Java XML Framework
- cocoon-block-xmldb :  Java XML Framework
- cocoon-block-xsp :  Java XML Framework
- commons-beanutils :  Bean Utilities (Core)
- commons-beanutils-bean-collections :  Bean Utilities (Bean Collections)
- commons-beanutils-core :  Jakarta commons
- commons-betwixt :  Commons Betwixt Package
- commons-chain :  GoF Chain of Responsibility pattern
- commons-cli :  Commons CLI Package
  

Re: [EMAIL PROTECTED]: Project commons-logging (in module jakarta-commons) failed

2005-06-26 Thread Stefan Bodewig
On Sun, 26 Jun 2005, Simon Kitching [EMAIL PROTECTED] wrote:

 I've committed an updated build.xml that has split the old
 compile-only target into:
 target name=compile-only 
depends=init,discovery,warning,
 show-lib-presence,compile-non-log4j,
 compile-log4j12,compile-log4j13,build-jar/
 
 The init, discovery, warning targets were already dependencies of
 this target.

Close, right now I've split the gump build into step1 which does

init,discovery,warning,show-lib-presence,compile-non-log4j,compile-log4j12

and a second step that callsthe dist target.

I assumed that compile-log4j12 requires init and so I couldn't simply
invoke that target directly.

Thanks

Stefan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201739 - /jakarta/commons/proper/email/trunk/project.xml

2005-06-26 Thread dion
Author: dion
Date: Sat Jun 25 04:48:51 2005
New Revision: 201739

URL: http://svn.apache.org/viewcvs?rev=201739view=rev
Log:
Move to dumbster 1.6 for testing:

- jdk13 compatible

- faster

- still works for us

Modified:
jakarta/commons/proper/email/trunk/project.xml

Modified: jakarta/commons/proper/email/trunk/project.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/project.xml?rev=201739r1=201738r2=201739view=diff
==
--- jakarta/commons/proper/email/trunk/project.xml (original)
+++ jakarta/commons/proper/email/trunk/project.xml Sat Jun 25 04:48:51 2005
@@ -152,7 +152,7 @@
 dependency
 groupIddumbster/groupId
 artifactIddumbster/artifactId
-version1.5/version
+version1.6/version
 properties/
 /dependency
 /dependencies



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201751 - /jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/

2005-06-26 Thread scolebourne
Author: scolebourne
Date: Sat Jun 25 08:11:09 2005
New Revision: 201751

URL: http://svn.apache.org/viewcvs?rev=201751view=rev
Log:
Add folder structure

Added:

jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201752 - in /jakarta/commons/proper/io/branches/finder-reminder/java: find/ org/apache/commons/io/find/

2005-06-26 Thread scolebourne
Author: scolebourne
Date: Sat Jun 25 08:13:52 2005
New Revision: 201752

URL: http://svn.apache.org/viewcvs?rev=201752view=rev
Log:
Move finder to correct package

Added:

jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/
  - copied from r201751, 
jakarta/commons/proper/io/branches/finder-reminder/java/find/
Removed:
jakarta/commons/proper/io/branches/finder-reminder/java/find/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201750 - in /jakarta/commons/proper/io/branches/finder-reminder/java/org: ./ apache/ apache/commons/

2005-06-26 Thread scolebourne
Author: scolebourne
Date: Sat Jun 25 08:11:03 2005
New Revision: 201750

URL: http://svn.apache.org/viewcvs?rev=201750view=rev
Log:
Add folder structure

Added:
jakarta/commons/proper/io/branches/finder-reminder/java/org/
jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/
jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201753 - /jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FinderException.java

2005-06-26 Thread scolebourne
Author: scolebourne
Date: Sat Jun 25 08:17:01 2005
New Revision: 201753

URL: http://svn.apache.org/viewcvs?rev=201753view=rev
Log:
Add javadoc

Removed:

jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FinderException.java


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201755 - in /jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find: FindListener.java FindingFilter.java

2005-06-26 Thread scolebourne
Author: scolebourne
Date: Sat Jun 25 08:23:41 2005
New Revision: 201755

URL: http://svn.apache.org/viewcvs?rev=201755view=rev
Log:
Add javadoc

Modified:

jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FindListener.java

jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FindingFilter.java

Modified: 
jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FindListener.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FindListener.java?rev=201755r1=201754r2=201755view=diff
==
--- 
jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FindListener.java
 (original)
+++ 
jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FindListener.java
 Sat Jun 25 08:23:41 2005
@@ -1,5 +1,5 @@
 /*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * Copyright 2001-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the License);
  * you may not use this file except in compliance with the License.
@@ -15,24 +15,34 @@
  */
 package org.apache.commons.io.find;
 
+/**
+ * A listener interface that is called during the finder process.
+ * 
+ * @author Henri Yandell
+ * @version $Id$
+ * @since 1.1
+ */
 public interface FindListener {
 
 /**
- * A directory has begun to be looked at by a Finder.
+ * Listener event called when a directory is about to be examined.
+ * 
+ * @param findEvent  the event object
  */
 public void directoryStarted(FindEvent findEvent);
 
 /**
- * A directory has been finished. The FindEvent will 
- * contain an array of the filenames found.
+ * Listener event called when a directory has been fully processed.
+ * 
+ * @param findEvent  the event object
  */
 public void directoryFinished(FindEvent findEvent);
 
 /**
- * A file has been found. The FindEvent will contain the 
- * filename found.
+ * Listener event called when a file is found.
+ * 
+ * @param findEvent  the event object
  */
 public void fileFound(FindEvent findEvent);
-//public void entryFound(FindEvent findEvent);
 
 }

Modified: 
jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FindingFilter.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FindingFilter.java?rev=201755r1=201754r2=201755view=diff
==
--- 
jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FindingFilter.java
 (original)
+++ 
jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FindingFilter.java
 Sat Jun 25 08:23:41 2005
@@ -28,16 +28,30 @@
 import org.apache.commons.io.FilenameUtils;
 
 /**
+ * Filters that can check whether to include a file in the response or not.
+ * p
  * This is where most of the find functionality occurs. Nearly every option 
  * to find is mapped to a FileFilter, which are then chained together inside 
- * this class. 
+ * this class.
+ * 
+ * @author Henri Yandell
+ * @version $Id$
+ * @since 1.1
  */
 public class FindingFilter implements FileFilter {
 
+/** The options to use. */
 private Map options;
+/** The filters to use. */
 private List filters = new LinkedList();
+/** The daystart flag. */
 private boolean daystart;
 
+/**
+ * Constructor.
+ * 
+ * @param options  the options to use
+ */
 public FindingFilter(Map options) {
 this.options = options;
 Collection entries = options.entrySet();
@@ -212,7 +226,7 @@
 this.argument = new Boolean(argument.toString()).booleanValue();
 }
 public boolean accept(File file) {
-return FindingFilter.invert( this.invert,  (!file.isDirectory()  
file.length() == 0) == this.argument );
+return FindingFilter.invert( this.invert, (!file.isDirectory()  
file.length() == 0) == this.argument );
 }
 }
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201754 - /jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FinderException.java

2005-06-26 Thread scolebourne
Author: scolebourne
Date: Sat Jun 25 08:19:34 2005
New Revision: 201754

URL: http://svn.apache.org/viewcvs?rev=201754view=rev
Log:
Add javadoc

Added:

jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FinderException.java
   (with props)

Added: 
jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FinderException.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FinderException.java?rev=201754view=auto
==
--- 
jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FinderException.java
 (added)
+++ 
jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FinderException.java
 Sat Jun 25 08:19:34 2005
@@ -0,0 +1,63 @@
+/*
+ * Copyright 2001-2005 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.commons.io.find;
+
+/**
+ * Exception thrown when an error occurs during the find process.
+ * 
+ * @author Henri Yandell
+ * @version $Id$
+ * @since 1.1
+ */
+public class FinderException extends RuntimeException {
+
+/**
+ * Constructor.
+ */
+public FinderException() {
+super();
+}
+
+/**
+ * Constructor taking a descriptive message.
+ * 
+ * @param msg  the message to use
+ */
+public FinderException(String msg) {
+super(msg);
+}
+
+/**
+ * Constructor taking a throwable.
+ * 
+ * @param th  the throwable to wrap
+ */
+public FinderException(Throwable th) {
+super(th);
+}
+
+/**
+ * Constructor taking a message and throwable.
+ * 
+ * @param msg  the message to use
+ * @param th  the throwable to wrap
+ */
+public FinderException(String msg, Throwable th) {
+super(msg, th);
+}
+
+}

Propchange: 
jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FinderException.java
--
svn:eol-style = native

Propchange: 
jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FinderException.java
--
svn:keywords = author date id revision



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201757 - in /jakarta/commons/proper/io/branches/finder-reminder/test/org: ./ apache/ apache/commons/ apache/commons/io/ apache/commons/io/find/

2005-06-26 Thread scolebourne
Author: scolebourne
Date: Sat Jun 25 08:38:06 2005
New Revision: 201757

URL: http://svn.apache.org/viewcvs?rev=201757view=rev
Log:
Rework to use lists not arrays

bug 34256, inspired by gaxzerow

Added:
jakarta/commons/proper/io/branches/finder-reminder/test/org/
jakarta/commons/proper/io/branches/finder-reminder/test/org/apache/
jakarta/commons/proper/io/branches/finder-reminder/test/org/apache/commons/

jakarta/commons/proper/io/branches/finder-reminder/test/org/apache/commons/io/

jakarta/commons/proper/io/branches/finder-reminder/test/org/apache/commons/io/find/
  - copied from r201752, 
jakarta/commons/proper/io/branches/finder-reminder/test/java/find/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201759 - /jakarta/commons/proper/io/branches/finder-reminder/test/java/find/

2005-06-26 Thread scolebourne
Author: scolebourne
Date: Sat Jun 25 08:40:33 2005
New Revision: 201759

URL: http://svn.apache.org/viewcvs?rev=201759view=rev
Log:
Delete to proper package structure

Removed:
jakarta/commons/proper/io/branches/finder-reminder/test/java/find/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201758 - /jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FileFinder.java

2005-06-26 Thread scolebourne
Author: scolebourne
Date: Sat Jun 25 08:38:12 2005
New Revision: 201758

URL: http://svn.apache.org/viewcvs?rev=201758view=rev
Log:
Rework to use lists not arrays

bug 34256, inspired by gaxzerow

Modified:

jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FileFinder.java

Modified: 
jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FileFinder.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FileFinder.java?rev=201758r1=201757r2=201758view=diff
==
--- 
jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FileFinder.java
 (original)
+++ 
jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FileFinder.java
 Sat Jun 25 08:38:12 2005
@@ -1,5 +1,5 @@
 /*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * Copyright 2001-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the License);
  * you may not use this file except in compliance with the License.
@@ -16,190 +16,257 @@
 package org.apache.commons.io.find;
 
 import java.io.File;
-import java.util.List;
-import java.util.LinkedList;
+import java.util.ArrayList;
+import java.util.Collections;
 import java.util.Iterator;
+import java.util.List;
 import java.util.Map;
 
 /**
- * Finds Files in a file system.
- *
- * Informs FindListeners whenever a Find is made, and returns the 
- * finds to the user.
+ * Searches for files that match certain criteria in a directory, and
+ * typically also subdirectories.
+ * p
+ * This is a programmatic equivalent of the search functions present
+ * in many operating systems. You can be informed dynamically of
+ * events as they occur by adding a listener.
+ * 
+ * @author Henri Yandell
+ * @version $Id$
+ * @since 1.1
  */
 public class FileFinder implements Finder {
 
-// helper methods to handle options in String-whatever
-private static int toInt(Object obj) {
-if(obj == null) {
-return 0;
-} else
-if(obj instanceof Number) {
-return ((Number)obj).intValue();
-} else {
-String str = obj.toString();
-try {
-return Integer.parseInt(str.toString());
-} catch(NumberFormatException nfe) {
-throw new IllegalArgumentException(String argument +str+ 
must be parseable as an integer.  );
-}
-}
-}
-private static boolean toBoolean(Object obj) {
-if(obj == null) {
-return false;
-} else
-if(obj instanceof Boolean) {
-return ((Boolean)obj).booleanValue();
-} else
-if(obj instanceof Number) {
-return ((Number)obj).intValue() != 0;
-} else {
-String str = obj.toString();
-return new Boolean(str).booleanValue();
-}
-}
-
+/** The list of listeners. */
 private List findListeners;
 
 /**
+ * Constructor.
+ */
+public FileFinder() {
+super();
+}
+
+//---
+/**
  * Find all files in the specified directory.
+ * 
+ * @param directory  the directory to search in
  */
 public File[] find(File directory) {
-return find(directory, new java.util.HashMap());
+return find(directory, Collections.EMPTY_MAP);
 }
 
 /**
- * @todo add maxdepth and mindepth somehow
+ * Finds files in the specified directory that match the given options.
+ * 
+ * @param directory  the directory to search in
+ * @param options  the options to use
  */
 public File[] find(File directory, Map options) {
-notifyDirectoryStarted(directory);
+List retlist = new ArrayList();
+find(directory, options, retlist);
+File[] files = (File[]) retlist.toArray(new File[retlist.size()]);
+return files;
+}
 
+/**
+ * Finds files in the specified directory that match the given options.
+ * The results are added to the non-null list provided.
+ * p
+ * Note: To avoid large memory allocations, avoid adding any FileListeners,
+ * and try overwriding List.add(Object o) instead.
+ * 
+ * @param directory  the directory to search in
+ * @param options  the options to use
+ * @param foundFiles  a List to which all found files will be added
+ */
+public void find(File directory, Map options, List foundFiles) {
+if (foundFiles == null) {
+throw new IllegalArgumentException(foundFiles list cannot be 
null);
+}
+
+notifyDirectoryStarted(directory);
 boolean depthFirst = toBoolean(options.get(Finder.DEPTH));
-
 int maxDepth = toInt(options.get(Finder.MAXDEPTH));
 int 

svn commit: r201760 - /jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FindingFilter.java

2005-06-26 Thread scolebourne
Author: scolebourne
Date: Sat Jun 25 08:55:43 2005
New Revision: 201760

URL: http://svn.apache.org/viewcvs?rev=201760view=rev
Log:
Avoid int overflow

bug 34601, from Martin Kompf

Modified:

jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FindingFilter.java

Modified: 
jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FindingFilter.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FindingFilter.java?rev=201760r1=201759r2=201760view=diff
==
--- 
jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FindingFilter.java
 (original)
+++ 
jakarta/commons/proper/io/branches/finder-reminder/java/org/apache/commons/io/find/FindingFilter.java
 Sat Jun 25 08:55:43 2005
@@ -1,5 +1,5 @@
 /*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * Copyright 2001-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the License);
  * you may not use this file except in compliance with the License.
@@ -35,6 +35,7 @@
  * this class.
  * 
  * @author Henri Yandell
+ * @author Martin Kompf
  * @version $Id$
  * @since 1.1
  */
@@ -174,7 +175,8 @@
 }
 public boolean accept(File file) {
 boolean daystart = this.parent.isDaystartConfigured();
-return FindingFilter.invert( this.invert,  file.lastModified()  
System.currentTimeMillis() - this.argument * 6 );
+return FindingFilter.invert( this.invert,
+file.lastModified()  System.currentTimeMillis() - 
this.argument * 6L );
 }
 }
 
@@ -212,7 +214,8 @@
 }
 public boolean accept(File file) {
 boolean daystart = this.parent.isDaystartConfigured();
-return FindingFilter.invert( this.invert,  file.lastModified()  
System.currentTimeMillis() - this.argument * 6*60*24 );
+return FindingFilter.invert( this.invert,
+file.lastModified()  System.currentTimeMillis() - 
this.argument * 6L * 60L * 24L );
 }
 }
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201762 - /jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/input/ClassLoaderObjectInputStreamTest.java

2005-06-26 Thread tobrien
Author: tobrien
Date: Sat Jun 25 09:27:24 2005
New Revision: 201762

URL: http://svn.apache.org/viewcvs?rev=201762view=rev
Log:
A simple test case for ClassLoaderObjectInputStream that

simply tests the expected behavior of an ObjectInputStream.

To test the functionality of CLOIS, we will probably need to 

figure out how to create a transient class loader in the

test case.

Added:

jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/input/ClassLoaderObjectInputStreamTest.java

Added: 
jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/input/ClassLoaderObjectInputStreamTest.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/input/ClassLoaderObjectInputStreamTest.java?rev=201762view=auto
==
--- 
jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/input/ClassLoaderObjectInputStreamTest.java
 (added)
+++ 
jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/input/ClassLoaderObjectInputStreamTest.java
 Sat Jun 25 09:27:24 2005
@@ -0,0 +1,58 @@
+/*

+ * Copyright 2003-2005 The Apache Software Foundation.

+ * 

+ * Licensed under the Apache License, Version 2.0 (the License);

+ * you may not use this file except in compliance with the License.

+ * You may obtain a copy of the License at

+ * 

+ *  http://www.apache.org/licenses/LICENSE-2.0

+ * 

+ * Unless required by applicable law or agreed to in writing, software

+ * distributed under the License is distributed on an AS IS BASIS,

+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+ * See the License for the specific language governing permissions and

+ * limitations under the License.

+ */

+

+package org.apache.commons.io.input;

+

+import java.io.ByteArrayInputStream;

+import java.io.ByteArrayOutputStream;

+import java.io.InputStream;

+import java.io.ObjectOutputStream;

+

+import junit.framework.TestCase;

+

+/**

+ * Tests the CountingInputStream.

+ *

+ * @version $Id: CountingInputStreamTest.java 160202 2005-04-05 17:22:21Z 
roxspring $

+ */

+public class ClassLoaderObjectInputStreamTest extends TestCase {

+

+public ClassLoaderObjectInputStreamTest(String name) {

+super(name);

+}

+

+   /* Note: This test case tests the simplest functionality of

+* ObjectInputStream.  IF we really wanted to test 
ClassLoaderObjectInputStream

+* we would probably need to create a transient Class Loader. -TO

+*/

+

+

+public void testExpected() throws Exception {

+

+   ByteArrayOutputStream baos = new ByteArrayOutputStream();

+   ObjectOutputStream oos = new ObjectOutputStream(baos);

+   

+   oos.writeObject( Boolean.FALSE );

+   

+   InputStream bais = new ByteArrayInputStream(baos.toByteArray());

+   ClassLoaderObjectInputStream clois = 

+   new ClassLoaderObjectInputStream(getClass().getClassLoader(), 
bais);

+   Boolean result = (Boolean) clois.readObject();

+   

+   assertTrue( !result.booleanValue() );

+}

+

+}




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201763 - /jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AndFileFilter.java

2005-06-26 Thread tobrien
Author: tobrien
Date: Sat Jun 25 09:31:48 2005
New Revision: 201763

URL: http://svn.apache.org/viewcvs?rev=201763view=rev
Log:
Added validation of List constructor argument.

Modified:

jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AndFileFilter.java

Modified: 
jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AndFileFilter.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AndFileFilter.java?rev=201763r1=201762r2=201763view=diff
==
--- 
jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AndFileFilter.java
 (original)
+++ 
jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/AndFileFilter.java
 Sat Jun 25 09:31:48 2005
@@ -55,6 +55,9 @@
  * @since Commons IO 1.1
  */
 public AndFileFilter(final List fileFilters) {
+if (fileFilters == null) {
+throw new IllegalArgumentException(The filters List must not be 
null);
+}
 this.fileFilters = new ArrayList(fileFilters);
 }
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201764 - in /jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io: ./ filefilter/ input/

2005-06-26 Thread tobrien
Author: tobrien
Date: Sat Jun 25 09:33:04 2005
New Revision: 201764

URL: http://svn.apache.org/viewcvs?rev=201764view=rev
Log:
Increased test coverage for file filter tests, and also fixed some nits in 
CountingInputStreamTest.

Modified:

jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/IOUtilsWriteTestCase.java

jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/FileFilterTestCase.java

jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/IOFileFilterAbstractTestCase.java

jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/input/CountingInputStreamTest.java

jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/input/PackageTestSuite.java

Modified: 
jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/IOUtilsWriteTestCase.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/IOUtilsWriteTestCase.java?rev=201764r1=201763r2=201764view=diff
==
--- 
jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/IOUtilsWriteTestCase.java
 (original)
+++ 
jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/IOUtilsWriteTestCase.java
 Sat Jun 25 09:33:04 2005
@@ -205,8 +205,6 @@
 }
 
 public void testWrite_stringToOutputStream_nullData() throws Exception {
-String str = new String(inData, US-ASCII);
-
 ByteArrayOutputStream baout = new ByteArrayOutputStream();
 YellOnFlushAndCloseOutputStream out = new 
YellOnFlushAndCloseOutputStream(baout, true, true);
 
@@ -242,8 +240,6 @@
 }
 
 public void testWrite_stringToOutputStream_Encoding_nullData() throws 
Exception {
-String str = new String(inData, US-ASCII);
-
 ByteArrayOutputStream baout = new ByteArrayOutputStream();
 YellOnFlushAndCloseOutputStream out = new 
YellOnFlushAndCloseOutputStream(baout, true, true);
 
@@ -293,8 +289,6 @@
 }
 
 public void testWrite_stringToWriter_Encoding_nullData() throws Exception {
-String str = new String(inData, US-ASCII);
-
 ByteArrayOutputStream baout = new ByteArrayOutputStream();
 YellOnFlushAndCloseOutputStream out = new 
YellOnFlushAndCloseOutputStream(baout, true, true);
 Writer writer = new OutputStreamWriter(baout, US-ASCII);
@@ -330,8 +324,6 @@
 }
 
 public void testWrite_charArrayToOutputStream_nullData() throws Exception {
-String str = new String(inData, US-ASCII);
-
 ByteArrayOutputStream baout = new ByteArrayOutputStream();
 YellOnFlushAndCloseOutputStream out = new 
YellOnFlushAndCloseOutputStream(baout, true, true);
 
@@ -418,8 +410,6 @@
 }
 
 public void testWrite_charArrayToWriter_Encoding_nullData() throws 
Exception {
-String str = new String(inData, US-ASCII);
-
 ByteArrayOutputStream baout = new ByteArrayOutputStream();
 YellOnFlushAndCloseOutputStream out = new 
YellOnFlushAndCloseOutputStream(baout, true, true);
 Writer writer = new OutputStreamWriter(baout, US-ASCII);

Modified: 
jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/FileFilterTestCase.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/FileFilterTestCase.java?rev=201764r1=201763r2=201764view=diff
==
--- 
jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/FileFilterTestCase.java
 (original)
+++ 
jakarta/commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/FileFilterTestCase.java
 Sat Jun 25 09:33:04 2005
@@ -16,6 +16,11 @@
 package org.apache.commons.io.filefilter;
 
 import java.io.File;
+import java.io.FileFilter;
+import java.io.FilenameFilter;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
 
 import junit.framework.TestSuite;
 import junit.textui.TestRunner;
@@ -68,10 +73,16 @@
 
 public void testSuffix() throws Exception {
 IOFileFilter filter = new SuffixFileFilter(new String[] { tes, est 
});
+File testFile = new File( test );
+File fredFile = new File( fred );
 assertFiltering(filter, new File(fred.tes), true);
 assertFiltering(filter, new File(fred.est), true);
 assertFiltering(filter, new File(fred.EST), false); //case-sensitive
 assertFiltering(filter, new File(fred.exe), false);
+
+filter = FileFilterUtils.orFileFilter( 
+   FileFilterUtils.suffixFileFilter( tes ),
+   FileFilterUtils.suffixFileFilter( est ) );
 assertFiltering(filter, new File(fred), false);
 assertFiltering(filter, new File(.tes), true);
 assertFiltering(filter, new File(fred.test), true);
@@ -80,12 +91,33 @@
 

svn commit: r201765 - in /jakarta/commons/proper/collections/trunk: ./ src/java/org/apache/commons/collections/ src/java/org/apache/commons/collections/functors/ src/test/org/apache/commons/collections/

2005-06-26 Thread scolebourne
Author: scolebourne
Date: Sat Jun 25 09:39:34 2005
New Revision: 201765

URL: http://svn.apache.org/viewcvs?rev=201765view=rev
Log:
Add casts to avoid some JDK1.5 compilation warnings

bug 35474, from Will Pugh

Modified:
jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html
jakarta/commons/proper/collections/trunk/project.xml

jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/IteratorUtils.java

jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/PrototypeFactory.java

jakarta/commons/proper/collections/trunk/src/test/org/apache/commons/collections/BulkTest.java

jakarta/commons/proper/collections/trunk/src/test/org/apache/commons/collections/TestBeanMap.java

Modified: jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html?rev=201765r1=201764r2=201765view=diff
==
--- jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html (original)
+++ jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html Sat Jun 25 
09:39:34 2005
@@ -21,6 +21,11 @@
 centerh2RELEASE NOTES: COLLECTIONS 3.2/h2/center
 
 p
+Commons collections is a project to develop and maintain collection classes
+based on and inspired by the JDK collection framework.
+This project is JDK1.2 compatible, and does not use JDK1.5 generics.
+/p
+p
 This release adds various new classes and fixes a number of bugs.
 All feedback should be directed to commons-user at jakarta.apache.org.
 /p
@@ -74,6 +79,7 @@
 liBoundedFifoBuffer - Fix iterator remove bug causing ArrayIndexOutOfBounds 
error [33071]/li
 liIteratorChain.remove() - Fix to avoid IllegalStateException when one of 
the underlying iterators is a FilterIterator [34267]/li
 liExtendedProperties.convertProperties() - Fix to handle default properties 
maps correctly [32204]/li
+liAdd casts to avoid some JDK1.5 compilation warnings [35474]/li
 /ul
 
 centerh3JAVADOC/h3/center

Modified: jakarta/commons/proper/collections/trunk/project.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/project.xml?rev=201765r1=201764r2=201765view=diff
==
--- jakarta/commons/proper/collections/trunk/project.xml (original)
+++ jakarta/commons/proper/collections/trunk/project.xml Sat Jun 25 09:39:34 
2005
@@ -277,6 +277,9 @@
   nameJonas Van Poucke/name
 /contributor
 contributor
+  nameWill Pugh/name
+/contributor
+contributor
   nameHerve Quiroz/name
 /contributor
 contributor

Modified: 
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/IteratorUtils.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/IteratorUtils.java?rev=201765r1=201764r2=201765view=diff
==
--- 
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/IteratorUtils.java
 (original)
+++ 
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/IteratorUtils.java
 Sat Jun 25 09:39:34 2005
@@ -895,9 +895,9 @@
 
 } else {
 try {
-Method method = obj.getClass().getMethod(iterator, null);
+Method method = obj.getClass().getMethod(iterator, (Class[]) 
null);
 if (Iterator.class.isAssignableFrom(method.getReturnType())) {
-Iterator it = (Iterator) method.invoke(obj, null);
+Iterator it = (Iterator) method.invoke(obj, (Object[]) 
null);
 if (it != null) {
 return it;
 }

Modified: 
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/PrototypeFactory.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/PrototypeFactory.java?rev=201765r1=201764r2=201765view=diff
==
--- 
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/PrototypeFactory.java
 (original)
+++ 
jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/PrototypeFactory.java
 Sat Jun 25 09:39:34 2005
@@ -59,7 +59,7 @@
 return ConstantFactory.NULL_INSTANCE;
 }
 try {
-Method method = prototype.getClass().getMethod(clone, null);
+Method method = prototype.getClass().getMethod(clone, (Class[]) 
null);
 return new PrototypeCloneFactory(prototype, method);
 
 } catch (NoSuchMethodException ex) {
@@ -116,7 +116,7 @@
  */
 private void 

svn commit: r201790 - in /jakarta/commons/proper/httpclient/trunk: build.xml project.xml release_notes.txt src/java/org/apache/commons/httpclient/params/DefaultHttpParamsFactory.java xdocs/downloads.xml xdocs/navigation.xml xdocs/news.xml xdocs/status.xml

2005-06-26 Thread mbecke
Author: mbecke
Date: Sat Jun 25 14:46:23 2005
New Revision: 201790

URL: http://svn.apache.org/viewcvs?rev=201790view=rev
Log:
Updates for 3.0RC3

Modified:
jakarta/commons/proper/httpclient/trunk/build.xml
jakarta/commons/proper/httpclient/trunk/project.xml
jakarta/commons/proper/httpclient/trunk/release_notes.txt

jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/params/DefaultHttpParamsFactory.java
jakarta/commons/proper/httpclient/trunk/xdocs/downloads.xml
jakarta/commons/proper/httpclient/trunk/xdocs/navigation.xml
jakarta/commons/proper/httpclient/trunk/xdocs/news.xml
jakarta/commons/proper/httpclient/trunk/xdocs/status.xml

Modified: jakarta/commons/proper/httpclient/trunk/build.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/build.xml?rev=201790r1=201789r2=201790view=diff
==
--- jakarta/commons/proper/httpclient/trunk/build.xml (original)
+++ jakarta/commons/proper/httpclient/trunk/build.xml Sat Jun 25 14:46:23 2005
@@ -38,7 +38,7 @@
   property name=component.title value=HttpClient Library/
 
   !-- The current version number of this component --
-  property name=component.version   value=3.0-rc2/
+  property name=component.version   value=3.0-rc3/
 
 !-- == Properties: Source Directories  --
 

Modified: jakarta/commons/proper/httpclient/trunk/project.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/project.xml?rev=201790r1=201789r2=201790view=diff
==
--- jakarta/commons/proper/httpclient/trunk/project.xml (original)
+++ jakarta/commons/proper/httpclient/trunk/project.xml Sat Jun 25 14:46:23 2005
@@ -6,7 +6,7 @@
   idcommons-httpclient/id
   gumpRepositoryIdjakarta-commons-httpclient/gumpRepositoryId
   inceptionYear2001/inceptionYear
-  currentVersion3.0-rc2/currentVersion
+  currentVersion3.0-rc3/currentVersion
   packageorg.apache.commons.httpclient/package
 
   organization
@@ -26,12 +26,17 @@
   
issueTrackingUrl![CDATA[http://issues.apache.org/bugzilla/buglist.cgi?query_format=advancedshort_desc_type=allwordssubstrshort_desc=product=HttpClientcomponent=Commons+HttpClientlong_desc_type=allwordssubstrlong_desc=bug_file_loc_type=allwordssubstrbug_file_loc=keywords_type=anywordskeywords=bug_status=NEWbug_status=ASSIGNEDbug_status=REOPENEDemailassigned_to1=1emailtype1=substringemail1=emailreporter2=1emailtype2=substringemail2=bugidtype=includebug_id=votes=chfieldfrom=chfieldto=Nowchfieldvalue=cmdtype=doitorder=Importancefield0-0-0=nooptype0-0-0=noopvalue0-0-0=]]/issueTrackingUrl
 
   siteAddresspeople.apache.org/siteAddress
-  
siteDirectory/www/jakarta.apache.org/commons/httpclient/3.0//siteDirectory
+  siteDirectory/www/jakarta.apache.org/commons/httpclient//siteDirectory
   repository

connectionscm:svn:http://svn.apache.org/repos/asf/jakarta/commons/proper/${pom.artifactId.substring(8)}/trunk/connection
 
urlhttp://svn.apache.org/repos/asf/jakarta/commons/proper/${pom.artifactId.substring(8)}/trunk/url
   /repository
   versions
+version
+  id3.0-rc3/id
+  name3.0-rc3/name
+  tagHTTPCLIENT_3_0_RC3/tag
+/version
 version
   id3.0-rc2/id
   name3.0-rc2/name

Modified: jakarta/commons/proper/httpclient/trunk/release_notes.txt
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/release_notes.txt?rev=201790r1=201789r2=201790view=diff
==
--- jakarta/commons/proper/httpclient/trunk/release_notes.txt (original)
+++ jakarta/commons/proper/httpclient/trunk/release_notes.txt Sat Jun 25 
14:46:23 2005
@@ -1,3 +1,5 @@
+Release 3.0 Release Candidate 3
+---
 Changes since Release Candidate 2:
 
  * 35365 - Added #hashCode and #equals methods for Credentials implementations

Modified: 
jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/params/DefaultHttpParamsFactory.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/params/DefaultHttpParamsFactory.java?rev=201790r1=201789r2=201790view=diff
==
--- 
jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/params/DefaultHttpParamsFactory.java
 (original)
+++ 
jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/params/DefaultHttpParamsFactory.java
 Sat Jun 25 14:46:23 2005
@@ -68,7 +68,7 @@
 protected HttpParams createParams() {
 HttpClientParams params = new HttpClientParams(null);
 
-params.setParameter(HttpMethodParams.USER_AGENT, Jakarta 
Commons-HttpClient/3.0-rc2);
+params.setParameter(HttpMethodParams.USER_AGENT, Jakarta 

svn commit: r201791 - /jakarta/commons/proper/httpclient/tags/HTTPCLIENT_3_0_RC3/

2005-06-26 Thread mbecke
Author: mbecke
Date: Sat Jun 25 14:50:23 2005
New Revision: 201791

URL: http://svn.apache.org/viewcvs?rev=201791view=rev
Log:
Release 3.0RC3

Added:
jakarta/commons/proper/httpclient/tags/HTTPCLIENT_3_0_RC3/
  - copied from r201790, jakarta/commons/proper/httpclient/trunk/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201810 - in /jakarta/commons/proper/math/trunk: src/java/org/apache/commons/math/util/MathUtils.java src/test/org/apache/commons/math/util/MathUtilsTest.java xdocs/changes.xml

2005-06-26 Thread psteitz
Author: psteitz
Date: Sat Jun 25 18:19:16 2005
New Revision: 201810

URL: http://svn.apache.org/viewcvs?rev=201810view=rev
Log:
Changed lcm to throw ArithmeticException (instead of returning bogus
value) if the result is too large to store as an integer.
PR # 35431
Submitted by: Jörg Weimar

Modified:

jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/util/MathUtils.java

jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/util/MathUtilsTest.java
jakarta/commons/proper/math/trunk/xdocs/changes.xml

Modified: 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/util/MathUtils.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/util/MathUtils.java?rev=201810r1=201809r2=201810view=diff
==
--- 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/util/MathUtils.java
 (original)
+++ 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/util/MathUtils.java
 Sat Jun 25 18:19:16 2005
@@ -530,13 +530,15 @@
 
 /**
  * Returns the least common multiple between two integer values.
+ * 
  * @param a the first integer value.
  * @param b the second integer value.
  * @return the least common multiple between a and b.
+ * @throws ArithmeticException if the lcm is too large to store as an int
  * @since 1.1
  */
 public static int lcm(int a, int b) {
-return Math.abs(a / gcd(a, b) * b);
+return Math.abs(mulAndCheck(a / gcd(a, b) , b));
 }
 
 /**

Modified: 
jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/util/MathUtilsTest.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/util/MathUtilsTest.java?rev=201810r1=201809r2=201810view=diff
==
--- 
jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/util/MathUtilsTest.java
 (original)
+++ 
jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/util/MathUtilsTest.java
 Sat Jun 25 18:19:16 2005
@@ -463,6 +463,13 @@
 assertEquals(150, MathUtils.lcm(-a, b));
 assertEquals(150, MathUtils.lcm(a, -b));
 assertEquals(2310, MathUtils.lcm(a, c));
+
+try {
+MathUtils.lcm(Integer.MAX_VALUE, Integer.MAX_VALUE - 1);
+fail(Expecting ArithmeticException);
+} catch (ArithmeticException ex) {
+// expected
+}
 }
 
 public void testRoundFloat() {

Modified: jakarta/commons/proper/math/trunk/xdocs/changes.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/xdocs/changes.xml?rev=201810r1=201809r2=201810view=diff
==
--- jakarta/commons/proper/math/trunk/xdocs/changes.xml (original)
+++ jakarta/commons/proper/math/trunk/xdocs/changes.xml Sat Jun 25 18:19:16 2005
@@ -39,9 +39,13 @@
   body
 release version=1.1 date=In Development  
description=Jakarta Commons Math 1.1 - Development
-  action dev=psteitz type=update issue=32663  due-to=Mary Ellen 
Foster
+  action dev=psteitz type=fix issue=32663  due-to=Mary Ellen 
Foster
 Added factories for TTest, ChiSquareTest and TestUtils class with
 static methods to create instances and execute tests.
+  /action
+  action dev=psteitz type=update issue=35431  due-to=Jörg Weimar
+Changed lcm to throw ArithmeticException (instead of returning bogus
+value) if the result is too large to store as an integer.
   /action
   action dev=psteitz type=update issue=35042  due-to=Paul Field
 Eliminated repeated endpoint function evalutations in BrentSolver, 
SecantSolver.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201813 - in /jakarta/commons/proper/math/trunk: src/java/org/apache/commons/math/fraction/Fraction.java src/test/org/apache/commons/math/fraction/FractionTest.java xdocs/changes.xml

2005-06-26 Thread psteitz
Author: psteitz
Date: Sat Jun 25 18:52:37 2005
New Revision: 201813

URL: http://svn.apache.org/viewcvs?rev=201813view=rev
Log:
Changed Fraction(double) to correctly handle near-integral arguments.
PR # 35434
Submitted by: Jörg Weimar

Modified:

jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/Fraction.java

jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/fraction/FractionTest.java
jakarta/commons/proper/math/trunk/xdocs/changes.xml

Modified: 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/Fraction.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/Fraction.java?rev=201813r1=201812r2=201813view=diff
==
--- 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/Fraction.java
 (original)
+++ 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/Fraction.java
 Sat Jun 25 18:52:37 2005
@@ -73,6 +73,14 @@
 {

 double r0 = value;

 int a0 = (int)Math.floor(r0);

+

+// check for (almost) integer arguments, which should not go

+// to iterations.

+if (Math.abs(a0 - value)  epsilon) {

+this.numerator = a0;

+this.denominator = 1;

+return;

+}

 

 int p0 = 1;

 int q0 = 0;


Modified: 
jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/fraction/FractionTest.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/fraction/FractionTest.java?rev=201813r1=201812r2=201813view=diff
==
--- 
jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/fraction/FractionTest.java
 (original)
+++ 
jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/fraction/FractionTest.java
 Sat Jun 25 18:52:37 2005
@@ -53,6 +53,14 @@
 } catch (ArithmeticException ex) {

 // success

 }

+try {

+assertFraction(0, 1, new Fraction(0.01));

+assertFraction(2, 5, new Fraction(0.41));

+assertFraction(15, 1, new Fraction(15.1));

+

+} catch (ConvergenceException ex) {

+fail(ex.getMessage());

+}

 }

 

 public void testCompareTo() {


Modified: jakarta/commons/proper/math/trunk/xdocs/changes.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/xdocs/changes.xml?rev=201813r1=201812r2=201813view=diff
==
--- jakarta/commons/proper/math/trunk/xdocs/changes.xml (original)
+++ jakarta/commons/proper/math/trunk/xdocs/changes.xml Sat Jun 25 18:52:37 2005
@@ -39,13 +39,16 @@
   body
 release version=1.1 date=In Development  
description=Jakarta Commons Math 1.1 - Development
-  action dev=psteitz type=fix issue=32663  due-to=Mary Ellen 
Foster
-Added factories for TTest, ChiSquareTest and TestUtils class with
-static methods to create instances and execute tests.
+  action dev=psteitz type=update issue=35434  due-to=Jörg Weimar
+Changed Fraction(double) to correctly handle near-integral arguments.
   /action
   action dev=psteitz type=update issue=35431  due-to=Jörg Weimar
 Changed lcm to throw ArithmeticException (instead of returning bogus
 value) if the result is too large to store as an integer.
+  /action
+  action dev=psteitz type=fix issue=32663  due-to=Mary Ellen 
Foster
+Added factories for TTest, ChiSquareTest and TestUtils class with
+static methods to create instances and execute tests.
   /action
   action dev=psteitz type=update issue=35042  due-to=Paul Field
 Eliminated repeated endpoint function evalutations in BrentSolver, 
SecantSolver.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201820 - /jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/MathExceptionTest.java

2005-06-26 Thread psteitz
Author: psteitz
Date: Sat Jun 25 20:26:42 2005
New Revision: 201820

URL: http://svn.apache.org/viewcvs?rev=201820view=rev
Log:
Emasculated MathException secalization test to work under jdk 1.3.

Modified:

jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/MathExceptionTest.java

Modified: 
jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/MathExceptionTest.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/MathExceptionTest.java?rev=201820r1=201819r2=201820view=diff
==
--- 
jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/MathExceptionTest.java
 (original)
+++ 
jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/MathExceptionTest.java
 Sat Jun 25 20:26:42 2005
@@ -113,6 +113,22 @@
 PrintWriter pw2 = new PrintWriter(ps2, true);
 image.printStackTrace(ps2);
 String stack2 = baos2.toString();
-assertEquals(stack, stack2);
+
+// See if JDK supports nested exceptions.  If not, stack trace of
+// inner exception will not be serialized
+boolean jdkSupportsNesting = false;
+try {
+Throwable.class.getDeclaredMethod(getCause, new Class[0]);
+jdkSupportsNesting = true;
+} catch (NoSuchMethodException e) {
+jdkSupportsNesting = false;
+}
+
+if (jdkSupportsNesting) {
+assertEquals(stack, stack2);
+} else {
+assertTrue(stack2.indexOf(inMsg) != -1);
+assertTrue(stack2.indexOf(MathConfigurationException) != -1);
+}
 }
 }



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201823 - /jakarta/commons/proper/logging/trunk/build.xml

2005-06-26 Thread skitching
Author: skitching
Date: Sat Jun 25 21:11:08 2005
New Revision: 201823

URL: http://svn.apache.org/viewcvs?rev=201823view=rev
Log:
Split compile target into separate pieces in order to assist gump.
Target compile-only is now:
  show-lib-presence,compile-non-log4j,compile-log4j12,compile-log4j13,build-jar

Modified:
jakarta/commons/proper/logging/trunk/build.xml

Modified: jakarta/commons/proper/logging/trunk/build.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/trunk/build.xml?rev=201823r1=201822r2=201823view=diff
==
--- jakarta/commons/proper/logging/trunk/build.xml (original)
+++ jakarta/commons/proper/logging/trunk/build.xml Sat Jun 25 21:11:08 2005
@@ -272,15 +272,18 @@
 
   target name='warning' 
depends='log4j12-warning,logkit-warning,jdk1.4-warning,avalon-framework-warning'/
 
+  target name=compile-only 
+
depends=init,discovery,warning,show-lib-presence,compile-non-log4j,compile-log4j12,compile-log4j13,build-jar/
 
-  target name=compile-only depends=init,discovery,warning 
-
+  target name=show-lib-presence
 echo  message=jdk.1.4.present=${jdk.1.4.present}/
 echo  message=log4j12.present=${log4j12.present}/
 echo  message=log4j13.present=${log4j13.present}/
 echo  message=logkit.present=${logkit.present}/
 echo  message=avalon-framework.present=${avalon-framework.present}/
+  /target
 
+  target name=compile-non-log4j
 !-- compile everything except Log4J classes --
 javac srcdir=${source.home}
destdir=${build.home}/classes
@@ -303,7 +306,9 @@
   exclude name=org/apache/commons/logging/impl/AvalonLogger.java
unless=avalon-framework.present/
 /javac
+  /target
 
+  target name=compile-log4j12
 !-- compile the log4j1.2 support classes --
 javac srcdir=${source.home}
destdir=${build.home}/classes
@@ -325,7 +330,9 @@
   include name=org/apache/commons/logging/impl/Log4J12Logger.java
if=log4j12.present/
 /javac
+  /target
 
+  target name=compile-log4j13
 !-- compile the log4j1.3 support classes --
 javac srcdir=${source.home}
destdir=${build.home}/classes
@@ -343,8 +350,9 @@
   include name=org/apache/commons/logging/impl/Log4J13Logger.java
if=log4j13.present/
 /javac
+  /target
 
-
+  target name=build-jar
 copy  todir=${build.home}/classes filtering=on
   fileset dir=${source.home} excludes=**/*.java/
 /copy



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201821 - /jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/FractionFormat.java

2005-06-26 Thread psteitz
Author: psteitz
Date: Sat Jun 25 20:29:09 2005
New Revision: 201821

URL: http://svn.apache.org/viewcvs?rev=201821view=rev
Log:
Eliminated JDK 1.4 dependency.

Modified:

jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/FractionFormat.java

Modified: 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/FractionFormat.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/FractionFormat.java?rev=201821r1=201820r2=201821view=diff
==
--- 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/FractionFormat.java
 (original)
+++ 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/FractionFormat.java
 Sat Jun 25 20:29:09 2005
@@ -134,8 +134,8 @@
 

 /**

  * Create a default number format.  The default number format is based on

- * [EMAIL PROTECTED] NumberFormat#getInstance()} with the only customizing 
is the

- * maximum number of fraction digits, which is set to 2.  

+ * [EMAIL PROTECTED] NumberFormat#getNumberInstance(java.util.Locale)} 
with the only

+ * customizing is the maximum number of fraction digits, which is set to 
0.  

  * @return the default number format.

  */

 protected static NumberFormat getDefaultNumberFormat() {

@@ -144,13 +144,14 @@
 

 /**

  * Create a default number format.  The default number format is based on

- * [EMAIL PROTECTED] NumberFormat#getInstance(java.util.Locale)} with the 
only

- * customizing is the maximum number of fraction digits, which is set to 
2.  

+ * [EMAIL PROTECTED] NumberFormat#getNumberInstance(java.util.Locale)} 
with the only

+ * customizing is the maximum number of fraction digits, which is set to 
0.  

  * @param locale the specific locale used by the format.

  * @return the default number format specific to the given locale.

  */

 private static NumberFormat getDefaultNumberFormat(Locale locale) {

-NumberFormat nf = NumberFormat.getIntegerInstance(locale);

+NumberFormat nf = NumberFormat.getNumberInstance(locale);

+nf.setMaximumFractionDigits(0);

 return nf;

 }

 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201824 - /jakarta/commons/proper/logging/trunk/build.xml

2005-06-26 Thread skitching
Author: skitching
Date: Sat Jun 25 21:17:11 2005
New Revision: 201824

URL: http://svn.apache.org/viewcvs?rev=201824view=rev
Log:
Improve warning messages for missing libs (thanks to Dennis Lundberg).

Modified:
jakarta/commons/proper/logging/trunk/build.xml

Modified: jakarta/commons/proper/logging/trunk/build.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/trunk/build.xml?rev=201824r1=201823r2=201824view=diff
==
--- jakarta/commons/proper/logging/trunk/build.xml (original)
+++ jakarta/commons/proper/logging/trunk/build.xml Sat Jun 25 21:17:11 2005
@@ -231,14 +231,14 @@
   target name=log4j12-warning unless='log4j12.present' 
depends='init,discovery'
 echo
 *** WARNING ***
-Log4j12 not found: Cannot Build Log4J12Logger
+Log4j 1.2 not found: Cannot Build Log4J12Logger
 /echo
   /target
   
   target name=log4j13-warning unless='log4j13.present' 
depends='init,discovery'
 echo
 *** WARNING ***
-Log4j13 not found: Cannot Build Log4J13Logger
+Log4j 1.3 not found: Cannot Build Log4J13Logger
 /echo
   /target
   
@@ -270,7 +270,8 @@
 /echo
   /target
 
-  target name='warning' 
depends='log4j12-warning,logkit-warning,jdk1.4-warning,avalon-framework-warning'/
+  target name='warning' 
+
depends='log4j12-warning,log4j13-warning,logkit-warning,jdk1.4-warning,avalon-framework-warning'/
 
   target name=compile-only 
 
depends=init,discovery,warning,show-lib-presence,compile-non-log4j,compile-log4j12,compile-log4j13,build-jar/



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201849 - in /jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient: TestEntityEnclosingMethod.java TestWebapp.java TestWebappParameters.java

2005-06-26 Thread olegk
Author: olegk
Date: Sun Jun 26 06:26:59 2005
New Revision: 201849

URL: http://svn.apache.org/viewcvs?rev=201849view=rev
Log:
Remaining TestWebApp based test cases ported to the SimpleHttpServer based test 
framework

Modified:

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestEntityEnclosingMethod.java

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebapp.java

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappParameters.java

Modified: 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestEntityEnclosingMethod.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestEntityEnclosingMethod.java?rev=201849r1=201848r2=201849view=diff
==
--- 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestEntityEnclosingMethod.java
 (original)
+++ 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestEntityEnclosingMethod.java
 Sun Jun 26 06:26:59 2005
@@ -40,9 +40,13 @@
 import org.apache.commons.httpclient.methods.InputStreamRequestEntity;
 import org.apache.commons.httpclient.methods.PostMethod;
 import org.apache.commons.httpclient.methods.RequestEntity;
+import org.apache.commons.httpclient.methods.StringRequestEntity;
 import org.apache.commons.httpclient.server.AuthRequestHandler;
 import org.apache.commons.httpclient.server.HttpRequestHandlerChain;
+import org.apache.commons.httpclient.server.HttpService;
 import org.apache.commons.httpclient.server.HttpServiceHandler;
+import org.apache.commons.httpclient.server.SimpleRequest;
+import org.apache.commons.httpclient.server.SimpleResponse;
 
 /**
  * Tests specific to entity enclosing methods.
@@ -268,5 +272,84 @@
 method.releaseConnection();
 }
 }
+
+class RequestBodyStatsService implements HttpService {
+
+public RequestBodyStatsService() {
+super();
+}
+
+public boolean process(final SimpleRequest request, final 
SimpleResponse response)
+throws IOException
+{
+HttpVersion httpversion = 
request.getRequestLine().getHttpVersion();
+response.setStatusLine(httpversion, HttpStatus.SC_OK);
+response.addHeader(new Header(Content-Type, text/plain));  
  
+
+StringBuffer buffer = new StringBuffer();
+buffer.append(Request bosy stats:\r\n);
+buffer.append(===\r\n);
+long l = request.getContentLength();
+if (l = 0) {
+buffer.append(Content-Length: );
+buffer.append(l);
+buffer.append(\r\n);
+}
+Header te = request.getFirstHeader(Transfer-Encoding);
+if (te != null) {
+buffer.append(Content-Length: );
+buffer.append(te.getValue());
+buffer.append(\r\n);
+}
+byte[] b = request.getBodyBytes();
+if (b.length = 0) {
+buffer.append(No body submitted\r\n);
+}
+response.setBodyString(buffer.toString());
+return true;
+}
+}
+   
+public void testEmptyPostMethod() throws Exception {
+this.server.setHttpService(new RequestBodyStatsService());
+
+PostMethod method = new PostMethod(/);
+method.setRequestHeader(Content-Type, text/plain);
+this.client.executeMethod(method);
+assertEquals(200,method.getStatusLine().getStatusCode());
+String response = method.getResponseBodyAsString();
+assertNotNull(method.getRequestHeader(Content-Length));
+assertTrue(response.indexOf(No body submitted) = 0);
+
+method = new PostMethod(/);
+method.setRequestHeader(Content-Type, text/plain);
+method.setRequestEntity(new StringRequestEntity());
+   this.client.executeMethod(method);
+assertEquals(200,method.getStatusLine().getStatusCode());
+assertNotNull(method.getRequestHeader(Content-Length));
+response = method.getResponseBodyAsString();
+assertTrue(response.indexOf(No body submitted) = 0);
+
+method = new PostMethod(/);
+method.setRequestHeader(Content-Type, text/plain);
+method.setContentChunked(true);
+   this.client.executeMethod(method);
+assertEquals(200,method.getStatusLine().getStatusCode());
+assertNotNull(method.getRequestHeader(Content-Length));
+response = method.getResponseBodyAsString();
+assertTrue(response.indexOf(No body submitted) = 0);
+
+method = new PostMethod(/);
+method.setRequestHeader(Content-Type, text/plain);
+method.setRequestEntity(new StringRequestEntity());
+

svn commit: r201851 - in /jakarta/commons/proper/httpclient/trunk/src/test: ADDING_TESTS.txt org/apache/commons/httpclient/TestWebapp.java org/apache/commons/httpclient/TestWebappBase.java org/apache/commons/httpclient/TestWebappMethods.java

2005-06-26 Thread olegk
Author: olegk
Date: Sun Jun 26 06:37:05 2005
New Revision: 201851

URL: http://svn.apache.org/viewcvs?rev=201851view=rev
Log:
Remaining TestWebApp based test cases ported to the SimpleHttpServer based test 
framework

Removed:
jakarta/commons/proper/httpclient/trunk/src/test/ADDING_TESTS.txt

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebapp.java

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappBase.java

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappMethods.java


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201850 - in /jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient: TestLocalHost.java TestNoHost.java TestQueryParameters.java TestWebappParameters.java

2005-06-26 Thread olegk
Author: olegk
Date: Sun Jun 26 06:36:10 2005
New Revision: 201850

URL: http://svn.apache.org/viewcvs?rev=201850view=rev
Log:
Remaining TestWebApp based test cases ported to the SimpleHttpServer based test 
framework

Added:

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestQueryParameters.java
  - copied, changed from r201849, 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappParameters.java
Removed:

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappParameters.java
Modified:

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestLocalHost.java

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestNoHost.java

Modified: 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestLocalHost.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestLocalHost.java?rev=201850r1=201849r2=201850view=diff
==
--- 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestLocalHost.java
 (original)
+++ 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestLocalHost.java
 Sun Jun 26 06:36:10 2005
@@ -40,6 +40,8 @@
  *
  * @author Rodney Waldhoff
  * @version $Id$
+ * 
+ * @deprecated
  */
 public class TestLocalHost extends TestCase {
 
@@ -52,7 +54,6 @@
 suite.addTest(TestMethodsLocalHost.suite());
 suite.addTest(TestGetMethodLocal.suite());
 suite.addTest(TestTraceMethodLocal.suite());
-suite.addTest(TestWebapp.suite());
 return suite;
 }
 

Modified: 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestNoHost.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestNoHost.java?rev=201850r1=201849r2=201850view=diff
==
--- 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestNoHost.java
 (original)
+++ 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestNoHost.java
 Sun Jun 26 06:36:10 2005
@@ -73,6 +73,7 @@
 suite.addTest(TestHttpParser.suite());
 suite.addTest(TestBadContentLength.suite());
 suite.addTest(TestEquals.suite());
+   suite.addTest(TestQueryParameters.suite());
 // Exceptions
 suite.addTest(TestExceptions.suite());
 // HTTP state management

Copied: 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestQueryParameters.java
 (from r201849, 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappParameters.java)
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestQueryParameters.java?p2=jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestQueryParameters.javap1=jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappParameters.javar1=201849r2=201850rev=201850view=diff
==
--- 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestWebappParameters.java
 (original)
+++ 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestQueryParameters.java
 Sun Jun 26 06:36:10 2005
@@ -40,19 +40,19 @@
  * @author Rodney Waldhoff
  * @version $Id$
  */
-public class TestWebappParameters extends HttpClientTestBase {
+public class TestQueryParameters extends HttpClientTestBase {
 
-public TestWebappParameters(String testName) throws Exception {
+public TestQueryParameters(String testName) throws Exception {
 super(testName);
 }
 
 public static Test suite() {
-TestSuite suite = new TestSuite(TestWebappParameters.class);
+TestSuite suite = new TestSuite(TestQueryParameters.class);
 return suite;
 }
 
 public static void main(String args[]) {
-String[] testCaseName = { TestWebappParameters.class.getName() };
+String[] testCaseName = { TestQueryParameters.class.getName() };
 junit.textui.TestRunner.main(testCaseName);
 }
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201852 - /jakarta/commons/proper/httpclient/trunk/src/test-webapp/

2005-06-26 Thread olegk
Author: olegk
Date: Sun Jun 26 06:39:43 2005
New Revision: 201852

URL: http://svn.apache.org/viewcvs?rev=201852view=rev
Log:
Deprecated TestWebApp servlets deleted

Removed:
jakarta/commons/proper/httpclient/trunk/src/test-webapp/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201855 - /jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/src/java/org/apache/commons/betwixt/io/AbstractBeanWriter.java

2005-06-26 Thread rdonkin
Author: rdonkin
Date: Sun Jun 26 07:12:58 2005
New Revision: 201855

URL: http://svn.apache.org/viewcvs?rev=201855view=rev
Log:
Committed fix for null pointer bug when writing beans with mapping IDs set on, 
attributes for primitives and attribute suppression.

Modified:

jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/src/java/org/apache/commons/betwixt/io/AbstractBeanWriter.java

Modified: 
jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/src/java/org/apache/commons/betwixt/io/AbstractBeanWriter.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/src/java/org/apache/commons/betwixt/io/AbstractBeanWriter.java?rev=201855r1=201854r2=201855view=diff
==
--- 
jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/src/java/org/apache/commons/betwixt/io/AbstractBeanWriter.java
 (original)
+++ 
jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/src/java/org/apache/commons/betwixt/io/AbstractBeanWriter.java
 Sun Jun 26 07:12:58 2005
@@ -1387,7 +1387,7 @@

// see if we have already have a matching attribute 
descriptor
AttributeDescriptor[] attributeDescriptors = 
descriptor.getAttributeDescriptors();
-   length = attributeDescriptors.length;
+   length = super.getLength();
for (int i=0; ilength; i++) {
if 
(idAttributeName.equals(attributeDescriptors[i])) {
matchingAttribute = true;



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201857 - in /jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient: TestAll.java TestAllLocal.java TestGetMethodLocal.java TestHttpConnection.java TestLocalHost.java TestMethodsLocalHost.java TestTraceMethodLocal.java

2005-06-26 Thread olegk
Author: olegk
Date: Sun Jun 26 07:45:58 2005
New Revision: 201857

URL: http://svn.apache.org/viewcvs?rev=201857view=rev
Log:
Removed test cases that test functionality of the local web server rather that 
of HttpClient

Removed:

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestGetMethodLocal.java

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestLocalHost.java

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestMethodsLocalHost.java

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestTraceMethodLocal.java
Modified:

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestAll.java

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestAllLocal.java

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestHttpConnection.java

Modified: 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestAll.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestAll.java?rev=201857r1=201856r2=201857view=diff
==
--- 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestAll.java
 (original)
+++ 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestAll.java
 Sun Jun 26 07:45:58 2005
@@ -46,7 +46,6 @@
 public static Test suite() {
 TestSuite suite = new TestSuite();
 suite.addTest(TestNoHost.suite());
-suite.addTest(TestLocalHost.suite());
 suite.addTest(TestExternalHost.suite());
 return suite;
 }

Modified: 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestAllLocal.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestAllLocal.java?rev=201857r1=201856r2=201857view=diff
==
--- 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestAllLocal.java
 (original)
+++ 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestAllLocal.java
 Sun Jun 26 07:45:58 2005
@@ -46,7 +46,6 @@
 public static Test suite() {
 TestSuite suite = new TestSuite();
 suite.addTest(TestNoHost.suite());
-suite.addTest(TestLocalHost.suite());
 return suite;
 }
 

Modified: 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestHttpConnection.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestHttpConnection.java?rev=201857r1=201856r2=201857view=diff
==
--- 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestHttpConnection.java
 (original)
+++ 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestHttpConnection.java
 Sun Jun 26 07:45:58 2005
@@ -55,10 +55,10 @@
  * @version $Id$
  *
  */
-public class TestHttpConnection extends TestLocalHostBase {
+public class TestHttpConnection extends HttpClientTestBase {
 
 //  Constructor
-public TestHttpConnection(String testName) {
+public TestHttpConnection(String testName) throws Exception {
 super(testName);
 }
 
@@ -78,13 +78,15 @@
 // --- Test Methods
 
 public void testConstructThenClose() {
-HttpConnection conn = new HttpConnection(getHost(), getPort());
+   this.server.setHttpService(new EchoService());
+HttpConnection conn = new HttpConnection(
+   this.server.getLocalAddress(), 
this.server.getLocalPort());
 conn.close();
 assertTrue(!conn.isOpen());
 }
 
 public void testConnTimeoutRelease() {
-
+   this.server.setHttpService(new EchoService());
 // create a custom protocol that will delay for 500 milliseconds
 Protocol testProtocol = new Protocol(
 timeout,
@@ -92,13 +94,16 @@
 500, 
 Protocol.getProtocol(http).getSocketFactory()
 ),
-getPort()
+   this.server.getLocalPort()
 );
 
 NoHostHttpConnectionManager connectionManager = new 
NoHostHttpConnectionManager();
-connectionManager.setConnection(new HttpConnection(getHost(), 
getPort(), testProtocol));
-HttpClient client = createHttpClient(connectionManager);
-client.getHostConfiguration().setHost(getHost(), getPort(), 
testProtocol);
+

svn commit: r201858 - /jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/params/HttpMethodParams.java

2005-06-26 Thread olegk
Author: olegk
Date: Sun Jun 26 07:47:00 2005
New Revision: 201858

URL: http://svn.apache.org/viewcvs?rev=201858view=rev
Log:
Unused import

Modified:

jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/params/HttpMethodParams.java

Modified: 
jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/params/HttpMethodParams.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/params/HttpMethodParams.java?rev=201858r1=201857r2=201858view=diff
==
--- 
jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/params/HttpMethodParams.java
 (original)
+++ 
jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/params/HttpMethodParams.java
 Sun Jun 26 07:47:00 2005
@@ -29,7 +29,6 @@
 
 package org.apache.commons.httpclient.params;
 
-import org.apache.commons.httpclient.HttpMethodRetryHandler;
 import org.apache.commons.httpclient.HttpVersion;
 import org.apache.commons.httpclient.cookie.CookiePolicy;
 import org.apache.commons.logging.Log;



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: svn commit: r201739 - /jakarta/commons/proper/email/trunk/project.xml

2005-06-26 Thread Ramiro Pereira de Magalhaes

[EMAIL PROTECTED] wrote:


Author: dion
Date: Sat Jun 25 04:48:51 2005
New Revision: 201739

URL: http://svn.apache.org/viewcvs?rev=201739view=rev
Log:
Move to dumbster 1.6 for testing:
- jdk13 compatible
- faster
- still works for us

Modified:
   jakarta/commons/proper/email/trunk/project.xml

Modified: jakarta/commons/proper/email/trunk/project.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/project.xml?rev=201739r1=201738r2=201739view=diff
==
--- jakarta/commons/proper/email/trunk/project.xml (original)
+++ jakarta/commons/proper/email/trunk/project.xml Sat Jun 25 04:48:51 2005
@@ -152,7 +152,7 @@
dependency
groupIddumbster/groupId
artifactIddumbster/artifactId
-version1.5/version
+version1.6/version
properties/
/dependency
/dependencies



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 

If you're using dumbster version 1.6 then check it out from CVS and 
build it. There is a small but important difference between the code on 
CVS and the code currently released that avoids some locks while 
starting a SimpleSmtpServer. Check the difference here: 
http://cvs.sourceforge.net/viewcvs.py/dumbster/dumbster/src/com/dumbster/smtp/SimpleSmtpServer.java?r1=1.7r2=1.8


Ramiro Pereira de Magalhães




___ 
Yahoo! Acesso Grátis - Internet rápida e grátis. 
Instale o discador agora! http://br.acesso.yahoo.com/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201860 - in /jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient: TestAll.java TestAllExternal.java TestAllLocal.java TestExternalHost.java TestMethodsExternalHost.java

2005-06-26 Thread olegk
Author: olegk
Date: Sun Jun 26 07:51:55 2005
New Revision: 201860

URL: http://svn.apache.org/viewcvs?rev=201860view=rev
Log:
Removed test cases that test functionality of external sites rather that of 
HttpClient

Removed:

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestAllExternal.java

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestAllLocal.java

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestExternalHost.java

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestMethodsExternalHost.java
Modified:

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestAll.java

Modified: 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestAll.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestAll.java?rev=201860r1=201859r2=201860view=diff
==
--- 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestAll.java
 (original)
+++ 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestAll.java
 Sun Jun 26 07:51:55 2005
@@ -46,7 +46,6 @@
 public static Test suite() {
 TestSuite suite = new TestSuite();
 suite.addTest(TestNoHost.suite());
-suite.addTest(TestExternalHost.suite());
 return suite;
 }
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201862 - in /jakarta/commons/proper/httpclient/trunk: ./ src/test/org/apache/commons/httpclient/

2005-06-26 Thread olegk
Author: olegk
Date: Sun Jun 26 08:03:07 2005
New Revision: 201862

URL: http://svn.apache.org/viewcvs?rev=201862view=rev
Log:
TestNoHost deprecated and is no longer to be used

Modified:
jakarta/commons/proper/httpclient/trunk/build.xml
jakarta/commons/proper/httpclient/trunk/project.xml

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestAll.java

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestBadContentLength.java

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestNoHost.java

jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestURI.java

Modified: jakarta/commons/proper/httpclient/trunk/build.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/build.xml?rev=201862r1=201861r2=201862view=diff
==
--- jakarta/commons/proper/httpclient/trunk/build.xml (original)
+++ jakarta/commons/proper/httpclient/trunk/build.xml Sun Jun 26 08:03:07 2005
@@ -105,7 +105,7 @@
 
   !-- The root test to execute --
   property name=test.runner value=junit.textui.TestRunner/
-  property name=test.entry  
value=org.apache.commons.httpclient.TestNoHost/
+  property name=test.entry  
value=org.apache.commons.httpclient.TestAll/
 
 !-- == Targets === --
 

Modified: jakarta/commons/proper/httpclient/trunk/project.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/project.xml?rev=201862r1=201861r2=201862view=diff
==
--- jakarta/commons/proper/httpclient/trunk/project.xml (original)
+++ jakarta/commons/proper/httpclient/trunk/project.xml Sun Jun 26 08:03:07 2005
@@ -307,7 +307,7 @@
 aspectSourceDirectory/
 unitTest
   includes
-include**/TestNoHost.java/include
+include**/TestAll.java/include
   /includes
   resources
 resource

Modified: 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestAll.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestAll.java?rev=201862r1=201861r2=201862view=diff
==
--- 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestAll.java
 (original)
+++ 
jakarta/commons/proper/httpclient/trunk/src/test/org/apache/commons/httpclient/TestAll.java
 Sun Jun 26 08:03:07 2005
@@ -1,5 +1,5 @@
 /*
- * $Header: 
/home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/test/org/apache/commons/httpclient/TestAll.java,v
 1.10 2004/02/22 18:08:49 olegk Exp $
+ * $HeadURL$
  * $Revision$
  * $Date$
  * 
@@ -23,13 +23,14 @@
  * individuals on behalf of the Apache Software Foundation.  For more
  * information on the Apache Software Foundation, please see
  * http://www.apache.org/.
- *
- * [Additional notices, if required by prior licensing conditions]
- *
  */
 
 package org.apache.commons.httpclient;
 
+import org.apache.commons.httpclient.auth.TestAuthAll;
+import org.apache.commons.httpclient.cookie.TestCookieAll;
+import org.apache.commons.httpclient.params.TestParamsAll;
+
 import junit.framework.*;
 
 /**
@@ -45,7 +46,62 @@
 
 public static Test suite() {
 TestSuite suite = new TestSuite();
-suite.addTest(TestNoHost.suite());
+// Fundamentals
+suite.addTest(TestHttpMethodFundamentals.suite());
+suite.addTest(TestHttpStatus.suite());
+suite.addTest(TestStatusLine.suite());
+suite.addTest(TestRequestLine.suite());
+suite.addTest(TestHeader.suite());
+suite.addTest(TestHeaderElement.suite());
+suite.addTest(TestHeaderOps.suite());
+suite.addTest(TestResponseHeaders.suite());
+suite.addTest(TestRequestHeaders.suite());
+suite.addTest(TestStreams.suite());
+suite.addTest(TestParameterParser.suite());
+suite.addTest(TestParameterFormatter.suite());
+suite.addTest(TestNVP.suite());
+suite.addTest(TestMethodCharEncoding.suite());
+suite.addTest(TestHttpVersion.suite());
+suite.addTest(TestEffectiveHttpVersion.suite());
+suite.addTest(TestHttpParser.suite());
+suite.addTest(TestBadContentLength.suite());
+suite.addTest(TestEquals.suite());
+   suite.addTest(TestQueryParameters.suite());
+// Exceptions
+suite.addTest(TestExceptions.suite());
+// HTTP state management
+suite.addTest(TestHttpState.suite());
+suite.addTest(TestCookieAll.suite());
+// Authentication 
+

Re: svn commit: r201739 - /jakarta/commons/proper/email/trunk/project.xml

2005-06-26 Thread Ramiro Pereira de Magalhaes

Ramiro Pereira de Magalhaes wrote:


[EMAIL PROTECTED] wrote:


Author: dion
Date: Sat Jun 25 04:48:51 2005
New Revision: 201739

URL: http://svn.apache.org/viewcvs?rev=201739view=rev
Log:
Move to dumbster 1.6 for testing:
- jdk13 compatible
- faster
- still works for us

Modified:
   jakarta/commons/proper/email/trunk/project.xml

Modified: jakarta/commons/proper/email/trunk/project.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/project.xml?rev=201739r1=201738r2=201739view=diff 

== 


--- jakarta/commons/proper/email/trunk/project.xml (original)
+++ jakarta/commons/proper/email/trunk/project.xml Sat Jun 25 
04:48:51 2005

@@ -152,7 +152,7 @@
dependency
groupIddumbster/groupId
artifactIddumbster/artifactId
-version1.5/version
+version1.6/version
properties/
/dependency
/dependencies



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 

If you're using dumbster version 1.6 then check it out from CVS and 
build it. There is a small but important difference between the code 
on CVS and the code currently released that avoids some locks while 
starting a SimpleSmtpServer. Check the difference here: 
http://cvs.sourceforge.net/viewcvs.py/dumbster/dumbster/src/com/dumbster/smtp/SimpleSmtpServer.java?r1=1.7r2=1.8 



Ramiro Pereira de Magalhães



-

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


I forgot to say that the getMailServer() method on BaseEmailTestCase 
class performs unnecessary checks in order to be sure that dumbster mail 
server's up. Dumbster itself takes care of it.


Ramiro Pereira de Magalhães




___ 
Yahoo! Acesso Grátis - Internet rápida e grátis. 
Instale o discador agora! http://br.acesso.yahoo.com/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201875 - in /jakarta/commons/proper/lang/trunk/src: java/org/apache/commons/lang/Entities.java java/org/apache/commons/lang/StringEscapeUtils.java test/org/apache/commons/lang/StringEscapeUtilsTest.java

2005-06-26 Thread stevencaswell
Author: stevencaswell
Date: Sun Jun 26 09:56:36 2005
New Revision: 201875

URL: http://svn.apache.org/viewcvs?rev=201875view=rev
Log:
(35366) Implementation of escape/unescapeHtml methods with Writer 
(http://issues.apache.org/bugzilla/show_bug.cgi?id=35366)

Modified:

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/Entities.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java

jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringEscapeUtilsTest.java

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/Entities.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/Entities.java?rev=201875r1=201874r2=201875view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/Entities.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/Entities.java
 Sun Jun 26 09:56:36 2005
@@ -15,6 +15,8 @@
  */
 package org.apache.commons.lang;
 
+import java.io.IOException;
+import java.io.Writer;
 import java.util.HashMap;
 import java.util.Map;
 import java.util.TreeMap;
@@ -219,7 +221,8 @@
 {real, 8476}, //blackletter capital R = real part symbol,U+211C 
ISOamso --
 {trade, 8482}, //trade mark sign, U+2122 ISOnum --
 {alefsym, 8501}, //alef symbol = first transfinite cardinal,U+2135 
NEW --
-// !-- alef symbol is NOT the same as hebrew letter alef,U+05D0 although the 
same glyph could be used to depict both characters --
+// !-- alef symbol is NOT the same as hebrew letter alef,U+05D0 although the 
+//  same glyph could be used to depict both characters --
 // !-- Arrows --
 {larr, 8592}, //leftwards arrow, U+2190 ISOnum --
 {uarr, 8593}, //upwards arrow, U+2191 ISOnum--
@@ -228,10 +231,14 @@
 {harr, 8596}, //left right arrow, U+2194 ISOamsa --
 {crarr, 8629}, //downwards arrow with corner leftwards= carriage 
return, U+21B5 NEW --
 {lArr, 8656}, //leftwards double arrow, U+21D0 ISOtech --
-// !-- ISO 10646 does not say that lArr is the same as the 'is implied by' 
arrowbut also does not have any other character for that function. So ? lArr 
canbe used for 'is implied by' as ISOtech suggests --
+// !-- ISO 10646 does not say that lArr is the same as the 'is implied by' 
+//  arrow but also does not have any other character for that function. 
+//  So ? lArr canbe used for 'is implied by' as ISOtech suggests --
 {uArr, 8657}, //upwards double arrow, U+21D1 ISOamsa --
 {rArr, 8658}, //rightwards double arrow,U+21D2 ISOtech --
-// !-- ISO 10646 does not say this is the 'implies' character but does not 
have another character with this function so ?rArr can be used for 'implies' as 
ISOtech suggests --
+// !-- ISO 10646 does not say this is the 'implies' character but does not
+//  have another character with this function so ?rArr can be used for
+//  'implies' as ISOtech suggests --
 {dArr, 8659}, //downwards double arrow, U+21D3 ISOamsa --
 {hArr, 8660}, //left right double arrow,U+21D4 ISOamsa --
 // !-- Mathematical Operators --
@@ -245,9 +252,11 @@
 {ni, 8715}, //contains as member, U+220B ISOtech --
 // !-- should there be a more memorable name than 'ni'? --
 {prod, 8719}, //n-ary product = product sign,U+220F ISOamsb --
-// !-- prod is NOT the same character as U+03A0 'greek capital letter pi' 
though the same glyph might be used for both --
+// !-- prod is NOT the same character as U+03A0 'greek capital letter pi' 
+//  though the same glyph might be used for both --
 {sum, 8721}, //n-ary summation, U+2211 ISOamsb --
-// !-- sum is NOT the same character as U+03A3 'greek capital letter sigma' 
though the same glyph might be used for both --
+// !-- sum is NOT the same character as U+03A3 'greek capital letter sigma'
+//  though the same glyph might be used for both --
 {minus, 8722}, //minus sign, U+2212 ISOtech --
 {lowast, 8727}, //asterisk operator, U+2217 ISOtech --
 {radic, 8730}, //square root = radical sign,U+221A ISOtech --
@@ -261,7 +270,8 @@
 {int, 8747}, //integral, U+222B ISOtech --
 {there4, 8756}, //therefore, U+2234 ISOtech --
 {sim, 8764}, //tilde operator = varies with = similar to,U+223C 
ISOtech --
-// !-- tilde operator is NOT the same character as the tilde, U+007E,although 
the same glyph might be used to represent both  --
+// !-- tilde operator is NOT the same character as the tilde, U+007E,although
+//  the same glyph might be used to represent both  --
 {cong, 8773}, //approximately equal to, U+2245 ISOtech --
 {asymp, 8776}, //almost equal to = asymptotic to,U+2248 ISOamsr --
 {ne, 8800}, //not equal to, U+2260 ISOtech --
@@ -270,7 +280,10 @@
 {ge, 8805}, 

DO NOT REPLY [Bug 35508] New: - Field::validate() cannot be invoked from user-defined code

2005-06-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=35508.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35508

   Summary: Field::validate() cannot be invoked from user-defined
code
   Product: Commons
   Version: Nightly Builds
  Platform: All
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P3
 Component: Validator
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


The org.apache.commons.validator.Field::validate() has package local visibility.
This prevent the developer code to leverage this method from its code to perform
a validation for a specific field only (which may be used independently of any
Form).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201881 - /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/

2005-06-26 Thread stevencaswell
Author: stevencaswell
Date: Sun Jun 26 10:42:09 2005
New Revision: 201881

URL: http://svn.apache.org/viewcvs?rev=201881view=rev
Log:
corrected style issues (mostly empty blocks and missing javadocs)

Modified:

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ArrayUtils.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/BooleanUtils.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/CharSetUtils.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/CharUtils.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ClassUtils.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/NumberUtils.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ObjectUtils.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/RandomStringUtils.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringUtils.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/Validate.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/WordUtils.java

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ArrayUtils.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ArrayUtils.java?rev=201881r1=201880r2=201881view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ArrayUtils.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ArrayUtils.java
 Sun Jun 26 10:42:09 2005
@@ -133,6 +133,7 @@
  * to operate./p
  */
 public ArrayUtils() {
+  ; // empty constructor
 }
 
 // Basic methods handling multi-dimensional arrays

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/BooleanUtils.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/BooleanUtils.java?rev=201881r1=201880r2=201881view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/BooleanUtils.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/BooleanUtils.java
 Sun Jun 26 10:42:09 2005
@@ -40,6 +40,7 @@
  * to operate./p
  */
 public BooleanUtils() {
+  ; // empty constructor
 }
 
 // Boolean utilities

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/CharSetUtils.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/CharSetUtils.java?rev=201881r1=201880r2=201881view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/CharSetUtils.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/CharSetUtils.java
 Sun Jun 26 10:42:09 2005
@@ -40,6 +40,7 @@
  * to operate./p
  */
 public CharSetUtils() {
+  ; // empty constructor
 }
 
 // Factory

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/CharUtils.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/CharUtils.java?rev=201881r1=201880r2=201881view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/CharUtils.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/CharUtils.java
 Sun Jun 26 10:42:09 2005
@@ -64,6 +64,7 @@
  * to operate./p
  */
 public CharUtils() {
+  ; // empty constructor
 }
 
 //---

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ClassUtils.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ClassUtils.java?rev=201881r1=201880r2=201881view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ClassUtils.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ClassUtils.java
 Sun Jun 26 10:42:09 2005
@@ -79,6 +79,7 @@
  * instance to operate./p
  */
 public ClassUtils() {
+  ; // empty constructor
 }
 
 // Short class name

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/NumberUtils.java
URL: 

DO NOT REPLY [Bug 35509] New: - [configuration] XMLConfiguration does not handle tag names with dots correctly

2005-06-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=35509.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35509

   Summary: [configuration] XMLConfiguration does not handle tag
names with dots correctly
   Product: Commons
   Version: unspecified
  Platform: Other
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: Configuration
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: [EMAIL PROTECTED]


If an XML file with tag names containing the dot character is loaded by
XMLConfiguration, access to properties with dots in their name is impossible.
The dot character is always interpreted as a delimiter character.

There should be a way of escaping dot characters when they belong to the tag 
name.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201882 - in /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang: enum/ enums/ exception/ math/

2005-06-26 Thread stevencaswell
Author: stevencaswell
Date: Sun Jun 26 10:45:54 2005
New Revision: 201882

URL: http://svn.apache.org/viewcvs?rev=201882view=rev
Log:
corrected style issues (mostly empty blocks and missing javadocs)

Modified:

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enum/Enum.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enum/EnumUtils.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enums/Enum.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enums/EnumUtils.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/ExceptionUtils.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/NestableError.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/NestableException.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/NestableRuntimeException.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/math/NumberUtils.java

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enum/Enum.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enum/Enum.java?rev=201882r1=201881r2=201882view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enum/Enum.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enum/Enum.java
 Sun Jun 26 10:45:54 2005
@@ -293,6 +293,7 @@
  * pRestrictive constructor./p
  */
 private Entry() {
+  ; // empty constructor
 }
 }
 

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enum/EnumUtils.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enum/EnumUtils.java?rev=201882r1=201881r2=201882view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enum/EnumUtils.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enum/EnumUtils.java
 Sun Jun 26 10:45:54 2005
@@ -40,6 +40,7 @@
  * @since 2.0
  */
 public EnumUtils() {
+  ; // empty constructor
 }
 
 /**

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enums/Enum.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enums/Enum.java?rev=201882r1=201881r2=201882view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enums/Enum.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enums/Enum.java
 Sun Jun 26 10:45:54 2005
@@ -290,6 +290,7 @@
  * pRestrictive constructor./p
  */
 private Entry() {
+  ; // empty constructor
 }
 }
 

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enums/EnumUtils.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enums/EnumUtils.java?rev=201882r1=201881r2=201882view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enums/EnumUtils.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enums/EnumUtils.java
 Sun Jun 26 10:45:54 2005
@@ -36,6 +36,7 @@
  * @since 2.0
  */
 public EnumUtils() {
+  ; // empty constructor
 }
 
 /**

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/ExceptionUtils.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/ExceptionUtils.java?rev=201882r1=201881r2=201882view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/ExceptionUtils.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/ExceptionUtils.java
 Sun Jun 26 10:45:54 2005
@@ -91,6 +91,7 @@
  * to be created, although that is not normally necessary./p
  */
 public ExceptionUtils() {
+  ; // empty constructor
 }
 
 //---
@@ -293,15 +294,20 @@
 try {
 method = throwable.getClass().getMethod(methodName, null);
 } catch (NoSuchMethodException ignored) {
+  ; // exception ignored
 } catch (SecurityException ignored) {
+  ; // exception ignored
 }
 
 if (method != 

DO NOT REPLY [Bug 35509] - [configuration] XMLConfiguration does not handle tag names with dots correctly

2005-06-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=35509.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35509





--- Additional Comments From [EMAIL PROTECTED]  2005-06-26 19:46 ---
Created an attachment (id=15535)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=15535action=view)
Test case demonstrating the bug

This patch adds some tags with dots to the test.xml file and then checks
whether the corresponding property values can be retrieved.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201883 - in /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time: DateFormatUtils.java DateUtils.java FastDateFormat.java StopWatch.java

2005-06-26 Thread stevencaswell
Author: stevencaswell
Date: Sun Jun 26 10:48:18 2005
New Revision: 201883

URL: http://svn.apache.org/viewcvs?rev=201883view=rev
Log:
corrected style issues (mostly empty blocks and missing javadocs)

Modified:

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DateFormatUtils.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DateUtils.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/FastDateFormat.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/StopWatch.java

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DateFormatUtils.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DateFormatUtils.java?rev=201883r1=201882r2=201883view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DateFormatUtils.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DateFormatUtils.java
 Sun Jun 26 10:48:18 2005
@@ -112,6 +112,7 @@
  * to operate./p
  */
 public DateFormatUtils() {
+  ; // empty constructor
 }
 
 /**

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DateUtils.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DateUtils.java?rev=201883r1=201882r2=201883view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DateUtils.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DateUtils.java
 Sun Jun 26 10:48:18 2005
@@ -120,6 +120,7 @@
  * instance to operate./p
  */
 public DateUtils() {
+  ; // empty constructor
 }
 
 //---

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/FastDateFormat.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/FastDateFormat.java?rev=201883r1=201882r2=201883view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/FastDateFormat.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/FastDateFormat.java
 Sun Jun 26 10:48:18 2005
@@ -1013,7 +1013,19 @@
  * pInner class defining a rule./p
  */
 private interface Rule {
+/**
+ * Returns the estimated lentgh of the result.
+ * 
+ * @return the estimated length
+ */
 int estimateLength();
+
+/**
+ * Appends the value of the specified calendar to the output buffer 
based on the rule implementation.
+ * 
+ * @param buffer the output buffer
+ * @param calendar calendar to be appended
+ */
 void appendTo(StringBuffer buffer, Calendar calendar);
 }
 
@@ -1021,6 +1033,12 @@
  * pInner class defining a numeric rule./p
  */
 private interface NumberRule extends Rule {
+/**
+ * Appends the specified value to the output buffer based on the rule 
implementation.
+ * 
+ * @param buffer the output buffer
+ * @param value the value to be appended
+ */
 void appendTo(StringBuffer buffer, int value);
 }
 
@@ -1030,14 +1048,26 @@
 private static class CharacterLiteral implements Rule {
 private final char mValue;
 
+/**
+ * Constructs a new instance of codeCharacterLiteral/code
+ * to hold the specified value.
+ * 
+ * @param value the character literal
+ */
 CharacterLiteral(char value) {
 mValue = value;
 }
 
+/**
+ * [EMAIL PROTECTED]
+ */
 public int estimateLength() {
 return 1;
 }
 
+/**
+ * [EMAIL PROTECTED]
+ */
 public void appendTo(StringBuffer buffer, Calendar calendar) {
 buffer.append(mValue);
 }
@@ -1049,14 +1079,26 @@
 private static class StringLiteral implements Rule {
 private final String mValue;
 
+/**
+ * Constructs a new instance of codeStringLiteral/code
+ * to hold the specified value.
+ * 
+ * @param value the string literal
+ */
 StringLiteral(String value) {
 mValue = value;
 }
 
+/**
+ * [EMAIL PROTECTED]
+ */
 public int estimateLength() {
 return mValue.length();
 }
 
+/**
+ * [EMAIL PROTECTED]
+ */
 public void 

Re: svn commit: r201882 - in /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang: enum/ enums/ exception/ math/

2005-06-26 Thread Stephen Colebourne

[EMAIL PROTECTED] wrote:

Log:
corrected style issues (mostly empty blocks and missing javadocs)
  * pRestrictive constructor./p
  */
 private Entry() {
+  ; // empty constructor
 }
 }


I would suggest the following as a more logical way to handle this

  private Entry() {
 +super();
  }

Personally, I believe that constructors should always have a this() or 
super(), and in fact that is the checkstyle rule I would prefer to see ;-)


Stephen

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201890 - /jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/src/test/org/apache/commons/betwixt/io/read/TestBindTimeTypeMapping.java

2005-06-26 Thread rdonkin
Author: rdonkin
Date: Sun Jun 26 11:32:40 2005
New Revision: 201890

URL: http://svn.apache.org/viewcvs?rev=201890view=rev
Log:
Test should be order independent.

Modified:

jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/src/test/org/apache/commons/betwixt/io/read/TestBindTimeTypeMapping.java

Modified: 
jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/src/test/org/apache/commons/betwixt/io/read/TestBindTimeTypeMapping.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/src/test/org/apache/commons/betwixt/io/read/TestBindTimeTypeMapping.java?rev=201890r1=201889r2=201890view=diff
==
--- 
jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/src/test/org/apache/commons/betwixt/io/read/TestBindTimeTypeMapping.java
 (original)
+++ 
jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/src/test/org/apache/commons/betwixt/io/read/TestBindTimeTypeMapping.java
 Sun Jun 26 11:32:40 2005
@@ -229,7 +229,7 @@
   animalcallWoof/calllatinNameCanis 
familiaris/latinName/animal +
/Animals;
 
-xmlAssertIsomorphicContent(parseString(expected), parseString(out));   
 
+xmlAssertIsomorphicContent(parseString(expected), parseString(out), 
true);
 }
 
 public void testIntrospectionTimeTypeRead() throws Exception {



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [ANNOUNCEMENT] Betwixt 0.7 Release Candidate 1 Now Available

2005-06-26 Thread robert burrell donkin
On Fri, 2005-06-24 at 10:42 +1200, Simon Kitching wrote:
 On Fri, 2005-06-24 at 09:37 +1200, Simon Kitching wrote:
  On Fri, 2005-06-24 at 08:59 +1200, Simon Kitching wrote:
   One unit test failed with Java 1.3 (debian sarge):

i tested on 1.3.1 (blackdown JVM on mandrake). 1.3.0 doesn't run on my
box :(

   Testcase:
   testIntrospectionTimeTypeWrite(org.apache.commons.betwixt.io.read.TestBindTimeTypeMapping):
  FAILED
   (Unequal node names) expected:call but was:latinName
   junit.framework.ComparisonFailure: (Unequal node names) expected:call
   but was:latinName
 at
   org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.java:214)
 at
   org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.java:312)
 at
   org.apache.commons.betwixt.xmlunit.XmlTestCase.testIsomorphic(XmlTestCase.java:312)
 at
   org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphic(XmlTestCase.java:175)
 at
   org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(XmlTestCase.java:128)
 at
   org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(XmlTestCase.java:105)
 at
   org.apache.commons.betwixt.xmlunit.XmlTestCase.xmlAssertIsomorphicContent(XmlTestCase.java:96)
 at
   org.apache.commons.betwixt.io.read.TestBindTimeTypeMapping.testIntrospectionTimeTypeWrite(TestBindTimeTypeMapping.java:232)
  
  I modified the test briefly with some println statements, and it looks
  like another case of different property order in the output. Method
  testIsomorphic doesn't seem to be working correctly in this case.
  
  But anyway, is it really a good idea to allow the output to vary
  according to what the JVM-of-the-moment decides? Perhaps betwixt should
  always sort properties by alphabetical order so that behaviour is then
  identical across JVMs

it's a more involved than that because the order is taken from the order
in the bean info for the bean. if betwixt reordered the properties,
people who have created bean info's who have their ordering broken. IMHO
this is really a specification bug: the default order should have been
specified by sun.

still, introducing a pluggable strategy has been on the to do list for
ages now. (but i usually only find time now to patch issues highlighted
by users...) 

 Actually, it appears that this particular test wasn't using the
 orderIndependent flag for the xml test. Enabling this makes the test
 pass. I still think having betwixt order the properties is a good idea
 though..but maybe for the next release.
 
 Line 229 of TestBindTimeTypeMappping:
 -xmlAssertIsomorphicContent(parseString(expected),
 parseString(out));
 +xmlAssertIsomorphicContent(parseString(expected),
 parseString(out), true);

sounds about right. i've applied it (but can't test it since 1.3.0
refuses to run for me).

thanks for the spot

- robert


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201893 - /jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/project.properties

2005-06-26 Thread rdonkin
Author: rdonkin
Date: Sun Jun 26 11:53:13 2005
New Revision: 201893

URL: http://svn.apache.org/viewcvs?rev=201893view=rev
Log:
Fixed bad property name and value

Modified:

jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/project.properties

Modified: 
jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/project.properties
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/project.properties?rev=201893r1=201892r2=201893view=diff
==
--- 
jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/project.properties 
(original)
+++ 
jakarta/commons/proper/betwixt/branches/RELEASE_0_7_BRANCH/project.properties 
Sun Jun 26 11:53:13 2005
@@ -22,7 +22,7 @@
 maven.compile.optimize = off
 maven.compile.deprecation = on
 maven.compile.target = 1.1
-maven.target.source=1.2
+maven.compile.source=1.3
 
 maven.jarResources.basedir=${basedir}/src/java
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [ANNOUNCEMENT] Betwixt 0.7 Release Candidate 1 Now Available

2005-06-26 Thread robert burrell donkin
On Fri, 2005-06-24 at 08:59 +1200, Simon Kitching wrote:

 Maven build fails with
  javac: target release 1.1 conflicts with default source release 1.5
 
 The project.properties file has maven.target.source=1.2. Perhaps this
 should be maven.compile.source=1.2?

i think that it should be maven.compile.source=1.3 (1.2 is not a valid
value)

- robert


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201896 - /jakarta/commons/proper/math/trunk/xdocs/changes.xml

2005-06-26 Thread psteitz
Author: psteitz
Date: Sun Jun 26 12:26:00 2005
New Revision: 201896

URL: http://svn.apache.org/viewcvs?rev=201896view=rev
Log:
Formmatting, changed a couple of 'updates' to 'fixes'.

Modified:
jakarta/commons/proper/math/trunk/xdocs/changes.xml

Modified: jakarta/commons/proper/math/trunk/xdocs/changes.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/xdocs/changes.xml?rev=201896r1=201895r2=201896view=diff
==
--- jakarta/commons/proper/math/trunk/xdocs/changes.xml (original)
+++ jakarta/commons/proper/math/trunk/xdocs/changes.xml Sun Jun 26 12:26:00 2005
@@ -34,15 +34,16 @@
 
 document
   properties
-titleCommons Math Release Notes/title
+title
+Commons Math Release Notes/title
   /properties
   body
 release version=1.1 date=In Development  
-   description=Jakarta Commons Math 1.1 - Development
-  action dev=psteitz type=update issue=35434  due-to=Jörg Weimar
+   description= Jakarta Commons Math 1.1 - Development
+  action dev=psteitz type=fix issue=35434  due-to=Jörg Weimar
 Changed Fraction(double) to correctly handle near-integral arguments.
   /action
-  action dev=psteitz type=update issue=35431  due-to=Jörg Weimar
+  action dev=psteitz type=fix issue=35431  due-to=Jörg Weimar
 Changed lcm to throw ArithmeticException (instead of returning bogus
 value) if the result is too large to store as an integer.
   /action
@@ -77,18 +78,18 @@
 Added utility methods for overflow-checked integer arithmetic and
 improved gcd method in MathUtils.
   /action
-   action dev=psteitz type=fix issue=34677  due-to=Gilles 
Gaillard
+   action dev=psteitz type=fix issue=34677 due-to=Gilles Gaillard
 Fixed error in TTestImpl.homoscedasticTtest.  Implementation was
-incorrectly using heteroscedastic t statistic.  Also improved 
sensitivity
-of test cases.
+incorrectly using heteroscedastic t statistic.  Also improved
+sensitivity of test cases.
   /action
-  action dev=psteitz type=fix issue=34448  due-to=Gilles Gaillard
+  action dev=psteitz type=fix issue=34448 due-to=Gilles Gaillard
 Fixed javadoc errors. One-sided t-test significance adjustment was
 reversed in javadoc for boolean-valued test methods.
   /action
   action dev=brentworden type=fix due-to=Ben Litchfield
 Fixed bug in PolynomialSplineFunction to allow evaluation of the
-   function at the last knot point.
+function at the last knot point.
   /action
   action dev=brentworden type=add
 Added Weibull distribution implementation.
@@ -107,9 +108,10 @@
 /release  
 release version=1.0 date=2004-12-06  
description=Jakarta Commons Math 1.0 - General Availability Release
-  action dev=psteitz type=fix due-to=Hans van der Heijden 
issue=32531
-Fixed error in ChiSquareTestImpl.  Tables containing zeros were 
(incorrectly)
-causing IllegalArgumentExceptions to be thrown.
+  action dev=psteitz type=fix due-to=Hans van der Heijden
+   issue=32531
+Fixed error in ChiSquareTestImpl.  Tables containing zeros were
+(incorrectly) causing IllegalArgumentExceptions to be thrown.
   /action
   action dev=psteitz type=fix issue=32538
 Removed JDK 1.4-dependent code from CertifiedDataAbstractTest, 
@@ -128,12 +130,14 @@
 Fixed locale-dependency in ComplexFormat.
   /action
   action dev=psteitz type=update
-Renamed univariate package to descriptive and multivariate to 
regression.
+Renamed univariate package to descriptive and multivariate to
+regression.
   /action
   action dev=psteitz type=update due-to=Ken Geis issue=31522
 Improved efficiency of logGamma method in o.a.c.m.special.Gamma
   /action
-  action dev=psteitz type=update due-to=Kim van der Linde 
issue=30897 
+  action dev=psteitz type=update due-to=Kim van der Linde
+   issue=30897
 Added subMatrix and matrix-valued row and column accessor methods to 
 RealMatrix, BigMatrix interfaces and RealMatrixImpl, BigMatrixImpl.
   /action
@@ -141,7 +145,8 @@
 Implemented equals and hashCode in RealMatrixImpl and BigMatrixImpl.
   /action
   action dev=psteitz type=fix
-Fixed RealMatrixImpl, BigMatrixImpl toString methods to handle empty 
matrix.
+Fixed RealMatrixImpl, BigMatrixImpl toString methods to handle empty
+matrix.
   /action
   action dev=psteitz type=update
 Added support for population variance and standard deviation in
@@ -160,7 +165,8 @@
 Changed factorial methods to return 1 for argument = 0, instead of
 (incorrectly) throwing IllegalArgumentException.
   /action 
-  action dev=psteitz type=fix due-to=Kim van der Linde 
issue=31860
+  

Re: [logging] proposal to split Log4JLogger into Log4J12Logger and Log4J13Logger

2005-06-26 Thread robert burrell donkin
On Mon, 2005-06-20 at 18:22 +1200, Simon Kitching wrote:
 Hi,
 
 Currently the Log4JLogger class has this kind of thing all through it:
 
if(is12) {
  getLogger().log(FQCN, (Priority) Level.DEBUG, message, null );
} else {
  getLogger().log(FQCN, Level.DEBUG, message, null );
}
 
 This code is intended to deal with the fact that log4j1.3 is both binary
 and source incompatible with 1.2 for code that calls the Logger.log
 method.
 
 I've had some discussion on the log4j list about this, but it appears
 that due to the way the migration from Category/Priority to Logger/Level
 was originally done they're a bit locked in to breaking compatibility so
 it looks like jcl really does need to handle the two differently.
 
 I would like to split the existing class into separate Log4J12Logger and
 Log4J13Logger parts, with both being part of the autodiscovery
 process. I think this will lead to more readable and maintainable code.

+1

however, may need to think about compatibility (class name specified on
the command line) and do something a little tricky. 

- robert


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [logging] Split Log4JLogger into Log4J12Logger and Log4J13Logger

2005-06-26 Thread robert burrell donkin
On Wed, 2005-06-22 at 21:55 +0200, Dennis Lundberg wrote: 
 Simon Kitching wrote:
  Hi,
  
  Currently the Log4JLogger code in svn has this horrible stuff all
  through it:
if (is12) {
  ...
} else {
  ...
}
  
  This is to handle the fact that log4j versions 1.2 and 1.3 are expected
  to be binary incompatible in both directions, ie code compiled against
  1.2 won't work against 1.3 and code compiled against 1.3 won't work
  against 1.2. 
  
  The hack does allow code compiled against 1.3 to run against 1.3.
  However there are a number of disadvantages:
  * it requires compiling against 1.3 which isn't released yet 
and may be many months away.
  * it has a performance hit
  * it isn't very readable
  * it isn't future proof; when log4j 1.3 comes out, this code
won't work as the Priority class will go away completely.
  
  I would therefore prefer to split this class into separate Log4J12Logger
  and Log4J13Logger. A static initializer block in each will check which
  version of log4j is available, and throw an exception to declare
  themself unavailable if the wrong log4j version is present. Both
  adapters can also be included in the list of discoverable logging
  classes.
 
 I think it would be a wise move to split the class in two. A while back 
 I spent a fair amount of time trying to understand the differences 
 betwen log4j 1.2 and 1.3 and also to get commons-logging to work with 
 both log4j versions. It was confusing to say the least, and splitting 
 this class would at least make the commons-logging code more understandable.

+1

  Of course removing a class will mean a 1.1 version number, but that's
  good for a number of reasons.
  
  The only other major concern I see is config files or system properties
  that explicitly request the old logadapter by name. But that should be
  easily fixable, and a config change seems a reasonable thing to do in
  a .x release to me. Alternatively we could provide a trivial Log4JLogger
  class that just extends Log4J12Logger; however I suspect this will cause
  more pain and confusion than simply reporting a failure, esp. when log4j
  1.3 is released and starts to become widely used.
 
 I agree that, unless people have extended Log4JLogger, the only problems 
 that could arise for users of commons-logging would be to change their 
 config-files.
 
 If we hold on to the Log4JLogger class for a while and let it extend 
 Log4J12Logger, as you suggest, we might get away with doing a 1.0.X release.

i think that the next release should be a 1.1 release in any case.
however, i would prefer retaining Log4JLogger so that it can be properly
deprecated.

- robert


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: svn commit: r201739 - /jakarta/commons/proper/email/trunk/project.xml

2005-06-26 Thread Dion Gillard
Huh?

It's available on ibiblio...

On 6/27/05, Ramiro Pereira de Magalhaes [EMAIL PROTECTED] wrote:
 [EMAIL PROTECTED] wrote:
 
 Author: dion
 Date: Sat Jun 25 04:48:51 2005
 New Revision: 201739
 
 URL: http://svn.apache.org/viewcvs?rev=201739view=rev
 Log:
 Move to dumbster 1.6 for testing:
 - jdk13 compatible
 - faster
 - still works for us
 
 Modified:
 jakarta/commons/proper/email/trunk/project.xml
 
 Modified: jakarta/commons/proper/email/trunk/project.xml
 URL: 
 http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/project.xml?rev=201739r1=201738r2=201739view=diff
 ==
 --- jakarta/commons/proper/email/trunk/project.xml (original)
 +++ jakarta/commons/proper/email/trunk/project.xml Sat Jun 25 04:48:51 2005
 @@ -152,7 +152,7 @@
  dependency
  groupIddumbster/groupId
  artifactIddumbster/artifactId
 -version1.5/version
 +version1.6/version
  properties/
  /dependency
  /dependencies
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 If you're using dumbster version 1.6 then check it out from CVS and
 build it. There is a small but important difference between the code on
 CVS and the code currently released that avoids some locks while
 starting a SimpleSmtpServer. Check the difference here:
 http://cvs.sourceforge.net/viewcvs.py/dumbster/dumbster/src/com/dumbster/smtp/SimpleSmtpServer.java?r1=1.7r2=1.8
 
 Ramiro Pereira de Magalhães
 
 
 
 
 ___
 Yahoo! Acesso Gr�tis - Internet r�pida e gr�tis.
 Instale o discador agora! http://br.acesso.yahoo.com/
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
http://www.multitask.com.au/people/dion/
You are going to let the fear of poverty govern your life and your
reward will be that you will eat, but you will not live. - George
Bernard Shaw


Re: svn commit: r201739 - /jakarta/commons/proper/email/trunk/project.xml

2005-06-26 Thread Dion Gillard
Cool. I'll fix those.

On 6/27/05, Ramiro Pereira de Magalhaes [EMAIL PROTECTED] wrote:
 Ramiro Pereira de Magalhaes wrote:
 
  [EMAIL PROTECTED] wrote:
 
  Author: dion
  Date: Sat Jun 25 04:48:51 2005
  New Revision: 201739
 
  URL: http://svn.apache.org/viewcvs?rev=201739view=rev
  Log:
  Move to dumbster 1.6 for testing:
  - jdk13 compatible
  - faster
  - still works for us
 
  Modified:
 jakarta/commons/proper/email/trunk/project.xml
 
  Modified: jakarta/commons/proper/email/trunk/project.xml
  URL:
  http://svn.apache.org/viewcvs/jakarta/commons/proper/email/trunk/project.xml?rev=201739r1=201738r2=201739view=diff
 
  ==
 
  --- jakarta/commons/proper/email/trunk/project.xml (original)
  +++ jakarta/commons/proper/email/trunk/project.xml Sat Jun 25
  04:48:51 2005
  @@ -152,7 +152,7 @@
  dependency
  groupIddumbster/groupId
  artifactIddumbster/artifactId
  -version1.5/version
  +version1.6/version
  properties/
  /dependency
  /dependencies
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
  If you're using dumbster version 1.6 then check it out from CVS and
  build it. There is a small but important difference between the code
  on CVS and the code currently released that avoids some locks while
  starting a SimpleSmtpServer. Check the difference here:
  http://cvs.sourceforge.net/viewcvs.py/dumbster/dumbster/src/com/dumbster/smtp/SimpleSmtpServer.java?r1=1.7r2=1.8
 
 
  Ramiro Pereira de Magalhães
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 I forgot to say that the getMailServer() method on BaseEmailTestCase
 class performs unnecessary checks in order to be sure that dumbster mail
 server's up. Dumbster itself takes care of it.
 
 Ramiro Pereira de Magalhães
 
 
 
 
 ___
 Yahoo! Acesso Gr�tis - Internet r�pida e gr�tis.
 Instale o discador agora! http://br.acesso.yahoo.com/
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
http://www.multitask.com.au/people/dion/
You are going to let the fear of poverty govern your life and your
reward will be that you will eat, but you will not live. - George
Bernard Shaw


RE: [lang] text.Interpolation, on to 2.2

2005-06-26 Thread Gary Gregory
Hello Oliver:

I took a quick look at the ticket you linked to below. For this to work
for System properties, a simple VariableResolver would do the trick I
think. Maybe a generic MapVariableResolver could also be provided and
maybe a factory methods in order to say simple things like:

Interpolator.newInterpolator(System.getProperties()).resolve(The file
is here ${java.io.tmpdir});

Would [configuration] be interested in have this in the next version of
[lang]? Assuming that whatever loose requirements created by the current
lang tests are satisfied.  

Gary

-Original Message-
From: Oliver Heger [mailto:[EMAIL PROTECTED] 
Sent: Saturday, June 25, 2005 7:46 AM
To: Jakarta Commons Developers List
Subject: Re: [lang] text.Interpolation, on to 2.2

I am interested in this topic, too, because I want to implement enhanced

interpolation suport for [configuration].

I already had a look at the available Interpolation class, but it lacks 
some features I need. So I wrote something myself which is similar to 
the interpolation engine of digester, but is based on the interpolation 
method that existed in configuration. The code and a unit test can be 
found at the following bugzilla ticket:

http://issues.apache.org/bugzilla/show_bug.cgi?id=35116

Oliver

Simon Kitching wrote:

I'm willing to do some work on this. I'll need to see what's in lang at
the moment though...at least some of the code came originally from
Digester so I feel responsible for knocking it into shape for lang!

Cheers,

Simon

On Fri, 2005-06-24 at 06:34 -0400, Steven Caswell wrote:
  

Though I don't really have bandwidth to help with it, I am +1 on
moving forward with Interpolation being a motivation for the next
release.

On 6/23/05, Gary Gregory [EMAIL PROTECTED] wrote:


Hello:

Is anyone planning on working on text.Interpolation in the near
future?

It seems like a logical candidate and a motivation for the next
release.

Where does the class come from and does it make sense to simply
extract
some code out of Ant.

I could see a subclass dealing specifically with this. Something
like:

Interpolation si = new SystemPropertyInterpolation();
// replace all system property in ${} with real values.
string = si.interpolateAll(string);

The class name does seem a little pedantic to me, but eh, I can't
come
up with something more succinct right now ;-)

Thoughts?

Thanks,

Gary



  





-
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: r201908 - /jakarta/commons/proper/math/trunk/xdocs/changes.xml

2005-06-26 Thread psteitz
Author: psteitz
Date: Sun Jun 26 14:28:29 2005
New Revision: 201908

URL: http://svn.apache.org/viewcvs?rev=201908view=rev
Log:
Added description for 1.1 release.

Modified:
jakarta/commons/proper/math/trunk/xdocs/changes.xml

Modified: jakarta/commons/proper/math/trunk/xdocs/changes.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/xdocs/changes.xml?rev=201908r1=201907r2=201908view=diff
==
--- jakarta/commons/proper/math/trunk/xdocs/changes.xml (original)
+++ jakarta/commons/proper/math/trunk/xdocs/changes.xml Sun Jun 26 14:28:29 2005
@@ -38,8 +38,14 @@
 Commons Math Release Notes/title
   /properties
   body
-release version=1.1 date=In Development  
-   description= Jakarta Commons Math 1.1 - Development
+release version=1.1 date=TBD  
+   description=
+   This is a maintenance release containing bug fixes and enhancements.
+   All API changes are binary compatible with version 1.0. The 
enhancements 
+   include some new probability distributions, a Fraction class, new matrix
+   and numerical utilities, and a PRNG pluggability framework making it
+   possible to replace the JDK-supplied random number generator in
+   commons-math (and elsewhere) with alternative PRNG implementations.
   action dev=psteitz type=fix issue=35434  due-to=Jörg Weimar
 Changed Fraction(double) to correctly handle near-integral arguments.
   /action



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED]: Project commons-logging-step-1 (in module jakarta-commons) failed

2005-06-26 Thread Ted Husted
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-logging-step-1 has an issue affecting its community integration.
This issue affects 323 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- addressing :  WS-FX Project
- ant-embed-optional :  Java based build tool
- ant-xdocs-proposal :  Java based build tool
- apache-ldapber-provider :  Apache Directory Project
- apacheds-core :  Apache Directory Server
- apacheds-main :  Apache Directory Server
- apacheds-shared :  Apache Directory Server
- asn1-ber :  Apache ASN.1 Tools
- asn1-codec :  Apache ASN.1 Tools
- authx-script :  Apache Authentication and Authorization Framework
- avalon-activation-impl :  Avalon SVN
- avalon-central-site :  Avalon SVN
- avalon-composition-impl :  Avalon SVN
- avalon-finder-test :  Avalon SVN
- avalon-jms-api :  Avalon SVN
- avalon-jms-impl :  Avalon SVN
- avalon-jms-test :  Avalon SVN
- avalon-jmx-mx4j :  Avalon SVN
- avalon-jmx-spi :  Avalon SVN
- avalon-jmx-test :  Avalon SVN
- avalon-jmx-util :  Avalon SVN
- avalon-logging-test :  Avalon SVN
- avalon-merlin-cli :  Avalon SVN
- avalon-merlin-impl :  Avalon SVN
- avalon-merlin-unit :  Avalon SVN
- avalon-repository-cli :  Avalon SVN
- avalon-repository-test :  Avalon SVN
- avalon-runtime :  Avalon SVN
- avalon-tutorial-hello :  Avalon SVN
- avalon-tutorial-main :  Avalon SVN
- avalon-tutorial-webserver :  Avalon SVN
- beepcore :  BEEP is a new Internet standards-track protocol
- cargo :  Cargo provides a Java API to manipulate Java Containers
- castor :  Java to XML, SQL, LDAP bindings
- checkstyle :  Java style checker
- checkstyle-test :  Java style checker
- cocoon :  Java XML Framework
- cocoon-block-apples :  Java XML Framework
- cocoon-block-asciiart :  Java XML Framework
- cocoon-block-authentication-fw :  Java XML Framework
- cocoon-block-axis :  Java XML Framework
- cocoon-block-batik :  Java XML Framework
- cocoon-block-bsf :  Java XML Framework
- cocoon-block-chaperon :  Java XML Framework
- cocoon-block-cron :  Java XML Framework
- cocoon-block-databases :  Java XML Framework
- cocoon-block-deli :  Java XML Framework
- cocoon-block-eventcache :  Java XML Framework
- cocoon-block-faces :  Java XML Framework
- cocoon-block-fop :  Java XML Framework
- cocoon-block-forms :  Java XML Framework
- cocoon-block-hsqldb :  Java XML Framework
- cocoon-block-html :  Java XML Framework
- cocoon-block-itext :  Java XML Framework
- cocoon-block-javaflow :  Java XML Framework
- cocoon-block-jcr :  A jcr: protocol for Cocoon
- cocoon-block-jfor :  Java XML Framework
- cocoon-block-jms :  Java XML Framework
- cocoon-block-jsp :  Java XML Framework
- cocoon-block-linkrewriter :  Java XML Framework
- cocoon-block-lucene :  Java XML Framework
- cocoon-block-mail :  Java XML Framework
- cocoon-block-midi :  Java XML Framework
- cocoon-block-naming :  Java XML Framework
- cocoon-block-ojb :  Java XML Framework
- cocoon-block-paranoid :  Java XML Framework
- cocoon-block-petstore :  Java XML Framework
- cocoon-block-poi :  Java XML Framework
- cocoon-block-portal :  Java XML Framework
- cocoon-block-profiler :  Java XML Framework
- cocoon-block-proxy :  Java XML Framework
- cocoon-block-python :  Java XML Framework
- cocoon-block-qdox :  Java XML Framework
- cocoon-block-querybean :  Java XML Framework
- cocoon-block-repository :  Java XML Framework
- cocoon-block-scratchpad :  Java XML Framework
- cocoon-block-serializers :  Java XML Framework
- cocoon-block-session-fw :  Java XML Framework
- cocoon-block-slide :  Java XML Framework
- cocoon-block-slop :  Java XML Framework
- cocoon-block-spring-app :  A demo for Spring and Cocoon
- cocoon-block-stx :  Java XML Framework
- cocoon-block-taglib :  Java XML Framework
- cocoon-block-template :  Java XML Framework
- cocoon-block-tour :  Java XML Framework
- cocoon-block-velocity :  Java XML Framework
- cocoon-block-web3 :  Java XML Framework
- cocoon-block-webdav :  Java XML Framework
- cocoon-block-xmldb :  Java XML Framework
- cocoon-block-xsp :  Java XML Framework
- commons-beanutils :  Bean Utilities (Core)
- commons-beanutils-bean-collections :  Bean Utilities (Bean Collections)
- commons-beanutils-core :  Jakarta commons
- commons-betwixt :  Commons Betwixt Package
- commons-chain :  GoF Chain of Responsibility pattern
- commons-cli :  Commons CLI Package
- commons-configuration :  

[EMAIL PROTECTED]: Project commons-logging-step-1 (in module jakarta-commons) failed

2005-06-26 Thread Ted Husted
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-logging-step-1 has an issue affecting its community integration.
This issue affects 323 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- addressing :  WS-FX Project
- ant-embed-optional :  Java based build tool
- ant-xdocs-proposal :  Java based build tool
- apache-ldapber-provider :  Apache Directory Project
- apacheds-core :  Apache Directory Server
- apacheds-main :  Apache Directory Server
- apacheds-shared :  Apache Directory Server
- asn1-ber :  Apache ASN.1 Tools
- asn1-codec :  Apache ASN.1 Tools
- authx-script :  Apache Authentication and Authorization Framework
- avalon-activation-impl :  Avalon SVN
- avalon-central-site :  Avalon SVN
- avalon-composition-impl :  Avalon SVN
- avalon-finder-test :  Avalon SVN
- avalon-jms-api :  Avalon SVN
- avalon-jms-impl :  Avalon SVN
- avalon-jms-test :  Avalon SVN
- avalon-jmx-mx4j :  Avalon SVN
- avalon-jmx-spi :  Avalon SVN
- avalon-jmx-test :  Avalon SVN
- avalon-jmx-util :  Avalon SVN
- avalon-logging-test :  Avalon SVN
- avalon-merlin-cli :  Avalon SVN
- avalon-merlin-impl :  Avalon SVN
- avalon-merlin-unit :  Avalon SVN
- avalon-repository-cli :  Avalon SVN
- avalon-repository-test :  Avalon SVN
- avalon-runtime :  Avalon SVN
- avalon-tutorial-hello :  Avalon SVN
- avalon-tutorial-main :  Avalon SVN
- avalon-tutorial-webserver :  Avalon SVN
- beepcore :  BEEP is a new Internet standards-track protocol
- cargo :  Cargo provides a Java API to manipulate Java Containers
- castor :  Java to XML, SQL, LDAP bindings
- checkstyle :  Java style checker
- checkstyle-test :  Java style checker
- cocoon :  Java XML Framework
- cocoon-block-apples :  Java XML Framework
- cocoon-block-asciiart :  Java XML Framework
- cocoon-block-authentication-fw :  Java XML Framework
- cocoon-block-axis :  Java XML Framework
- cocoon-block-batik :  Java XML Framework
- cocoon-block-bsf :  Java XML Framework
- cocoon-block-chaperon :  Java XML Framework
- cocoon-block-cron :  Java XML Framework
- cocoon-block-databases :  Java XML Framework
- cocoon-block-deli :  Java XML Framework
- cocoon-block-eventcache :  Java XML Framework
- cocoon-block-faces :  Java XML Framework
- cocoon-block-fop :  Java XML Framework
- cocoon-block-forms :  Java XML Framework
- cocoon-block-hsqldb :  Java XML Framework
- cocoon-block-html :  Java XML Framework
- cocoon-block-itext :  Java XML Framework
- cocoon-block-javaflow :  Java XML Framework
- cocoon-block-jcr :  A jcr: protocol for Cocoon
- cocoon-block-jfor :  Java XML Framework
- cocoon-block-jms :  Java XML Framework
- cocoon-block-jsp :  Java XML Framework
- cocoon-block-linkrewriter :  Java XML Framework
- cocoon-block-lucene :  Java XML Framework
- cocoon-block-mail :  Java XML Framework
- cocoon-block-midi :  Java XML Framework
- cocoon-block-naming :  Java XML Framework
- cocoon-block-ojb :  Java XML Framework
- cocoon-block-paranoid :  Java XML Framework
- cocoon-block-petstore :  Java XML Framework
- cocoon-block-poi :  Java XML Framework
- cocoon-block-portal :  Java XML Framework
- cocoon-block-profiler :  Java XML Framework
- cocoon-block-proxy :  Java XML Framework
- cocoon-block-python :  Java XML Framework
- cocoon-block-qdox :  Java XML Framework
- cocoon-block-querybean :  Java XML Framework
- cocoon-block-repository :  Java XML Framework
- cocoon-block-scratchpad :  Java XML Framework
- cocoon-block-serializers :  Java XML Framework
- cocoon-block-session-fw :  Java XML Framework
- cocoon-block-slide :  Java XML Framework
- cocoon-block-slop :  Java XML Framework
- cocoon-block-spring-app :  A demo for Spring and Cocoon
- cocoon-block-stx :  Java XML Framework
- cocoon-block-taglib :  Java XML Framework
- cocoon-block-template :  Java XML Framework
- cocoon-block-tour :  Java XML Framework
- cocoon-block-velocity :  Java XML Framework
- cocoon-block-web3 :  Java XML Framework
- cocoon-block-webdav :  Java XML Framework
- cocoon-block-xmldb :  Java XML Framework
- cocoon-block-xsp :  Java XML Framework
- commons-beanutils :  Bean Utilities (Core)
- commons-beanutils-bean-collections :  Bean Utilities (Bean Collections)
- commons-beanutils-core :  Jakarta commons
- commons-betwixt :  Commons Betwixt Package
- commons-chain :  GoF Chain of Responsibility pattern
- commons-cli :  Commons CLI Package
- commons-configuration :  

svn commit: r201910 - in /jakarta/commons/proper/math/trunk: maven.xml release-notes.xsl

2005-06-26 Thread psteitz
Author: psteitz
Date: Sun Jun 26 14:31:28 2005
New Revision: 201910

URL: http://svn.apache.org/viewcvs?rev=201910view=rev
Log:
Added style sheet to create release-notes.txt from changes.xml.

Added:
jakarta/commons/proper/math/trunk/release-notes.xsl
Modified:
jakarta/commons/proper/math/trunk/maven.xml

Modified: jakarta/commons/proper/math/trunk/maven.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/maven.xml?rev=201910r1=201909r2=201910view=diff
==
--- jakarta/commons/proper/math/trunk/maven.xml (original)
+++ jakarta/commons/proper/math/trunk/maven.xml Sun Jun 26 14:31:28 2005
@@ -13,7 +13,7 @@
See the License for the specific language governing permissions and
limitations under the License.
   --
-project xmlns:deploy=deploy default=jar:jar 
+project xmlns:deploy=deploy default=jar:jar xmlns:ant=jelly:ant 
 
   !-- == --
   !-- START : C O M M O N S - B U I L D  --
@@ -37,15 +37,22 @@
attainGoal name=dist /
   /goal
   
+  preGoal name=dist
+ant:xslt in=xdocs/changes.xml out=release-notes.txt
+  style=release-notes.xsl/
+  /preGoal
+
   preGoal name=dist:build-bin  
 copy todir=${maven.dist.bin.assembly.dir}
   fileset file='${basedir}/NOTICE.txt'/
+  fileset file='${basedir}/release-notes.txt'/
 /copy
   /preGoal
   
   preGoal name=dist:build-src
 copy todir=${maven.dist.src.assembly.dir}
   fileset file='${basedir}/NOTICE.txt'/
+  fileset file='${basedir}/release-notes.txt'/
 /copy
 delete dir=${maven.dist.src.assembly.dir}/src/experimental /
   /preGoal

Added: jakarta/commons/proper/math/trunk/release-notes.xsl
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/release-notes.xsl?rev=201910view=auto
==
--- jakarta/commons/proper/math/trunk/release-notes.xsl (added)
+++ jakarta/commons/proper/math/trunk/release-notes.xsl Sun Jun 26 14:31:28 2005
@@ -0,0 +1,103 @@
+!--
+   Copyright 2005 The Apache Software Foundation
+
+   Licensed under the Apache License, Version 2.0 (the License);
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an AS IS BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+--
+xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
+!--
+   Stylesheet to convert maven changelog plugin xml files (changes.xml) to
+   plain text format.
+--
+xsl:output method=text version=1.0 encoding=iso-8859-1/
+xsl:variable name=CRLF select='#013;#010;'/
+xsl:template match=/
+  xsl:value-of select=document/properties/
+xsl:for-each select=document/body/release
+---
+Version xsl:value-of select=@version/xsl:value-of select=$CRLF/
+xsl:value-of select=@date/xsl:value-of select=$CRLF/
+xsl:value-of select=$CRLF/
+xsl:call-template name=keep.breaks

+xsl:with-param name=input select=@description/

+/xsl:call-templatexsl:value-of select=$CRLF/
+BUG FIXES
+  xsl:for-each select=action
+xsl:if test=contains(@type,'fix')
+  xsl:choose
+xsl:when test=@issue
+  Bugzilla # xsl:value-of select=@issue/
+/xsl:when
+xsl:otherwise
+/xsl:otherwise
+ /xsl:choose
+xsl:value-of select=./
+   /xsl:if
+/xsl:for-each
+ENHANCEMENTS
+xsl:for-each select=action
+  xsl:if test=contains(@type,'update')
+xsl:choose
+  xsl:when test=@issue
+  Bugzilla # xsl:value-of select=@issue/
+  /xsl:when
+  xsl:otherwise
+  /xsl:otherwise
+/xsl:choose
+xsl:value-of select=./
+  /xsl:if
+/xsl:for-each
+NEW FEATURES
+xsl:for-each select=action
+  xsl:if test=contains(@type,'add')
+xsl:choose
+  xsl:when test=@issue
+  Bugzilla # xsl:value-of select=@issue/
+  /xsl:when
+  xsl:otherwise
+  /xsl:otherwise
+/xsl:choose
+xsl:value-of select=./
+  /xsl:if
+/xsl:for-each
+  /xsl:for-each
+xsl:value-of select=$CRLF/
+/xsl:template
+
+!-- 
+ kludge to re-insert line feeds removed by parser. Assumes new lines all
+ start with three or more leading spaces. 
+--
+xsl:variable name=pad select='   '/

+xsl:template name=keep.breaks

+  xsl:param name=input/
+  xsl:if test=string-length($input) gt; 0  

+xsl:choose

+  xsl:when test=contains($input,$pad)

+xsl:variable 

svn commit: r201912 - /jakarta/commons/proper/math/trunk/release-notes.xsl

2005-06-26 Thread psteitz
Author: psteitz
Date: Sun Jun 26 14:43:34 2005
New Revision: 201912

URL: http://svn.apache.org/viewcvs?rev=201912view=rev
Log:
Eliminated trailing spaces.

Modified:
jakarta/commons/proper/math/trunk/release-notes.xsl

Modified: jakarta/commons/proper/math/trunk/release-notes.xsl
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/release-notes.xsl?rev=201912r1=201911r2=201912view=diff
==
--- jakarta/commons/proper/math/trunk/release-notes.xsl (original)
+++ jakarta/commons/proper/math/trunk/release-notes.xsl Sun Jun 26 14:43:34 2005
@@ -77,27 +77,27 @@
  kludge to re-insert line feeds removed by parser. Assumes new lines all
  start with three or more leading spaces. 
 --
-xsl:variable name=pad select='   '/

-xsl:template name=keep.breaks

+xsl:variable name=pad select='   '/
+xsl:template name=keep.breaks
   xsl:param name=input/
-  xsl:if test=string-length($input) gt; 0  

-xsl:choose

-  xsl:when test=contains($input,$pad)

-xsl:variable name=init 
select=normalize-space(substring-before($input,$pad))/

-xsl:variable name=term select=substring-after($input,$pad)/

+  xsl:if test=string-length($input) gt; 0
+xsl:choose
+  xsl:when test=contains($input,$pad)
+xsl:variable name=init 
select=normalize-space(substring-before($input,$pad))/
+xsl:variable name=term select=substring-after($input,$pad)/
 xsl:if test=string-length($init) gt; 0
   xsl:value-of select=$init/xsl:value-of select=$CRLF/
-/xsl:if

+/xsl:if
 xsl:if test=string-length($term) gt; 0
   xsl:call-template name=keep.breaks
 xsl:with-param name=input select=$term/
   /xsl:call-template
-/xsl:if

-  /xsl:when

-  xsl:otherwise

-xsl:value-of select=normalize-space($input)/

-  /xsl:otherwise

-/xsl:choose   

-  /xsl:if

+/xsl:if
+  /xsl:when
+  xsl:otherwise
+xsl:value-of select=normalize-space($input)/
+  /xsl:otherwise
+/xsl:choose
+  /xsl:if
 /xsl:template
 /xsl:stylesheet



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED]: Project commons-logging-step-1 (in module jakarta-commons) failed

2005-06-26 Thread Dennis Lundberg

Ted Husted wrote:

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-logging-step-1 has an issue affecting its community integration.


snip/


The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-commons/commons-logging-step-1/gump_work/build_jakarta-commons_commons-logging-step-1.html
Work Name: build_jakarta-commons_commons-logging-step-1 (Type: Build)
Work ended in a state of : Failed
Elapsed: 1 sec
Command Line: java -Djava.awt.headless=true -Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml -Dbuild.sysclasspath=only -Dcomponent.version=26062005 init discovery warning show-lib-presence compile-non-log4j compile-log4j12 
[Working Directory: /usr/local/gump/public/workspace/jakarta-commons/logging]

CLASSPATH: 
/opt/jdk1.4/lib/tools.jar:/usr/local/gump/public/workspace/jakarta-commons/logging/target/classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/xml-commons/java/build/resolver.jar:/usr/local/gump/public/workspace/logging-log4j-12/dist/lib/log4j-26062005.jar:/usr/local/gump/public/workspace/avalon-trunk/runtime/logkit/target/deliverables/jars/avalon-logkit-26062005.jar:/usr/local/gump/public/workspace/avalon-trunk/runtime/framework/api/target/deli

ve!

 
rables/jars/avalon-framework-api-26062005.jar:/usr/local/gump/public/workspace/jakarta-servletapi-4/lib/servlet.jar


snip/


compile-non-log4j:

BUILD FAILED
/x1/gump/public/workspace/jakarta-commons/logging/build.xml:295: destination directory 
/x1/gump/public/workspace/jakarta-commons/logging/target/classes does not 
exist or is not a directory


commons-logging-step-1 needs to call the prepare target as well. That 
target is responsible for creating directories.


--
Dennis Lundberg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201915 - in /jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math: ./ analysis/ complex/ distribution/ fraction/ special/

2005-06-26 Thread psteitz
Author: psteitz
Date: Sun Jun 26 15:20:57 2005
New Revision: 201915

URL: http://svn.apache.org/viewcvs?rev=201915view=rev
Log:
Eliminated tabs.

Modified:

jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/analysis/PolynomialSplineFunction.java

jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/analysis/package.html

jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/complex/ComplexFormat.java

jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/complex/package.html

jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/distribution/AbstractIntegerDistribution.java

jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/distribution/BinomialDistributionImpl.java

jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/distribution/CauchyDistribution.java

jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/distribution/CauchyDistributionImpl.java

jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/distribution/DistributionFactory.java

jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/distribution/DistributionFactoryImpl.java

jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/distribution/NormalDistribution.java

jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/distribution/NormalDistributionImpl.java

jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/distribution/package.html

jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/FractionFormat.java

jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/package.html

jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/package.html

jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/special/package.html

Modified: 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/analysis/PolynomialSplineFunction.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/analysis/PolynomialSplineFunction.java?rev=201915r1=201914r2=201915view=diff
==
--- 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/analysis/PolynomialSplineFunction.java
 (original)
+++ 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/analysis/PolynomialSplineFunction.java
 Sun Jun 26 15:20:57 2005
@@ -94,7 +94,7 @@
 public PolynomialSplineFunction(double knots[], PolynomialFunction 
polynomials[]) {
 if (knots.length  2) {
 throw new IllegalArgumentException
-   (Not enough knot values -- spline partition must have at least 
2 points.);
+(Not enough knot values -- spline partition must have at 
least 2 points.);
 }
 if (knots.length - 1 != polynomials.length) {
 throw new IllegalArgumentException 

Modified: 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/analysis/package.html
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/analysis/package.html?rev=201915r1=201914r2=201915view=diff
==
--- 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/analysis/package.html
 (original)
+++ 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/analysis/package.html
 Sun Jun 26 15:20:57 2005
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
   --
-   !-- $Revision$ $Date$ --
+!-- $Revision$ $Date$ --
 body
  Implementations of common numerical analysis procedures, including root 
finding and function interpolation.
 /body

Modified: 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/complex/ComplexFormat.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/complex/ComplexFormat.java?rev=201915r1=201914r2=201915view=diff
==
--- 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/complex/ComplexFormat.java
 (original)
+++ 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/complex/ComplexFormat.java
 Sun Jun 26 15:20:57 2005
@@ -120,7 +120,7 @@
  * @return A formatted number in the form Re(c) + Im(c)i
  */
 public static String formatComplex( Complex c ) {
-   return getInstance().format( c );
+return getInstance().format( c );
 }
 
 /**

Modified: 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/complex/package.html
URL: 

svn commit: r201919 - in /jakarta/commons/proper/math/trunk/xdocs: ./ images/ style/ userguide/

2005-06-26 Thread psteitz
Author: psteitz
Date: Sun Jun 26 15:39:42 2005
New Revision: 201919

URL: http://svn.apache.org/viewcvs?rev=201919view=rev
Log:
Eliminated tabs.

Modified:
jakarta/commons/proper/math/trunk/xdocs/developers.xml
jakarta/commons/proper/math/trunk/xdocs/images/math-old.gif
jakarta/commons/proper/math/trunk/xdocs/images/math-old.psd
jakarta/commons/proper/math/trunk/xdocs/images/math.gif
jakarta/commons/proper/math/trunk/xdocs/images/math.psd
jakarta/commons/proper/math/trunk/xdocs/releases.xml
jakarta/commons/proper/math/trunk/xdocs/style/print.css
jakarta/commons/proper/math/trunk/xdocs/style/tigris.css
jakarta/commons/proper/math/trunk/xdocs/userguide/complex.xml
jakarta/commons/proper/math/trunk/xdocs/userguide/fraction.xml
jakarta/commons/proper/math/trunk/xdocs/userguide/linear.xml
jakarta/commons/proper/math/trunk/xdocs/userguide/stat.xml
jakarta/commons/proper/math/trunk/xdocs/userguide/xdoc.xsl
jakarta/commons/proper/math/trunk/xdocs/xdoc.xsl

Modified: jakarta/commons/proper/math/trunk/xdocs/developers.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/xdocs/developers.xml?rev=201919r1=201918r2=201919view=diff
==
--- jakarta/commons/proper/math/trunk/xdocs/developers.xml (original)
+++ jakarta/commons/proper/math/trunk/xdocs/developers.xml Sun Jun 26 15:39:42 
2005
@@ -43,72 +43,72 @@
subsection name=Contributing
p
   Here are some steps to take to get starting contributing to commons-math:
-   /p
-   p
-   ol
-   liStart by reviewing the overall objectives stated in the
-   a href=proposal.htmlproposal/a upon which the 
project is 
-   founded.
-   /li
-   liDownload the commons math source code.  Follow the 
instructions
-   under the heading Anonymous Subversion
-   a 
href=http://www.apache.org/dev/version-control.html;here/a (and 
-   also have a look a 
href=http://wiki.apache.org/jakarta-commons/UsingSVN;
-   here/a) to check out the commons math code base from 
Subversion 
-   (Jakarta Commons now uses Subversion as our source control 
system). The
-   svn url for the current development sources of commons-math
-   is 
+/p
+p
+ol
+liStart by reviewing the overall objectives stated in the
+a href=proposal.htmlproposal/a upon which the project is 
+founded.
+/li
+liDownload the commons math source code.  Follow the instructions
+under the heading Anonymous Subversion
+a href=http://www.apache.org/dev/version-control.html;here/a (and 
+also have a look a 
href=http://wiki.apache.org/jakarta-commons/UsingSVN;
+here/a) to check out the commons math code base from Subversion 
+(Jakarta Commons now uses Subversion as our source control system). The
+svn url for the current development sources of commons-math
+is 
 
sourcehttps://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk/source
-   /li
-   liHave a look at the new features that users and developers 
have requested
-   on the a 
href=http://wiki.apache.org/jakarta-commons/MathWishList;
-   Math Wish List Wiki Page./a
-   /li
-   liBe sure to join the commons-dev and commons-user 
-   a href=mail-lists.html
-   email lists/a and use them appropriately (make sure 
the string
-   [math] starts the Subject line of all your postings).
-   Make any proposals here where the group can comment on them.
-   /li
-   li
-   a 
href=http://issues.apache.org/bugzilla/createaccount.cgi;
-   Setup an account on Bugzilla/a and use it to submit 
patches and
-   identify bugs. Read the 
-   a href=http://issues.apache.org/bugwritinghelp.html;
-   directions/a for submitting bugs and search the 
database to
-   determine if an issue exists or has already been dealt 
with.
-   p
-   Submitting Issues:  
-   /p
-   ul
-   lia 

svn commit: r201921 - /jakarta/commons/proper/logging/trunk/build.xml

2005-06-26 Thread skitching
Author: skitching
Date: Sun Jun 26 16:08:36 2005
New Revision: 201921

URL: http://svn.apache.org/viewcvs?rev=201921view=rev
Log:
Add dependency on prepare targets for new compile targets, so that if they
are run independently the destination dirs will exist.

Modified:
jakarta/commons/proper/logging/trunk/build.xml

Modified: jakarta/commons/proper/logging/trunk/build.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/trunk/build.xml?rev=201921r1=201920r2=201921view=diff
==
--- jakarta/commons/proper/logging/trunk/build.xml (original)
+++ jakarta/commons/proper/logging/trunk/build.xml Sun Jun 26 16:08:36 2005
@@ -274,7 +274,7 @@
 
depends='log4j12-warning,log4j13-warning,logkit-warning,jdk1.4-warning,avalon-framework-warning'/
 
   target name=compile-only 
-
depends=init,discovery,warning,show-lib-presence,compile-non-log4j,compile-log4j12,compile-log4j13,build-jar/
+
depends=prepare,discovery,warning,show-lib-presence,compile-non-log4j,compile-log4j12,compile-log4j13,build-jar/
 
   target name=show-lib-presence
 echo  message=jdk.1.4.present=${jdk.1.4.present}/
@@ -284,7 +284,7 @@
 echo  message=avalon-framework.present=${avalon-framework.present}/
   /target
 
-  target name=compile-non-log4j
+  target name=compile-non-log4j depends=prepare
 !-- compile everything except Log4J classes --
 javac srcdir=${source.home}
destdir=${build.home}/classes
@@ -309,7 +309,7 @@
 /javac
   /target
 
-  target name=compile-log4j12
+  target name=compile-log4j12 depends=prepare
 !-- compile the log4j1.2 support classes --
 javac srcdir=${source.home}
destdir=${build.home}/classes
@@ -333,7 +333,7 @@
 /javac
   /target
 
-  target name=compile-log4j13
+  target name=compile-log4j13 depends=prepare
 !-- compile the log4j1.3 support classes --
 javac srcdir=${source.home}
destdir=${build.home}/classes



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED]: Project commons-logging-step-1 (in module jakarta-commons) failed

2005-06-26 Thread Simon Kitching
On Mon, 2005-06-27 at 00:20 +0200, Dennis Lundberg wrote:
  
  BUILD FAILED
  /x1/gump/public/workspace/jakarta-commons/logging/build.xml:295: 
  destination directory 
  /x1/gump/public/workspace/jakarta-commons/logging/target/classes does not 
  exist or is not a directory
 
 commons-logging-step-1 needs to call the prepare target as well. That 
 target is responsible for creating directories.

Yep. I've committed a change to build.xml to add prepare as a dependency
of the new compile targets.

Regards,

Simon



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [logging] Split Log4JLogger into Log4J12Logger and Log4J13Logger

2005-06-26 Thread Simon Kitching
On Sun, 2005-06-26 at 20:56 +0100, robert burrell donkin wrote:

 i think that the next release should be a 1.1 release in any case.
 however, i would prefer retaining Log4JLogger so that it can be properly
 deprecated.

The problem is that people won't be referring to it in the normal way,
via an import in their code (at least it's *theoretically* possible, but
I can't imagine anyone actually subclassing Log4JLogger.

The breakage is more when people refer to it in config files. Or
possible call 
  LogFactory.setAttribute(...,
   org.apache.commons.logging.impl.Log4JLogger);

In neither case do we have any real mechanism for indicating deprecation
to the user.

We also need to consider that Log4J 1.3 is likely to be released within
the lifetime of this release of commons-logging. If we provide a class
called Log4JLogger that is not compatible with it, I'm concerned we
will cause more pain than by simply removing that class. Remember that
every person we would have broken by not including Log4JLogger would
get broken anyway if they try to use Log4J 1.3, as Log4JLogger is not
compatible with Log4J 1.3: we have a choice of breakage only:
 * message Log4JLogger does not exist (if we remove the class)
 * message Log4JLogger cannot be initialised: log4j 1.2 not found
   (if we include it)

Given that we're going to break their apps either way (due to log4j's
binary incompatibility) it seems sensible to do it right from the code
point of view.

Alternatively we could provide the Log4JLogger that is currently in SVN
which is compatible with both log4j versions. But it is only compatible
when we compile it against log4j1.3-alpha6 or later, and I'm really not
keen on releasing a Log4JLogger class compiled like that. I'm wavering
on the idea of releasing a Log4J13Logger compiled like that; depends how
confident the log4j team are that they will stick with their API change
plan. Currently, however, there seems to be confusion over when/if they
are going to change the Category/Logger class hierarchy so I think
there's still the possibility of further API changes from the log4j team
in which case we should NOT include log4j1.3 support (ie Log4J13Logger)
in the next release.

Regards,

Simon


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: svn commit: r201882 - in /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang: enum/ enums/ exception/ math/

2005-06-26 Thread Steven Caswell
Sounds reasonable. I'll make the code change, but I don't think there
is a checkstyle rule that will enforce it.

On 6/26/05, Stephen Colebourne [EMAIL PROTECTED] wrote:
 [EMAIL PROTECTED] wrote:
  Log:
  corrected style issues (mostly empty blocks and missing javadocs)
* pRestrictive constructor./p
*/
   private Entry() {
  +  ; // empty constructor
   }
   }
 
 I would suggest the following as a more logical way to handle this
 
private Entry() {
   +super();
}
 
 Personally, I believe that constructors should always have a this() or
 super(), and in fact that is the checkstyle rule I would prefer to see ;-)
 
 Stephen
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
Steven Caswell
[EMAIL PROTECTED]

Take back the web - http://www.mozilla.org

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201930 - in /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang: ./ enums/

2005-06-26 Thread stevencaswell
Author: stevencaswell
Date: Sun Jun 26 17:54:42 2005
New Revision: 201930

URL: http://svn.apache.org/viewcvs?rev=201930view=rev
Log:
chanegd empty statement in constructor to invocation of super()

Modified:

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ArrayUtils.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/BooleanUtils.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/CharSetUtils.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/CharUtils.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ClassUtils.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/Entities.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/NumberUtils.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ObjectUtils.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/RandomStringUtils.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/Validate.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/WordUtils.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enums/Enum.java

jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/enums/EnumUtils.java

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ArrayUtils.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ArrayUtils.java?rev=201930r1=201929r2=201930view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ArrayUtils.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ArrayUtils.java
 Sun Jun 26 17:54:42 2005
@@ -133,7 +133,7 @@
  * to operate./p
  */
 public ArrayUtils() {
-  ; // empty constructor
+  super();
 }
 
 // Basic methods handling multi-dimensional arrays

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/BooleanUtils.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/BooleanUtils.java?rev=201930r1=201929r2=201930view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/BooleanUtils.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/BooleanUtils.java
 Sun Jun 26 17:54:42 2005
@@ -40,7 +40,7 @@
  * to operate./p
  */
 public BooleanUtils() {
-  ; // empty constructor
+  super();
 }
 
 // Boolean utilities

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/CharSetUtils.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/CharSetUtils.java?rev=201930r1=201929r2=201930view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/CharSetUtils.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/CharSetUtils.java
 Sun Jun 26 17:54:42 2005
@@ -40,7 +40,7 @@
  * to operate./p
  */
 public CharSetUtils() {
-  ; // empty constructor
+  super();
 }
 
 // Factory

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/CharUtils.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/CharUtils.java?rev=201930r1=201929r2=201930view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/CharUtils.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/CharUtils.java
 Sun Jun 26 17:54:42 2005
@@ -64,7 +64,7 @@
  * to operate./p
  */
 public CharUtils() {
-  ; // empty constructor
+  super();
 }
 
 //---

Modified: 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ClassUtils.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ClassUtils.java?rev=201930r1=201929r2=201930view=diff
==
--- 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ClassUtils.java
 (original)
+++ 
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/ClassUtils.java
 Sun Jun 26 17:54:42 2005
@@ -79,7 +79,7 @@
  * instance to operate./p
  */
 public ClassUtils() {
-  

svn commit: r201934 - /jakarta/commons/proper/httpclient/trunk/xdocs/news.xml

2005-06-26 Thread mbecke
Author: mbecke
Date: Sun Jun 26 19:21:02 2005
New Revision: 201934

URL: http://svn.apache.org/viewcvs?rev=201934view=rev
Log:
Wording changes

Modified:
jakarta/commons/proper/httpclient/trunk/xdocs/news.xml

Modified: jakarta/commons/proper/httpclient/trunk/xdocs/news.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/trunk/xdocs/news.xml?rev=201934r1=201933r2=201934view=diff
==
--- jakarta/commons/proper/httpclient/trunk/xdocs/news.xml (original)
+++ jakarta/commons/proper/httpclient/trunk/xdocs/news.xml Sun Jun 26 19:21:02 
2005
@@ -14,7 +14,7 @@
 p
 The Jakarta Commons HttpClient project is pleased to announce 
the third release
 candidate of HttpClient 3.0.  RC3 has undergone quite a lot of 
user testing 
-   and it fixes a number of bugs from RC2. We strongly recommend 
all users upgrading 
+   and it fixes a number of bugs from RC2. We strongly recommend 
that all users upgrade 
to HttpClient 3.0 RC3. Please a 
href=downloads.htmldownload/a and enjoy.
 /p
 /section



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [jelly] SOLVED: Maven issue with Hans memory leak patch

2005-06-26 Thread Hans Gilde
Hmm, I'm having a hard time replicating this. Could you send some examples?
Basically, if the tag has two attributes on the first run, how would it have
one attribute on the second run?

-Original Message-
From: Kristofer Eriksson [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 24, 2005 10:30 AM
To: Jakarta Commons Developers List
Subject: RE: [jelly] SOLVED: Maven issue with Hans memory leak patch

Just TagSupport

-Original Message-
From: Paul Libbrecht [mailto:[EMAIL PROTECTED] 
Sent: Freitag, 24. Juni 2005 16:26
To: Jakarta Commons Developers List
Subject: Re: [jelly] SOLVED: Maven issue with Hans memory leak patch

Which tag-class are you subclassing ?

paul


Le 24 juin 05, à 15:33, Kristofer Eriksson a écrit :

 Hi Paul,

 many thx for the quick answer.

 In my case, yes I do expect the setters to be called at every new run. 
 Setters receiving an expression would solve my problem, or always 
 specifying all attributes, even empty ones (mylib:mytag attr1=foo 
 attr2= /) but then all scripts (and I have loads) needs to be 
 modified.

 I believe there would be useful though, not only for me but in 
 general, to have some way to disable caching per tag or (preferably) 
 some sort of re-run-setters method that is called on every run as 
 you suggested. Either solution would solve my problem.

 Regards

 /Kristofer Eriksson


 -Original Message-
 From: Paul Libbrecht [mailto:[EMAIL PROTECTED]
 Sent: Freitag, 24. Juni 2005 14:14
 To: Jakarta Commons Developers List
 Subject: Re: [jelly] SOLVED: Maven issue with Hans memory leak patch

 Since a bit earlier than the patch, indeed, caching has been activated
 by default and caching disablement has been removed. This was needed at
 least by some jelly:define tags, as far as I could tell.

 Can you give more details ?
 - Do you expect the setters to be called at every new run ?
 - Would you have enough if having a method accessible such as
 re-run-setters?
 - Alternatively, would you be happy with overall cache-disablement (at
 your own risks) ?
 - Finally, did you not find a possibility to have setters receive
 expressions which, then, get re-evaluated each time needed ? I would
 believe this would be the best practice.

 thanks

 paul


 Le 24 juin 05, à 13:38, Kristofer Eriksson a écrit :
 Secondly, to add to the above topic, I see the change in cache 
 behavior
 (since the patch?!?). When calling a Tag a second time attributes not
 specified will have values previously set, as mentioned by Brett.

 First call: mylib:mytag attr1=foo attr2=boo /
 Second call: mylib:mytag attr1=foo /

 The second time mytag is called, attr2 will still have the value 
 boo,
 and not null or default value. My question is if this is the desired
 behavior, if not, can this be fixed somehow.

 Kind Regards

 /Kristofer Eriksson

 -
 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]



-
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]



[math] RE: svn commit: r201912 - /jakarta/commons/proper/math/trunk/release-notes.xsl

2005-06-26 Thread Brent Worden
Not to poo-poo on your work, but have you considered using the Maven
Announcement plugin for generating release notes?  It performs the same job
of creating a text file based on the changes.xml items.

Brent Worden  

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Sunday, June 26, 2005 4:44 PM
 To: [EMAIL PROTECTED]
 Subject: svn commit: r201912 - 
 /jakarta/commons/proper/math/trunk/release-notes.xsl
 
 Author: psteitz
 Date: Sun Jun 26 14:43:34 2005
 New Revision: 201912
 
 URL: http://svn.apache.org/viewcvs?rev=201912view=rev
 Log:
 Eliminated trailing spaces.
 
 Modified:
 jakarta/commons/proper/math/trunk/release-notes.xsl
 
 Modified: jakarta/commons/proper/math/trunk/release-notes.xsl
 URL: 
 http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trun
 k/release-notes.xsl?rev=201912r1=201911r2=201912view=diff
 ==
 
 --- jakarta/commons/proper/math/trunk/release-notes.xsl (original)
 +++ jakarta/commons/proper/math/trunk/release-notes.xsl Sun Jun 26 
 +++ 14:43:34 2005
 @@ -77,27 +77,27 @@
   kludge to re-insert line feeds removed by parser. 
 Assumes new lines all
   start with three or more leading spaces. 
  --
 -xsl:variable name=pad select='   '/
 -xsl:template name=keep.breaks
 +xsl:variable name=pad select='   '/
 +xsl:template name=keep.breaks
xsl:param name=input/
 -  xsl:if test=string-length($input) gt; 0  
 -xsl:choose
 -  xsl:when test=contains($input,$pad)
 -xsl:variable name=init 
 select=normalize-space(substring-before($input,$pad))/
 -xsl:variable name=term 
 select=substring-after($input,$pad)/
 +  xsl:if test=string-length($input) gt; 0
 +xsl:choose
 +  xsl:when test=contains($input,$pad)
 +xsl:variable name=init 
 select=normalize-space(substring-before($input,$pad))/
 +xsl:variable name=term 
 + select=substring-after($input,$pad)/
  xsl:if test=string-length($init) gt; 0
xsl:value-of select=$init/xsl:value-of 
 select=$CRLF/
 -/xsl:if
 +/xsl:if
  xsl:if test=string-length($term) gt; 0
xsl:call-template name=keep.breaks
  xsl:with-param name=input select=$term/
/xsl:call-template
 -/xsl:if
 -  /xsl:when
 -  xsl:otherwise
 -xsl:value-of select=normalize-space($input)/
 -  /xsl:otherwise
 -/xsl:choose   
 -  /xsl:if
 +/xsl:if
 +  /xsl:when
 +  xsl:otherwise
 +xsl:value-of select=normalize-space($input)/
 +  /xsl:otherwise
 +/xsl:choose
 +  /xsl:if
  /xsl:template
  /xsl:stylesheet
 
 
 
 -
 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: [math][patch] 1.4 dependency in FractionFormat

2005-06-26 Thread Brent Worden
You might want to add a couple of modifications better enforce an integer
constraint:

NumberFormat nf = NumberFormat.getNumberInstance(locale);
nf.setMaximumFractionDigits(0);
nf.setParseIntegerOnly(true);

Brent Worden  

 -Original Message-
 From: Phil Steitz [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, June 25, 2005 10:31 PM
 To: Jakarta Commons Developers List
 Subject: Re: [math][patch] 1.4 dependency in FractionFormat
 
 Committed.  Pls review this and the other Fraction changes.
 
 Phil
 
 On 6/12/05, Mark Diggory [EMAIL PROTECTED] wrote:
  +1
  
  Phil Steitz wrote:
  
  When building with 1.3, I discovered that the FractionFormat class 
  introduced a 1.4 dependency.  The change below removes the 
 dependency 
  and the tests pass.  If there are no objections, I will 
 commit this, 
  which will fix the build on 1.3
  
  --- 
 src/java/org/apache/commons/math/fraction/FractionFormat.java 
  (revision
  178359)
  +++ 
 src/java/org/apache/commons/math/fraction/FractionFormat.java 
  (working copy)
  @@ -150,7 +150,7 @@
* @return the default number format specific to the 
 given locale.
  
*/
  
   private static NumberFormat getDefaultNumberFormat(Locale 
   locale) {
  
  -NumberFormat nf = NumberFormat.getIntegerInstance(locale);
  
  +NumberFormat nf = NumberFormat.getNumberInstance(locale);
  
   return nf;
  
   }
  
  Phil
  
  
 -
  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]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [math] RE: svn commit: r201912 - /jakarta/commons/proper/math/trunk/release-notes.xsl

2005-06-26 Thread Phil Steitz
Poo it is, then :-)
Much rather use something from maven.  I was unaware that this existed. 
I Will rip this stuff out, assuming the plugin works OK.  Thanks!

Phil

On 6/26/05, Brent Worden [EMAIL PROTECTED] wrote:
 Not to poo-poo on your work, but have you considered using the Maven
 Announcement plugin for generating release notes?  It performs the same job
 of creating a text file based on the changes.xml items.
 
 Brent Worden
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Sunday, June 26, 2005 4:44 PM
  To: [EMAIL PROTECTED]
  Subject: svn commit: r201912 -
  /jakarta/commons/proper/math/trunk/release-notes.xsl
 
  Author: psteitz
  Date: Sun Jun 26 14:43:34 2005
  New Revision: 201912
 
  URL: http://svn.apache.org/viewcvs?rev=201912view=rev
  Log:
  Eliminated trailing spaces.
 
  Modified:
  jakarta/commons/proper/math/trunk/release-notes.xsl
 
  Modified: jakarta/commons/proper/math/trunk/release-notes.xsl
  URL:
  http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trun
  k/release-notes.xsl?rev=201912r1=201911r2=201912view=diff
  ==
  
  --- jakarta/commons/proper/math/trunk/release-notes.xsl (original)
  +++ jakarta/commons/proper/math/trunk/release-notes.xsl Sun Jun 26
  +++ 14:43:34 2005
  @@ -77,27 +77,27 @@
kludge to re-insert line feeds removed by parser.
  Assumes new lines all
start with three or more leading spaces.
   --
  -xsl:variable name=pad select='   '/
  -xsl:template name=keep.breaks
  +xsl:variable name=pad select='   '/
  +xsl:template name=keep.breaks
 xsl:param name=input/
  -  xsl:if test=string-length($input) gt; 0
  -xsl:choose
  -  xsl:when test=contains($input,$pad)
  -xsl:variable name=init
  select=normalize-space(substring-before($input,$pad))/
  -xsl:variable name=term
  select=substring-after($input,$pad)/
  +  xsl:if test=string-length($input) gt; 0
  +xsl:choose
  +  xsl:when test=contains($input,$pad)
  +xsl:variable name=init
  select=normalize-space(substring-before($input,$pad))/
  +xsl:variable name=term
  + select=substring-after($input,$pad)/
   xsl:if test=string-length($init) gt; 0
 xsl:value-of select=$init/xsl:value-of
  select=$CRLF/
  -/xsl:if
  +/xsl:if
   xsl:if test=string-length($term) gt; 0
 xsl:call-template name=keep.breaks
   xsl:with-param name=input select=$term/
 /xsl:call-template
  -/xsl:if
  -  /xsl:when
  -  xsl:otherwise
  -xsl:value-of select=normalize-space($input)/
  -  /xsl:otherwise
  -/xsl:choose
  -  /xsl:if
  +/xsl:if
  +  /xsl:when
  +  xsl:otherwise
  +xsl:value-of select=normalize-space($input)/
  +  /xsl:otherwise
  +/xsl:choose
  +  /xsl:if
   /xsl:template
   /xsl:stylesheet
 
 
 
  -
  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: r201940 - /jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/FractionFormat.java

2005-06-26 Thread psteitz
Author: psteitz
Date: Sun Jun 26 20:46:57 2005
New Revision: 201940

URL: http://svn.apache.org/viewcvs?rev=201940view=rev
Log:
Added integer parse restriction.

Modified:

jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/FractionFormat.java

Modified: 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/FractionFormat.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/FractionFormat.java?rev=201940r1=201939r2=201940view=diff
==
--- 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/FractionFormat.java
 (original)
+++ 
jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/fraction/FractionFormat.java
 Sun Jun 26 20:46:57 2005
@@ -152,6 +152,7 @@
 private static NumberFormat getDefaultNumberFormat(Locale locale) {

 NumberFormat nf = NumberFormat.getNumberInstance(locale);

 nf.setMaximumFractionDigits(0);

+nf.setParseIntegerOnly(true);

 return nf;

 }

 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [math][patch] 1.4 dependency in FractionFormat

2005-06-26 Thread Phil Steitz
On 6/26/05, Brent Worden [EMAIL PROTECTED] wrote:
 You might want to add a couple of modifications better enforce an integer
 constraint:
 
 NumberFormat nf = NumberFormat.getNumberInstance(locale);
 nf.setMaximumFractionDigits(0);
 nf.setParseIntegerOnly(true);

Done.

Phil

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201942 - in /jakarta/commons/proper/math/trunk: maven.xml release-notes.xsl

2005-06-26 Thread psteitz
Author: psteitz
Date: Sun Jun 26 21:27:14 2005
New Revision: 201942

URL: http://svn.apache.org/viewcvs?rev=201942view=rev
Log:
Changed to use maven announcement plugin instead of custom xsl.

Removed:
jakarta/commons/proper/math/trunk/release-notes.xsl
Modified:
jakarta/commons/proper/math/trunk/maven.xml

Modified: jakarta/commons/proper/math/trunk/maven.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/maven.xml?rev=201942r1=201941r2=201942view=diff
==
--- jakarta/commons/proper/math/trunk/maven.xml (original)
+++ jakarta/commons/proper/math/trunk/maven.xml Sun Jun 26 21:27:14 2005
@@ -36,13 +36,9 @@
attainGoal name=convert-snapshots /
attainGoal name=dist /
   /goal
-  
-  preGoal name=dist
-ant:xslt in=xdocs/changes.xml out=release-notes.txt
-  style=release-notes.xsl/
-  /preGoal
 
   preGoal name=dist:build-bin  
+attainGoal name=announcement:generate /
 copy todir=${maven.dist.bin.assembly.dir}
   fileset file='${basedir}/NOTICE.txt'/
   fileset file='${basedir}/release-notes.txt'/



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r201943 - /jakarta/commons/proper/math/trunk/project.properties

2005-06-26 Thread psteitz
Author: psteitz
Date: Sun Jun 26 21:30:51 2005
New Revision: 201943

URL: http://svn.apache.org/viewcvs?rev=201943view=rev
Log:
Added announcement.file, compile.target, xdoc.copy.excludes.classic properties.

Modified:
jakarta/commons/proper/math/trunk/project.properties

Modified: jakarta/commons/proper/math/trunk/project.properties
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trunk/project.properties?rev=201943r1=201942r2=201943view=diff
==
--- jakarta/commons/proper/math/trunk/project.properties (original)
+++ jakarta/commons/proper/math/trunk/project.properties Sun Jun 26 21:30:51 
2005
@@ -42,6 +42,9 @@
 
 maven.jar.override = on
 maven.jar.clover = 1.3.2
+maven.compile.target=1.3
+
+maven.announcement.file=${basedir}/release-notes.txt
 
 ##
 # Deployment Repository Settings
@@ -83,4 +86,4 @@
 ###
 # properties to exclude extra images from site. Will be built in to xdoc 
plugin.
 
maven.xdoc.copy.excludes=images/file.gif,images/folder-closed.gif,images/folder-open.gif,images/icon_alert.gif,images/icon_alertsml.gif,images/icon_arrowfolder1_sml.gif,images/icon_arrowfolder2_sml.gif,images/icon_arrowmembers1_sml.gif,images/icon_arrowmembers2_sml.gif,images/icon_arrowusergroups1_sml.gif,images/icon_arrowusergroups2_sml.gif,images/icon_confirmsml.gif,images/icon_help_lrg.gif,images/icon_infosml.gif,images/icon_members_sml.gif,images/icon_sortleft.gif,images/icon_sortright.gif,images/icon_usergroups_sml.gif,images/icon_waste_lrg.gif,images/icon_waste_sml.gif,images/none.png,images/nw_maj.gif,images/nw_maj_hi.gif,images/nw_med.gif,images/nw_med_hi.gif,images/nw_med_rond.gif,images/nw_min.gif,images/nw_min_036.gif,images/nw_min_hi.gif,images/poweredby_036.gif,images/product_logo.gif,images/se_maj_rond.gif,images/sw_min.gif,images/logos/**
-maven.xdoc.copy.excludes.classic=images/external-classic.png,images/help_logo.gif,images/icon_arrowfolderclosed1_sml.gif,images/icon_arrowwaste1_sml.gif,images/icon_arrowwaste2_sml.gif,images/icon_doc_lrg.gif,images/icon_doc_sml.gif,images/icon_error_lrg.gif,images/icon_folder_lrg.gif,images/icon_folder_sml.gif,images/icon_help_sml.gif,images/icon_info_lrg.gif,images/icon_members_lrg.gif,images/icon_sortdown.gif,images/icon_sortup.gif,images/icon_success_lrg.gif,images/icon_usergroups_lrg.gif,images/icon_arrowfolderopen2_sml.gif,images/icon_warning_lrg.gif,images/newwindow-classic.png,images/nw_maj_rond.gif,images/strich.gif,images/sw_maj_rond.gif,images/sw_med_rond.gif
\ No newline at end of file
+maven.xdoc.copy.excludes.classic=images/external-classic.png,images/help_logo.gif,images/icon_arrowfolderclosed1_sml.gif,images/icon_arrowwaste1_sml.gif,images/icon_arrowwaste2_sml.gif,images/icon_doc_lrg.gif,images/icon_doc_sml.gif,images/icon_error_lrg.gif,images/icon_folder_lrg.gif,images/icon_folder_sml.gif,images/icon_help_sml.gif,images/icon_info_lrg.gif,images/icon_members_lrg.gif,images/icon_sortdown.gif,images/icon_sortup.gif,images/icon_success_lrg.gif,images/icon_usergroups_lrg.gif,images/icon_arrowfolderopen2_sml.gif,images/icon_warning_lrg.gif,images/newwindow-classic.png,images/nw_maj_rond.gif,images/strich.gif,images/sw_maj_rond.gif,images/sw_med_rond.gif



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]