Re: [commons-build] Thoughts on Navigation (client side includes).

2004-02-21 Thread robert burrell donkin
IIRC the main reason used to be lack of appropriate hardware. the ASF 
isn't rich and the website has to hosted on machines that the ASF 
either owns or has on long term loan. running apache on freeBSD allowed 
the ASF infrastructure guru's to host the apache website on a machine 
that (these days) could probably be bought for much less than $100 on 
ebay. (it really amazed me when i found out exactly how low spec 
daedalus was but then the ASF has some of the world's best apache httpd 
experts ;)

i believe that there's now a good chance that the ASF might be able to 
obtain more hardware on long term loan from sponsors that would allow a 
dedicated tomcat hosting machine to be installed. of course, 
experienced tomcat system admins would need to step up (AIUI including 
one in the bay area of california) before the ASF would sanction such a 
machine. these admins would also need to very familiar with securing 
linux.

for more information (and better, more authourative answers), i'd 
suggest subscribing to infrastructure.

- robert

On 20 Feb 2004, at 15:26, Mark R. Diggory wrote:

Yes, I always wondered why Jakarta wasn't actually run on its flagship 
product? I suspect it has to do with server capability being too low 
and load being too high.

-Mark

Emmanuel Bourg wrote:

Dumb question, why Jakarta doesn't use Tomcat  JSPs ? That would 
open some interesting solutions for content management.
Emmanuel
David Graham wrote:
-1 on using javascript for major site functionality such as 
navigation. Many users browse with js turned off and it's a major 
pain getting it to
work across all browsers.  IMO, Apache websites should be accessible 
to
all visitors.

David
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu
-
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]


cvs commit: jakarta-commons/dbcp/src/test/org/apache/commons/dbcp TestConnectionPool.java TestDelegatingConnection.java

2004-02-21 Thread dirkv
dirkv   2004/02/21 05:26:30

  Modified:dbcp/src/test/org/apache/commons/dbcp
TestConnectionPool.java
TestDelegatingConnection.java
  Log:
  Bugzilla Bug 26966: Connectionpool's connections always returns same
  = test is OK
  
  Revision  ChangesPath
  1.12  +13 -3 
jakarta-commons/dbcp/src/test/org/apache/commons/dbcp/TestConnectionPool.java
  
  Index: TestConnectionPool.java
  ===
  RCS file: 
/home/cvs/jakarta-commons/dbcp/src/test/org/apache/commons/dbcp/TestConnectionPool.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- TestConnectionPool.java   22 Dec 2003 14:58:39 -  1.11
  +++ TestConnectionPool.java   21 Feb 2004 13:26:30 -  1.12
  @@ -522,4 +522,14 @@
   stmt.close();
   conn.close();
   }
  +
  +// Bugzilla Bug 26966: Connectionpool's connections always returns same
  +public void testHashCode() throws Exception {
  +Connection conn1 = getConnection();
  +assertNotNull(conn1);
  +Connection conn2 = getConnection();
  +assertNotNull(conn2);
  +
  +assertTrue(conn1.hashCode() != conn2.hashCode());
  +}
   }
  
  
  
  1.5   +12 -4 
jakarta-commons/dbcp/src/test/org/apache/commons/dbcp/TestDelegatingConnection.java
  
  Index: TestDelegatingConnection.java
  ===
  RCS file: 
/home/cvs/jakarta-commons/dbcp/src/test/org/apache/commons/dbcp/TestDelegatingConnection.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TestDelegatingConnection.java 15 Oct 2003 19:53:30 -  1.4
  +++ TestDelegatingConnection.java 21 Feb 2004 13:26:30 -  1.5
  @@ -82,9 +82,11 @@
   
   private DelegatingConnection conn = null;
   private Connection delegateConn = null;
  +private Connection delegateConn2 = null;
   
   public void setUp() throws Exception {
   delegateConn = new TesterConnection(test, test);
  +delegateConn2 = new TesterConnection(test, test);
   conn = new DelegatingConnection(delegateConn);
   }
   
  @@ -93,10 +95,16 @@
   assertEquals(delegateConn,conn.getDelegate());
   }
   
  -public void testHashCode() {
  +public void testHashCodeEqual() {
   DelegatingConnection conn = new DelegatingConnection(delegateConn);
   DelegatingConnection conn2 = new DelegatingConnection(delegateConn);
   assertEquals(conn.hashCode(), conn2.hashCode());
  +}
  +
  +public void testHashCodeNotEqual() {
  +DelegatingConnection conn = new DelegatingConnection(delegateConn);
  +DelegatingConnection conn2 = new DelegatingConnection(delegateConn2);
  +assertTrue(conn.hashCode() != conn2.hashCode());
   }
   
   public void testEquals() {
  
  
  

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



DO NOT REPLY [Bug 26966] - Connectionpool's connections always returns same

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26966

Connectionpool's connections always returns same





--- Additional Comments From [EMAIL PROTECTED]  2004-02-21 13:31 ---
I have made a testcase: TestConnectionPool.testHashCode
http://cvs.apache.org/viewcvs.cgi/jakarta-commons/dbcp/src/test/org/apache/commons/dbcp/TestConnectionPool.java?rev=1.12view=auto

and it works for me.

Can you give me more info about your DBCP configuration,
and maybe a testcase showing the error.

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



DO NOT REPLY [Bug 26966] - Connectionpool's connections always returns same hashCode

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26966

Connectionpool's connections always returns same hashCode

[EMAIL PROTECTED] changed:

   What|Removed |Added

Summary|Connectionpool's connections|Connectionpool's connections
   |always returns same |always returns same hashCode

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



cvs commit: jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/io/read TestMappingActions.java

2004-02-21 Thread rdonkin
rdonkin 2004/02/21 05:39:06

  Modified:betwixt  Tag: REFACTORING-BRANCH_2004-01-13 project.xml
   betwixt/src/java/org/apache/commons/betwixt Tag:
REFACTORING-BRANCH_2004-01-13 XMLIntrospector.java
   betwixt/src/java/org/apache/commons/betwixt/io Tag:
REFACTORING-BRANCH_2004-01-13 BeanRuleSet.java
   betwixt/src/test/org/apache/commons/betwixt/introspection
Tag: REFACTORING-BRANCH_2004-01-13
TestDeclarativeIntrospection.java
   betwixt/src/test/org/apache/commons/betwixt/io/read Tag:
REFACTORING-BRANCH_2004-01-13
TestMappingActions.java
  Removed: betwixt/src/java/org/apache/commons/betwixt/io/read Tag:
REFACTORING-BRANCH_2004-01-13 BodyUpdateAction.java
  Log:
  Renamed BodyUpdateAction and simplified action mapping.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.32.2.2  +8 -0  jakarta-commons/betwixt/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons/betwixt/project.xml,v
  retrieving revision 1.32.2.1
  retrieving revision 1.32.2.2
  diff -u -r1.32.2.1 -r1.32.2.2
  --- project.xml   1 Feb 2004 13:48:27 -   1.32.2.1
  +++ project.xml   21 Feb 2004 13:39:06 -  1.32.2.2
  @@ -166,6 +166,14 @@
   /resource
   /resources
   /unitTest
  +resources
  +resource
  +directory${pom.build.unitTestSourceDirectory}/directory
  +includes
  +include**/*.betwixt/include
  +/includes
  +/resource
  +/resources
 /build
   
   /project
  
  
  
  No   revision
  No   revision
  1.27.2.10 +12 -6 
jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/XMLIntrospector.java
  
  Index: XMLIntrospector.java
  ===
  RCS file: 
/home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/XMLIntrospector.java,v
  retrieving revision 1.27.2.9
  retrieving revision 1.27.2.10
  diff -u -r1.27.2.9 -r1.27.2.10
  --- XMLIntrospector.java  8 Feb 2004 12:11:17 -   1.27.2.9
  +++ XMLIntrospector.java  21 Feb 2004 13:39:06 -  1.27.2.10
  @@ -820,14 +820,20 @@
 
   children[n].setUpdater( adder.getKeyUpdater() );
   children[n].setSingularPropertyType(  keyType );
  +if ( isPrimitiveType(keyType) ) {
  +children[n].setHollow(false);
  +}
   if ( getLog().isTraceEnabled() ) {
   getLog().trace( Key descriptor:  + children[n]);
   }   
   
   } else if ( value.equals( children[n].getLocalName() ) ) {
   
  -children[n].setUpdater( adder.getValueUpdater() );
  -children[n].setSingularPropertyType( valueType );
  +children[n].setUpdater( adder.getValueUpdater() );
  +children[n].setSingularPropertyType( valueType );
  +if ( isPrimitiveType( valueType) ) {
  +children[n].setHollow(false);
  +}
   if ( getLog().isTraceEnabled() ) { 
   getLog().trace( Value descriptor:  + children[n]);
   }
  
  
  
  No   revision
  No   revision
  1.16.2.5  +28 -93
jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanRuleSet.java
  
  Index: BeanRuleSet.java
  ===
  RCS file: 
/home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanRuleSet.java,v
  retrieving revision 1.16.2.4
  retrieving revision 1.16.2.5
  diff -u -r1.16.2.4 -r1.16.2.5
  --- BeanRuleSet.java  18 Jan 2004 22:25:22 -  1.16.2.4
  +++ BeanRuleSet.java  21 Feb 2004 13:39:06 -  1.16.2.5
  @@ -60,6 +60,7 @@
*/
   package org.apache.commons.betwixt.io;
   
  +import java.beans.IntrospectionException;
   import java.util.Map;
   
   import org.apache.commons.betwixt.BindingConfiguration;
  @@ -69,7 +70,7 @@
   import org.apache.commons.betwixt.digester.XMLIntrospectorHelper;
   import org.apache.commons.betwixt.expression.Context;
   import org.apache.commons.betwixt.io.read.BeanBindAction;
  -import org.apache.commons.betwixt.io.read.BodyUpdateAction;
  +import 

cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read SimpleTypeBindAction.java

2004-02-21 Thread rdonkin
rdonkin 2004/02/21 05:39:36

  Added:   betwixt/src/java/org/apache/commons/betwixt/io/read Tag:
REFACTORING-BRANCH_2004-01-13
SimpleTypeBindAction.java
  Log:
  Renamed BodyUpdateAction and simplified action mapping.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.1.2.1   +119 -0
jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/Attic/SimpleTypeBindAction.java
  
  
  
  

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



cvs commit: jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/introspection AddressBook.java

2004-02-21 Thread rdonkin
rdonkin 2004/02/21 05:39:53

  Added:   betwixt/src/test/org/apache/commons/betwixt/introspection
Tag: REFACTORING-BRANCH_2004-01-13 AddressBook.java
  Log:
  Renamed BodyUpdateAction and simplified action mapping.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.1.2.1   +96 -0 
jakarta-commons/betwixt/src/test/org/apache/commons/betwixt/introspection/Attic/AddressBook.java
  
  
  
  

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



DO NOT REPLY [Bug 26966] - Connectionpool's connections always returns same hashCode

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26966

Connectionpool's connections always returns same hashCode





--- Additional Comments From [EMAIL PROTECTED]  2004-02-21 13:41 ---
*** Bug 26907 has been marked as a duplicate of this bug. ***

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



cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read SimpleTypeBindAction.java

2004-02-21 Thread rdonkin
rdonkin 2004/02/21 06:22:15

  Modified:betwixt/src/java/org/apache/commons/betwixt/io/read Tag:
REFACTORING-BRANCH_2004-01-13
SimpleTypeBindAction.java
  Log:
  Removed some redundent code.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.1.2.2   +3 -21 
jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/Attic/SimpleTypeBindAction.java
  
  Index: SimpleTypeBindAction.java
  ===
  RCS file: 
/home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/Attic/SimpleTypeBindAction.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- SimpleTypeBindAction.java 21 Feb 2004 13:39:36 -  1.1.2.1
  +++ SimpleTypeBindAction.java 21 Feb 2004 14:22:15 -  1.1.2.2
  @@ -93,24 +93,6 @@
   Updater updater = childDescriptor.getUpdater();
   if (updater != null) {
   updater.update(context, text);
  -} else {
  -// this is a workaround to make the tests run
  -// it will be replaced when proper support for maps is added
  -List list =
  -IteratorUtils.toList(
  -context.getRelativeElementPathIterator());
  -if (list.size()  0) {
  -list.remove(list.size() - 1);
  -childDescriptor =
  -lastMappedClazzInfo
  -.getElementDescriptor()
  -.getElementDescriptor(
  -list.iterator());
  -updater = childDescriptor.getUpdater();
  -if (updater != null) {
  -updater.update(context, text);
  -}
  -}
   }
   }
   }
  
  
  

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



cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read SimpleTypeBindAction.java

2004-02-21 Thread rdonkin
rdonkin 2004/02/21 06:39:12

  Modified:betwixt/src/java/org/apache/commons/betwixt/io/read Tag:
REFACTORING-BRANCH_2004-01-13
SimpleTypeBindAction.java
  Log:
  Refactoring to simplify algorithm
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.1.2.3   +22 -19
jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/Attic/SimpleTypeBindAction.java
  
  Index: SimpleTypeBindAction.java
  ===
  RCS file: 
/home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/Attic/SimpleTypeBindAction.java,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  --- SimpleTypeBindAction.java 21 Feb 2004 14:22:15 -  1.1.2.2
  +++ SimpleTypeBindAction.java 21 Feb 2004 14:39:12 -  1.1.2.3
  @@ -80,22 +80,25 @@
   public void body(String text, ReadContext context) throws Exception {
   // add dyna-bean support!
   // probably refactoring needed
  -Class lastMappedClazz = context.getLastMappedClass();
  -if (lastMappedClazz != null) {
  -XMLBeanInfo lastMappedClazzInfo =
  -context.getXMLIntrospector().introspect(lastMappedClazz);
  -ElementDescriptor baseDescriptor =
  -lastMappedClazzInfo.getElementDescriptor();
  -ElementDescriptor childDescriptor =
  -baseDescriptor.getElementDescriptor(
  -context.getRelativeElementPathIterator());
  -if (childDescriptor != null) {
  -Updater updater = childDescriptor.getUpdater();
  -if (updater != null) {
  -updater.update(context, text);
  -}
  +Updater updater = getCurrentUpdater(context);
  +if (updater != null)
  +{
  +updater.update(context, text);
  +} else {
  +if (context.getLog().isDebugEnabled())
  +{
  +context.getLog().debug(No updater for simple type ' + 
context.getCurrentElement() + ');
   }
   }
  +}
  +
  +private Updater getCurrentUpdater(ReadContext context) throws Exception {
  +Updater result = null;
  +ElementDescriptor elementDescriptor = context.getCurrentDescriptor() ;
  +if (elementDescriptor != null) {
  +result = elementDescriptor.getUpdater();
  +}
  +return result;
   }
   
   }
  
  
  

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



cvs commit: jakarta-commons-sandbox/attributes NOTICE.txt LICENSE.txt

2004-02-21 Thread scolebourne
scolebourne2004/02/21 06:57:04

  Added:   attributes NOTICE.txt LICENSE.txt
  Log:
  Change to Apache License 2.0
  
  Revision  ChangesPath
  1.1  jakarta-commons-sandbox/attributes/NOTICE.txt
  
  Index: NOTICE.txt
  ===
  This product includes software developed by
  The Apache Software Foundation (http://www.apache.org/).
  
  
  
  1.5   +202 -56   jakarta-commons-sandbox/attributes/LICENSE.txt
  
  
  
  

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



cvs commit: jakarta-commons/commons-build NOTICE.txt

2004-02-21 Thread scolebourne
scolebourne2004/02/21 07:23:48

  Added:   commons-build NOTICE.txt
  Log:
  Change to Apache License 2.0
  
  Revision  ChangesPath
  1.1  jakarta-commons/commons-build/NOTICE.txt
  
  Index: NOTICE.txt
  ===
  This product includes software developed by
  The Apache Software Foundation (http://www.apache.org/).
  
  
  

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



cvs commit: jakarta-commons-sandbox/sandbox-build - New directory

2004-02-21 Thread scolebourne
scolebourne2004/02/21 08:05:04

  jakarta-commons-sandbox/sandbox-build - New directory

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



cvs commit: jakarta-commons-sandbox/sandbox-build project.xml LICENSE.txt commons-site.jsl NOTICE.txt incl_nav.xml project.properties.sample

2004-02-21 Thread scolebourne
scolebourne2004/02/21 08:05:12

  Added:   sandbox-build project.xml LICENSE.txt commons-site.jsl
NOTICE.txt incl_nav.xml project.properties.sample
  Log:
  Add shared sandbox build area
  
  Revision  ChangesPath
  1.1  jakarta-commons-sandbox/sandbox-build/project.xml
  
  Index: project.xml
  ===
  ?xml version=1.0 encoding=UTF-8?
  !--
 Copyright 2004 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.
  --
  project
pomVersion3/pomVersion
idcommons-sandbox-master/id
nameCommons Sandbox Master Maven POM/name
currentVersion1.0/currentVersion
packageorg.apache.commons.${pom.artifactId.substring(8)}.*/package

urlhttp://jakarta.apache.org/commons/sandbox/${pom.artifactId.substring(8)}/index.html/url
  
organization
  nameThe Apache Software Foundation/name
  urlhttp://jakarta.apache.org/url
  logohttp://jakarta.apache.org/images/jakarta-logo.gif/logo
/organization
logo/images/logo.jpg/logo

licenses
license
nameThe Apache Software License, Version 2.0/name
url/LICENSE.txt/url
distributionrepo/distribution
/license
/licenses
gumpRepositoryIdjakarta/gumpRepositoryId

  
issueTrackingUrlhttp://issues.apache.org/bugzilla//issueTrackingUrl

siteAddressjakarta.apache.org/siteAddress

siteDirectory/www/jakarta.apache.org/commons/sandbox/${pom.artifactId.substring(8)}//siteDirectory

distributionDirectory/www/jakarta.apache.org/builds/jakarta-commons-sandbox/${pom.artifactId.substring(8)}//distributionDirectory

repository
  connectionscm:cvs:pserver:[EMAIL 
PROTECTED]:/home/cvspublic:jakarta-commons-sandbox/${pom.artifactId.substring(8)}/connection
  
urlhttp://cvs.apache.org/viewcvs/jakarta-commons-sandbox/${pom.artifactId.substring(8)}//url
/repository

mailingLists
  mailingList
nameCommons Dev List/name
subscribe[EMAIL PROTECTED]/subscribe
unsubscribe[EMAIL PROTECTED]/unsubscribe
archivehttp://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]/archive
  /mailingList
  mailingList
nameCommons User List/name
subscribe[EMAIL PROTECTED]/subscribe
unsubscribe[EMAIL PROTECTED]/unsubscribe
archivehttp://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]/archive
  /mailingList
/mailingLists
  
build
  nagEmailAddress[EMAIL PROTECTED]/nagEmailAddress
  sourceDirectorysrc/java/sourceDirectory
  unitTestSourceDirectorysrc/test/unitTestSourceDirectory
  
  !-- Unit test classes --
  unitTest
includes
  include**/Test*.java/include
/includes
  /unitTest
  
  resources
includes
  include**/*.properties/include
/includes
  /resources
  
/build
  
reports
reportmaven-changelog-plugin/report
reportmaven-changes-plugin/report
!--
  reportmaven-checkstyle-plugin/report
  reportmaven-clover-plugin/report
  --
  reportmaven-developer-activity-plugin/report
  reportmaven-file-activity-plugin/report
  reportmaven-javadoc-plugin/report
!--
  reportmaven-jdepend-plugin/report
  reportmaven-junit-report-plugin/report
  reportmaven-jxr-plugin/report
  --
  reportmaven-license-plugin/report
  !--
  reportmaven-statcvs-plugin/report
  reportmaven-tasklist-plugin/report
  --
/reports
  /project
  
  
  
  1.1  jakarta-commons-sandbox/sandbox-build/LICENSE.txt
  
  Index: LICENSE.txt
  ===
  $Header: /home/cvs/jakarta-commons-sandbox/sandbox-build/LICENSE.txt,v 1.1 
2004/02/21 16:05:11 scolebourne Exp $
  $Revision: 1.1 $
  $Date: 2004/02/21 16:05:11 $
  
   Apache License
 Version 2.0, January 2004
  http://www.apache.org/licenses/
  
 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
  
 1. Definitions.
  
License shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
  
Licensor shall mean the copyright owner or entity authorized by
the copyright owner that is granting the 

cvs commit: jakarta-commons-sandbox/attributes project.properties project.xml

2004-02-21 Thread scolebourne
scolebourne2004/02/21 08:13:41

  Modified:attributes project.xml
  Added:   attributes/xdocs navigation.xml index.xml
   attributes project.properties
  Log:
  Update to new website design
  
  Revision  ChangesPath
  1.5   +42 -16jakarta-commons-sandbox/attributes/xdocs/navigation.xml
  
  
  
  
  1.4   +204 -26   jakarta-commons-sandbox/attributes/xdocs/index.xml
  
  
  
  
  1.11  +14 -2 jakarta-commons-sandbox/attributes/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/attributes/project.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- project.xml   19 Feb 2004 14:49:12 -  1.10
  +++ project.xml   21 Feb 2004 16:13:41 -  1.11
  @@ -17,7 +17,19 @@
   =
   --
   project
  -
  +  extend../sandbox-build/project.xml/extend
  +  nameAttributes/name
  +  idcommons-attributes/id
  +  
  +  logo!--/images/logo.png--/logo
  +  
  +  currentVersion2.0alpha/currentVersion
  +  inceptionYear2003/inceptionYear
  +  shortDescriptionCommons Attributes/shortDescription
  +  descriptionA package for handling runtime information about types (including 
Java classes)/description
  +  
  +
  +!-- REMOVED TO MAKE STANDARD BUILD
   pomVersion3/pomVersion
   groupIdcommons-attributes/groupId
   nameJakarta Commons Attributes/name
  @@ -56,7 +68,7 @@
   archivehttp://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]/archive
   /mailingList
   /mailingLists
  -
  +--
   developers
   developer
   nameLeo Sutic/name
  
  
  
  1.3   +76 -16jakarta-commons-sandbox/attributes/project.properties
  
  
  
  

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



cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read BeanBindAction.java ReadContext.java

2004-02-21 Thread rdonkin
rdonkin 2004/02/21 08:34:57

  Modified:betwixt/src/java/org/apache/commons/betwixt/io/read Tag:
REFACTORING-BRANCH_2004-01-13 BeanBindAction.java
ReadContext.java
  Log:
  Refactoring to simplify algorithm
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.1.2.4   +22 -143   
jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/Attic/BeanBindAction.java
  
  Index: BeanBindAction.java
  ===
  RCS file: 
/home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/Attic/BeanBindAction.java,v
  retrieving revision 1.1.2.3
  retrieving revision 1.1.2.4
  diff -u -r1.1.2.3 -r1.1.2.4
  --- BeanBindAction.java   26 Jan 2004 22:20:01 -  1.1.2.3
  +++ BeanBindAction.java   21 Feb 2004 16:34:57 -  1.1.2.4
  @@ -61,8 +61,6 @@
*/
   package org.apache.commons.betwixt.io.read;
   
  -import java.util.Iterator;
  -import java.util.List;
   import java.util.Map;
   
   import org.apache.commons.betwixt.AttributeDescriptor;
  @@ -71,7 +69,6 @@
   import org.apache.commons.betwixt.XMLBeanInfo;
   import org.apache.commons.betwixt.XMLIntrospector;
   import org.apache.commons.betwixt.expression.Updater;
  -import org.apache.commons.collections.IteratorUtils;
   import org.apache.commons.logging.Log;
   import org.xml.sax.Attributes;
   
  @@ -122,110 +119,31 @@
   update(context, instance);
   }
   
  -private void updateCurrentDescriptor(ReadContext context, Object value)
  -throws Exception {
  -ElementDescriptor childDescriptor = context.getCurrentDescriptor();
  -if (childDescriptor != null) {
  -Updater updater = childDescriptor.getUpdater();
  -if (updater != null) {
  -updater.update(context, value);
  -}
  -}
  -}
  -
   private void update(ReadContext context, Object value) throws Exception {
   Log log = context.getLog();
   boolean popped = false;
   //TODO: add dyna-bean support!
   // probably refactoring needed
  -Iterator relativePathIterator =
  -context.getRelativeElementPathIterator();
  -if (relativePathIterator.hasNext()) {
  -ElementDescriptor childDescriptor = context.getCurrentDescriptor();
  -if (childDescriptor != null) {
  -Updater updater = childDescriptor.getUpdater();
  -if (updater != null) {
  -updater.update(context, value);
  -} else {
  -// this is a workaround to make the tests run
  -// it will be replaced when proper support for maps is added
  -List list =
  -IteratorUtils.toList(
  -context.getRelativeElementPathIterator());
  -if (list.size()  0) {
  -list.remove(list.size() - 1);
  -XMLBeanInfo lastMappedClazzInfo =
  -context.getLastMappedClassXMLBeanInfo();
  -childDescriptor =
  -lastMappedClazzInfo
  -.getElementDescriptor()
  -.getElementDescriptor(
  -list.iterator());
  -updater = childDescriptor.getUpdater();
  -if (updater != null) {
  -
  -updater.update(context, value);
  -
  -} else {
  -
  -String poppedElement = context.popElement();
  -popped = true;
  -updateCurrentDescriptor(context, value);
  -}
  -
  -} else {
  -String poppedElement = context.popElement();
  -popped = true;
  -updateCurrentDescriptor(context, value);
  -}
  -}
  +
  +ElementDescriptor currentDescriptor = context.getCurrentDescriptor();
  +ElementDescriptor parentDescriptor = context.getParentElementDescriptor();
  +Updater updater = currentDescriptor.getUpdater();
  +if (updater == null) {
  +if (parentDescriptor != null) {
  +updater = parentDescriptor.getUpdater(); 
   }
  -} else {
  -// in here when we need to get hold of the parent class
  -String element = context.popElement();
  +String poppedElement = context.popElement();
   popped = true;
  -XMLBeanInfo lastMappedClazzInfo =
  -context.getLastMappedClassXMLBeanInfo();
  -if (lastMappedClazzInfo != 

cvs commit: jakarta-commons-sandbox/sandbox-build commons-site.jsl

2004-02-21 Thread scolebourne
scolebourne2004/02/21 08:42:49

  Modified:sandbox-build commons-site.jsl
  Log:
  Add sandbox specific css
  
  Revision  ChangesPath
  1.2   +1 -0  jakarta-commons-sandbox/sandbox-build/commons-site.jsl
  
  Index: commons-site.jsl
  ===
  RCS file: /home/cvs/jakarta-commons-sandbox/sandbox-build/commons-site.jsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- commons-site.jsl  21 Feb 2004 16:05:11 -  1.1
  +++ commons-site.jsl  21 Feb 2004 16:42:49 -  1.2
  @@ -59,6 +59,7 @@
 @import url(http://jakarta.apache.org/commons/style/tigris.css;);
 @import url(http://jakarta.apache.org/commons/style/maven.css;);
 @import url(http://jakarta.apache.org/commons/style/project.css;);
  +  @import url(http://jakarta.apache.org/commons/style/sandbox.css;);
   ]]/style
   
 
  
  
  

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



[all] Sandbox websites

2004-02-21 Thread Stephen Colebourne
I have created a sandbox-build folder in the sandbox which contains
equivalent files to commons-build but for the sandbox. We should start
keeping things a little more separate for the sandbox as I would suggest
having one repository refer to another isn't good practice.

I have also made the sandbox-build version reference an additional css file,
sandbox.css. Currently I have demonstrated the difference by updating the
attributes website. I'm sure people will have opinions on the colours.
http://jakarta.apache.org/commons/sandbox/attributes/index.html

If we are happy with this then other sandbox projects should refer to
sandbox-build too.

Stephen


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



cvs commit: jakarta-commons/commons-build project.xml

2004-02-21 Thread scolebourne
scolebourne2004/02/21 08:49:16

  Modified:commons-build project.xml
  Log:
  Fix deployment folder for website
  
  Revision  ChangesPath
  1.21  +1 -1  jakarta-commons/commons-build/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-commons/commons-build/project.xml,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- project.xml   19 Feb 2004 23:42:02 -  1.20
  +++ project.xml   21 Feb 2004 16:49:16 -  1.21
  @@ -27,7 +27,7 @@
 issueTrackingUrlhttp://issues.apache.org/bugzilla//issueTrackingUrl
 
 siteAddressjakarta.apache.org/siteAddress
  -  
siteDirectory/www/jakarta.apache.org/commons-mavenized/${pom.artifactId.substring(8)}//siteDirectory
  +  
siteDirectory/www/jakarta.apache.org/commons/${pom.artifactId.substring(8)}//siteDirectory
 
distributionDirectory/www/jakarta.apache.org/builds/jakarta-commons/${pom.artifactId.substring(8)}//distributionDirectory
 
 repository
  
  
  

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



cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read BeanBindAction.java SimpleTypeBindAction.java

2004-02-21 Thread rdonkin
rdonkin 2004/02/21 08:58:58

  Modified:betwixt/src/java/org/apache/commons/betwixt/io Tag:
REFACTORING-BRANCH_2004-01-13 BeanRuleSet.java
   betwixt/src/java/org/apache/commons/betwixt/io/read Tag:
REFACTORING-BRANCH_2004-01-13 BeanBindAction.java
SimpleTypeBindAction.java
  Log:
  Simplifications to body text update algorithm and removed unneeded imports.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.16.2.6  +5 -8  
jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanRuleSet.java
  
  Index: BeanRuleSet.java
  ===
  RCS file: 
/home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanRuleSet.java,v
  retrieving revision 1.16.2.5
  retrieving revision 1.16.2.6
  diff -u -r1.16.2.5 -r1.16.2.6
  --- BeanRuleSet.java  21 Feb 2004 13:39:06 -  1.16.2.5
  +++ BeanRuleSet.java  21 Feb 2004 16:58:58 -  1.16.2.6
  @@ -61,19 +61,16 @@
   package org.apache.commons.betwixt.io;
   
   import java.beans.IntrospectionException;
  -import java.util.Map;
   
   import org.apache.commons.betwixt.BindingConfiguration;
   import org.apache.commons.betwixt.ElementDescriptor;
  -import org.apache.commons.betwixt.XMLBeanInfo;
   import org.apache.commons.betwixt.XMLIntrospector;
  -import org.apache.commons.betwixt.digester.XMLIntrospectorHelper;
   import org.apache.commons.betwixt.expression.Context;
   import org.apache.commons.betwixt.io.read.BeanBindAction;
  -import org.apache.commons.betwixt.io.read.SimpleTypeBindAction;
   import org.apache.commons.betwixt.io.read.MappingAction;
   import org.apache.commons.betwixt.io.read.ReadConfiguration;
   import org.apache.commons.betwixt.io.read.ReadContext;
  +import org.apache.commons.betwixt.io.read.SimpleTypeBindAction;
   import org.apache.commons.digester.Digester;
   import org.apache.commons.digester.Rule;
   import org.apache.commons.digester.RuleSet;
  
  
  
  No   revision
  No   revision
  1.1.2.5   +18 -43
jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/Attic/BeanBindAction.java
  
  Index: BeanBindAction.java
  ===
  RCS file: 
/home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/Attic/BeanBindAction.java,v
  retrieving revision 1.1.2.4
  retrieving revision 1.1.2.5
  diff -u -r1.1.2.4 -r1.1.2.5
  --- BeanBindAction.java   21 Feb 2004 16:34:57 -  1.1.2.4
  +++ BeanBindAction.java   21 Feb 2004 16:58:58 -  1.1.2.5
  @@ -67,7 +67,6 @@
   import org.apache.commons.betwixt.ElementDescriptor;
   import org.apache.commons.betwixt.TextDescriptor;
   import org.apache.commons.betwixt.XMLBeanInfo;
  -import org.apache.commons.betwixt.XMLIntrospector;
   import org.apache.commons.betwixt.expression.Updater;
   import org.apache.commons.logging.Log;
   import org.xml.sax.Attributes;
  @@ -86,26 +85,26 @@
   public void body(String text, ReadContext context) throws Exception {
   Log log = context.getLog();
   // Take the first content descriptor
  -ElementDescriptor pathDescriptor = context.getCurrentDescriptor();
  -if (pathDescriptor == null) {
  +ElementDescriptor currentDescriptor = context.getCurrentDescriptor();
  +if (currentDescriptor == null) {
   if (log.isTraceEnabled()) {
   log.trace(path descriptor is null:);
   }
   } else {
  -ElementDescriptor typeDescriptor =
  -getElementDescriptor(
  -pathDescriptor,
  -context.getXMLIntrospector());
  -TextDescriptor descriptor =
  -typeDescriptor.getPrimaryBodyTextDescriptor();
  -if (descriptor != null) {
  +TextDescriptor bodyTextdescriptor =
  +currentDescriptor.getPrimaryBodyTextDescriptor();
  +if (bodyTextdescriptor != null) {
   if (log.isTraceEnabled()) {
   log.trace(Setting mixed content for:);
  -log.trace(descriptor);
  +log.trace(bodyTextdescriptor);
  +}
  +Updater updater = bodyTextdescriptor.getUpdater();
  +if (log.isTraceEnabled())
  +{
  +
  +log.trace(Updating mixed content with:);
  +log.trace(updater);
   }
  -Updater updater = descriptor.getUpdater();
  -log.trace(Updating mixed content with:);
  -log.trace(updater);
   if (updater != null  text != null) {
   updater.update(context, text);
   }
  @@ -151,30 +150,6 @@
   

cvs commit: jakarta-commons/validator/src/test/org/apache/commons/validator/util FlagsTest.java

2004-02-21 Thread rleland
rleland 2004/02/21 09:10:30

  Modified:validator LICENSE.txt
   validator/etc jsdoc.sh
   validator/src/example/org/apache/commons/validator/example
ValidateBean.java ValidateExample.java
   validator/src/share/org/apache/commons/validator Arg.java
Constant.java CreditCardValidator.java
DateValidator.java EmailValidator.java Field.java
Form.java FormSet.java GenericTypeValidator.java
GenericValidator.java Msg.java UrlValidator.java
Validator.java ValidatorAction.java
ValidatorException.java ValidatorResources.java
ValidatorResourcesInitializer.java
ValidatorResult.java ValidatorResults.java
ValidatorUtil.java Var.java
   validator/src/share/org/apache/commons/validator/util
Flags.java ValidatorUtils.java
   validator/src/test/org/apache/commons/validator
ByteTest.java CreditCardValidatorTest.java
DoubleTest.java EmailTest.java ExceptionTest.java
FieldTest.java FloatTest.java IntegerTest.java
LocaleTest.java LongTest.java
MultipleConfigFilesTest.java MultipleTests.java
NameBean.java RequiredIfTest.java
RequiredNameTest.java ShortTest.java
TestCommon.java TestNumber.java TestPair.java
TestTypeValidator.java TestValidator.java
TypeBean.java TypeTest.java UrlTest.java
ValidatorTest.java ValidatorTestSuite.java
ValueBean.java
   validator/src/test/org/apache/commons/validator/util
FlagsTest.java
  Log:
  Update to Apache License. 2.0 The ptyhon script worked 100 % on jav a code
  and only removed the #!/bin/sh on shell code, very nice !
  
  Revision  ChangesPath
  1.4   +15 -55jakarta-commons/validator/LICENSE.txt
  
  
http://cvs.apache.org/viewcvs/jakarta-commons/validator/LICENSE.txt.diff?r1=1.3r2=1.4
  
  
  1.3   +19 -1 jakarta-commons/validator/etc/jsdoc.sh
  
  
http://cvs.apache.org/viewcvs/jakarta-commons/validator/etc/jsdoc.sh.diff?r1=1.2r2=1.3
  
  
  1.4   +15 -55
jakarta-commons/validator/src/example/org/apache/commons/validator/example/ValidateBean.java
  
  
http://cvs.apache.org/viewcvs/jakarta-commons/validator/src/example/org/apache/commons/validator/example/ValidateBean.java.diff?r1=1.3r2=1.4
  
  
  1.17  +15 -55
jakarta-commons/validator/src/example/org/apache/commons/validator/example/ValidateExample.java
  
  
http://cvs.apache.org/viewcvs/jakarta-commons/validator/src/example/org/apache/commons/validator/example/ValidateExample.java.diff?r1=1.16r2=1.17
  
  
  1.17  +15 -55
jakarta-commons/validator/src/share/org/apache/commons/validator/Arg.java
  
  
http://cvs.apache.org/viewcvs/jakarta-commons/validator/src/share/org/apache/commons/validator/Arg.java.diff?r1=1.16r2=1.17
  
  
  1.10  +15 -55
jakarta-commons/validator/src/share/org/apache/commons/validator/Constant.java
  
  
http://cvs.apache.org/viewcvs/jakarta-commons/validator/src/share/org/apache/commons/validator/Constant.java.diff?r1=1.9r2=1.10
  
  
  1.16  +15 -55
jakarta-commons/validator/src/share/org/apache/commons/validator/CreditCardValidator.java
  
  
http://cvs.apache.org/viewcvs/jakarta-commons/validator/src/share/org/apache/commons/validator/CreditCardValidator.java.diff?r1=1.15r2=1.16
  
  
  1.6   +15 -55
jakarta-commons/validator/src/share/org/apache/commons/validator/DateValidator.java
  
  
http://cvs.apache.org/viewcvs/jakarta-commons/validator/src/share/org/apache/commons/validator/DateValidator.java.diff?r1=1.5r2=1.6
  
  
  1.12  +15 -55
jakarta-commons/validator/src/share/org/apache/commons/validator/EmailValidator.java
  
  
http://cvs.apache.org/viewcvs/jakarta-commons/validator/src/share/org/apache/commons/validator/EmailValidator.java.diff?r1=1.11r2=1.12
  
  
  1.31  +15 -55
jakarta-commons/validator/src/share/org/apache/commons/validator/Field.java
  
  
http://cvs.apache.org/viewcvs/jakarta-commons/validator/src/share/org/apache/commons/validator/Field.java.diff?r1=1.30r2=1.31
  
  
  1.14  +15 -55
jakarta-commons/validator/src/share/org/apache/commons/validator/Form.java
  
  
http://cvs.apache.org/viewcvs/jakarta-commons/validator/src/share/org/apache/commons/validator/Form.java.diff?r1=1.13r2=1.14
  
  
  1.15  +15 -55
jakarta-commons/validator/src/share/org/apache/commons/validator/FormSet.java
  
  
http://cvs.apache.org/viewcvs/jakarta-commons/validator/src/share/org/apache/commons/validator/FormSet.java.diff?r1=1.14r2=1.15
  
  
  1.13  +15 -55 

cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read MappingAction.java ReadConfiguration.java ReadContext.java

2004-02-21 Thread rdonkin
rdonkin 2004/02/21 09:20:06

  Modified:betwixt/src/java/org/apache/commons/betwixt/io Tag:
REFACTORING-BRANCH_2004-01-13 BeanRuleSet.java
   betwixt/src/java/org/apache/commons/betwixt/io/read Tag:
REFACTORING-BRANCH_2004-01-13 MappingAction.java
ReadConfiguration.java ReadContext.java
  Log:
  Factored out the operation of deciding which action should be performed next into a 
pluggable strategy and delegated decision to last action.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.16.2.7  +8 -23 
jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanRuleSet.java
  
  Index: BeanRuleSet.java
  ===
  RCS file: 
/home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/BeanRuleSet.java,v
  retrieving revision 1.16.2.6
  retrieving revision 1.16.2.7
  diff -u -r1.16.2.6 -r1.16.2.7
  --- BeanRuleSet.java  21 Feb 2004 16:58:58 -  1.16.2.6
  +++ BeanRuleSet.java  21 Feb 2004 17:20:06 -  1.16.2.7
  @@ -287,33 +287,18 @@
   throws Exception {
   
   MappingAction result = null;
  -if (context.currentMappingAction() == null)
  +MappingAction lastAction = context.currentMappingAction();
  +if (lastAction == null)
   {
   result =  BeanBindAction.INSTANCE;   
   } else {
   
  -result = createAction(name, context);
  +result = lastAction.next(namespace, name, attributes, context);
   }
   return result.begin(namespace, name, attributes, context);
   }
   
  -private MappingAction createAction(String name, ReadContext context)
  -throws Exception, IntrospectionException {
  -MappingAction result = MappingAction.EMPTY;
  -
  -ElementDescriptor activeDescriptor = context.getCurrentDescriptor();
  -if (activeDescriptor != null) {
  -if (activeDescriptor.isHollow())
  -{
  -result = BeanBindAction.INSTANCE;
  -}
  -else if (activeDescriptor.isSimple())
  -{
  -result = SimpleTypeBindAction.INSTANCE;
  -}
  -}
  -return result;
  -}
  +
   
   /**
 * @see Rule#body(String, String, String)
  
  
  
  No   revision
  No   revision
  1.1.2.3   +25 -7 
jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/Attic/MappingAction.java
  
  Index: MappingAction.java
  ===
  RCS file: 
/home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/Attic/MappingAction.java,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  --- MappingAction.java15 Jan 2004 20:21:21 -  1.1.2.2
  +++ MappingAction.java21 Feb 2004 17:20:06 -  1.1.2.3
  @@ -74,6 +74,14 @@
*/
   public abstract class MappingAction {
   
  +   
  +public abstract MappingAction next(
  +String namespace,
  +String name,
  +Attributes attributes,
  +ReadContext context)
  +throws Exception;
  +
   /**
* Executes mapping action on new element.
* @param namespace
  @@ -116,7 +124,17 @@
* @version $Revision$
*/
   public static class Base extends MappingAction {
  -
  +
  +public MappingAction next(
  +String namespace,
  +String name,
  +Attributes attributes,
  +ReadContext context)
  +throws Exception {   
  +
  +return context.getActionMappingStrategy().getMappingAction(namespace, 
name, attributes, context);
  +}
  +
   /* (non-Javadoc)
* @see 
org.apache.commons.betwixt.io.read.MappingAction#begin(java.lang.String, 
java.lang.String, org.xml.sax.Attributes, 
org.apache.commons.betwixt.io.read.ReadContext, 
org.apache.commons.betwixt.XMLIntrospector)
*/
  
  
  
  1.3.2.1   +17 -4 
jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/ReadConfiguration.java
  
  Index: ReadConfiguration.java
  ===
  RCS file: 
/home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/ReadConfiguration.java,v
  retrieving revision 1.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- ReadConfiguration.java9 Oct 2003 20:52:06 -   1.3
  +++ ReadConfiguration.java21 Feb 2004 17:20:06 -  1.3.2.1
  @@ -60,6 +60,8 @@
*/ 
   

cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy ActionMappingStrategy.java

2004-02-21 Thread rdonkin
rdonkin 2004/02/21 09:20:19

  Added:   betwixt/src/java/org/apache/commons/betwixt/strategy Tag:
REFACTORING-BRANCH_2004-01-13
ActionMappingStrategy.java
  Log:
  Factored out the operation of deciding which action should be performed next into a 
pluggable strategy and delegated decision to last action.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.1.2.1   +100 -0
jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/strategy/Attic/ActionMappingStrategy.java
  
  
  
  

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



Re: [all] Sandbox websites

2004-02-21 Thread David Graham
Bright purple doesn't exactly inspire confidence in the quality of the
projects :-).  If that was changed to a more subdued color, I would be
happy to use it in sandbox projects I work on.

David

--- Stephen Colebourne [EMAIL PROTECTED] wrote:
 I have created a sandbox-build folder in the sandbox which contains
 equivalent files to commons-build but for the sandbox. We should start
 keeping things a little more separate for the sandbox as I would suggest
 having one repository refer to another isn't good practice.
 
 I have also made the sandbox-build version reference an additional css
 file,
 sandbox.css. Currently I have demonstrated the difference by updating
 the
 attributes website. I'm sure people will have opinions on the colours.
 http://jakarta.apache.org/commons/sandbox/attributes/index.html
 
 If we are happy with this then other sandbox projects should refer to
 sandbox-build too.
 
 Stephen
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


__
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

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



RE: [all] Sandbox websites

2004-02-21 Thread Gary Gregory
Colors... SANDbox - yellow-ish? Or a color that says use but consider a
work in progress, which perhaps is still yellow-ish since IRL construction
things are well, yellow (and black).
;-)
gg

 -Original Message-
 From: Stephen Colebourne [mailto:[EMAIL PROTECTED]
 Sent: Saturday, February 21, 2004 08:55
 To: Jakarta Commons Developers List
 Subject: [all] Sandbox websites
 
 I have created a sandbox-build folder in the sandbox which contains
 equivalent files to commons-build but for the sandbox. We should start
 keeping things a little more separate for the sandbox as I would suggest
 having one repository refer to another isn't good practice.
 
 I have also made the sandbox-build version reference an additional css
 file,
 sandbox.css. Currently I have demonstrated the difference by updating the
 attributes website. I'm sure people will have opinions on the colours.
 http://jakarta.apache.org/commons/sandbox/attributes/index.html
 
 If we are happy with this then other sandbox projects should refer to
 sandbox-build too.
 
 Stephen
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read MappingAction.java SimpleTypeBindAction.java

2004-02-21 Thread rdonkin
rdonkin 2004/02/21 09:32:39

  Modified:betwixt/src/java/org/apache/commons/betwixt/io/read Tag:
REFACTORING-BRANCH_2004-01-13 MappingAction.java
SimpleTypeBindAction.java
  Log:
  Made simple type actions ignore sub graph.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.1.2.4   +28 -6 
jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/Attic/MappingAction.java
  
  Index: MappingAction.java
  ===
  RCS file: 
/home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/Attic/MappingAction.java,v
  retrieving revision 1.1.2.3
  retrieving revision 1.1.2.4
  diff -u -r1.1.2.3 -r1.1.2.4
  --- MappingAction.java21 Feb 2004 17:20:06 -  1.1.2.3
  +++ MappingAction.java21 Feb 2004 17:32:39 -  1.1.2.4
  @@ -117,6 +117,28 @@
   
   public static final MappingAction EMPTY = new MappingAction.Base();
   
  +public static final MappingAction IGNORE = new MappingAction.Ignore();
  +
  +private static final class Ignore extends MappingAction {
  +
  +public MappingAction next(String namespace, String name, Attributes 
attributes, ReadContext context) throws Exception {
  +return this;
  +}
  +
  +public MappingAction begin(String namespace, String name, Attributes 
attributes, ReadContext context) throws Exception {
  +return this;
  +}
  +
  +public void body(String text, ReadContext context) throws Exception {
  +// do nothing
  +}
  +
  +public void end(ReadContext context) throws Exception {
  +// do nothing
  +}
  +
  +}
  +
   /**
* Basic action.
* 
  
  
  
  1.1.2.5   +17 -5 
jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/Attic/SimpleTypeBindAction.java
  
  Index: SimpleTypeBindAction.java
  ===
  RCS file: 
/home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/Attic/SimpleTypeBindAction.java,v
  retrieving revision 1.1.2.4
  retrieving revision 1.1.2.5
  diff -u -r1.1.2.4 -r1.1.2.5
  --- SimpleTypeBindAction.java 21 Feb 2004 16:58:58 -  1.1.2.4
  +++ SimpleTypeBindAction.java 21 Feb 2004 17:32:39 -  1.1.2.5
  @@ -63,6 +63,7 @@
   
   import org.apache.commons.betwixt.ElementDescriptor;
   import org.apache.commons.betwixt.expression.Updater;
  +import org.xml.sax.Attributes;
   
   /** 
 * Action binds a simple type.
  @@ -73,6 +74,8 @@
   
   public static final SimpleTypeBindAction INSTANCE = new SimpleTypeBindAction();
   
  +
  +
   public void body(String text, ReadContext context) throws Exception {
   // add dyna-bean support!
   // probably refactoring needed
  @@ -95,6 +98,15 @@
   result = elementDescriptor.getUpdater();
   }
   return result;
  +}
  +
  +public MappingAction next(
  +String namespace,
  +String name,
  +Attributes attributes,
  +ReadContext context)
  +throws Exception {
  +return MappingAction.IGNORE;
   }
   
   }
  
  
  

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



[HttpClient] Moving to Jakarta

2004-02-21 Thread Michael Becke
Below is a message I recently posted to commons-httpclient-dev.  The 
input of other commons developers would be greatly appreciated.  I look 
forward to hearing from you.

Thanks,

Mike

Original Message:

Now that 2.0 has been released I think it's time to again discuss 
moving HttpClient to a Jakarta level project.  As suggested by Martin 
Cooper I suggest that we proceed as follows:

1) Continue discussing the move for the next few days (perhaps a week) 
until we are sure this is what we want.
2) Have an official vote on the move.

and assuming we vote to move...

3) Submit a proposal to the Jakarta PMC.
4) Move to Jakarta with help from the PMC.
If anyone has an questions, doubts, or suggestions please bring them up 
now.  Also, any help with the format and content of the proposal to the 
PMC would be greatly appreciated.

Mike

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


Re: [all] Sandbox websites

2004-02-21 Thread Henri Yandell

Any reason not to name it commons-build, so that a sandbox project will
automatically migrate to the commons look and feel when it is moved to the
other directory?

Hen

On Sat, 21 Feb 2004, Stephen Colebourne wrote:

 I have created a sandbox-build folder in the sandbox which contains
 equivalent files to commons-build but for the sandbox. We should start
 keeping things a little more separate for the sandbox as I would suggest
 having one repository refer to another isn't good practice.

 I have also made the sandbox-build version reference an additional css file,
 sandbox.css. Currently I have demonstrated the difference by updating the
 attributes website. I'm sure people will have opinions on the colours.
 http://jakarta.apache.org/commons/sandbox/attributes/index.html

 If we are happy with this then other sandbox projects should refer to
 sandbox-build too.

 Stephen


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



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



DO NOT REPLY [Bug 27135] New: - SimpleLog log method should defer writing for better reuse!

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27135

SimpleLog log method should defer writing for better reuse!

   Summary: SimpleLog log method should defer writing for better
reuse!
   Product: Commons
   Version: 1.0 Alpha
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Enhancement
  Priority: Other
 Component: Logging
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


SimpleLog 'log' method which performs the actual log write to System.err should 
be refactored to instead call a 'doWrite' method which commits the log message 
to the stream.  This would allow subclasses to reuse the bulk of the SimpleLog 
logic but direct the output elsewhere (in my case, for instance, a GUI log 
window).  This change is too trivial to mandate a full patch, here is a pseudo 
patch:

/**
 * p Do the actual logging.
 * This method assembles the message
 * and then prints to codeSystem.err/code./p
 */
 protected void log(int type, Object message, Throwable t) {
   ...
   // print to System.err
-  System.err.println(buf.toString());
+  doWrite(buf);
 }

+ /** Subclasses can easily override this */
+ protected void doWrite(StringBuffer buf) {
+   System.err.println(buf);
+ }

Without this patch, the only current solution is reuse by cutting-and-pasting 
the entire 'log' method and changing the single System.err line :(

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



cvs commit: jakarta-commons/math/src/test/org/apache/commons/math/util BeanTransformer.java BeanTransformerTest.java ContinuedFractionTest.java ContractableDoubleArrayTest.java DefaultTransformerTest.java DoubleArrayAbstractTest.java ExpandableDoubleArrayTest.java FixedDoubleArrayTest.java MathUtilsTest.java TestBean.java TransformerMapTest.java

2004-02-21 Thread psteitz
psteitz 2004/02/21 13:35:18

  Modified:math/src/java/org/apache/commons/math/analysis
UnivariateRealFunction.java
UnivariateRealInterpolator.java
UnivariateRealSolver.java
UnivariateRealSolverFactory.java
UnivariateRealSolverFactoryImpl.java
UnivariateRealSolverImpl.java
UnivariateRealSolverUtils.java
   math/src/java/org/apache/commons/math/complex Complex.java
ComplexFormat.java ComplexMath.java
   math/src/java/org/apache/commons/math/distribution
AbstractContinuousDistribution.java
AbstractDiscreteDistribution.java
BinomialDistribution.java
BinomialDistributionImpl.java
ChiSquaredDistribution.java
ChiSquaredDistributionImpl.java
ContinuousDistribution.java
DiscreteDistribution.java DistributionFactory.java
DistributionFactoryImpl.java
ExponentialDistribution.java
ExponentialDistributionImpl.java FDistribution.java
FDistributionImpl.java GammaDistribution.java
GammaDistributionImpl.java
HypergeometricDistribution.java
HypergeometricDistributionImpl.java
NormalCDFAlgorithm.java NormalCDFFastAlgorithm.java
NormalCDFPreciseAlgorithm.java
NormalDistribution.java NormalDistributionImpl.java
TDistribution.java TDistributionImpl.java
   math/src/java/org/apache/commons/math/random
EmpiricalDistribution.java
EmpiricalDistributionImpl.java RandomData.java
RandomDataImpl.java ValueServer.java
   math/src/java/org/apache/commons/math/special Gamma.java
   math/src/java/org/apache/commons/math/stat
AbstractDescriptiveStatistics.java
BivariateRegression.java DescriptiveStatistics.java
DescriptiveStatisticsImpl.java Frequency.java
StatUtils.java StatisticalSummary.java
SummaryStatistics.java SummaryStatisticsImpl.java
TestStatistic.java TestStatisticImpl.java
   math/src/java/org/apache/commons/math/stat/univariate
AbstractStorelessUnivariateStatistic.java
AbstractUnivariateStatistic.java
StorelessUnivariateStatistic.java
UnivariateStatistic.java
   math/src/java/org/apache/commons/math/stat/univariate/moment
FirstMoment.java FourthMoment.java
GeometricMean.java Kurtosis.java Mean.java
SecondMoment.java Skewness.java
StandardDeviation.java ThirdMoment.java
Variance.java
   math/src/java/org/apache/commons/math/stat/univariate/rank
Max.java Median.java Min.java Percentile.java
   math/src/java/org/apache/commons/math/stat/univariate/summary
Product.java Sum.java SumOfLogs.java
SumOfSquares.java
   math/src/java/org/apache/commons/math/util
ContinuedFraction.java ContractableDoubleArray.java
DefaultTransformer.java DoubleArray.java
ExpandableDoubleArray.java FixedDoubleArray.java
MathUtils.java NumberTransformer.java
TransformerMap.java
   math/src/test/org/apache/commons/math
MathConfigurationExceptionTest.java
MathExceptionTest.java TestUtils.java
   math/src/test/org/apache/commons/math/analysis
QuinticFunction.java RealSolverTest.java
SinFunction.java UnivariateRealSolverUtilsTest.java
   math/src/test/org/apache/commons/math/beans Patient.java
VitalStats.java
   math/src/test/org/apache/commons/math/complex
ComplexFormatTest.java ComplexMathTest.java
ComplexTest.java
   math/src/test/org/apache/commons/math/distribution
BinomialDistributionTest.java
ChiSquareDistributionTest.java
DistributionFactoryImplTest.java
ExponentialDistributionTest.java
FDistributionTest.java GammaDistributionTest.java
 

cvs commit: jakarta-commons/validator LICENSE.txt

2004-02-21 Thread dgraham
dgraham 2004/02/21 15:04:08

  Modified:validator LICENSE.txt
  Log:
  Replaced boilerplate with actual copyright years and ASF identification.
  
  Revision  ChangesPath
  1.5   +4 -4  jakarta-commons/validator/LICENSE.txt
  
  Index: LICENSE.txt
  ===
  RCS file: /home/cvs/jakarta-commons/validator/LICENSE.txt,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- LICENSE.txt   21 Feb 2004 17:10:29 -  1.4
  +++ LICENSE.txt   21 Feb 2004 23:04:08 -  1.5
  @@ -4,7 +4,7 @@
* $Date$
*
* 
  - * Copyright [] [name of copyright owner]
  + * Copyright 2000-2004 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.
  
  
  

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



cvs commit: jakarta-commons-sandbox/feedparser/src/java/org/apache/commons/feedparser MetaFeedParserListener.java

2004-02-21 Thread burton
burton  2004/02/21 20:07:31

  Modified:feedparser/src/java/org/apache/commons/feedparser
MetaFeedParserListener.java
  Log:
  documentation for onCreated
  
  Revision  ChangesPath
  1.2   +35 -4 
jakarta-commons-sandbox/feedparser/src/java/org/apache/commons/feedparser/MetaFeedParserListener.java
  
  Index: MetaFeedParserListener.java
  ===
  RCS file: 
/home/cvs/jakarta-commons-sandbox/feedparser/src/java/org/apache/commons/feedparser/MetaFeedParserListener.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MetaFeedParserListener.java   18 Feb 2004 20:05:20 -  1.1
  +++ MetaFeedParserListener.java   22 Feb 2004 04:07:31 -  1.2
  @@ -77,16 +77,44 @@
   public void onCopyrightEnd() throws FeedParserException;
   
   /**
  + * 
  + * --- ATOM SUPPORT ---
  + * 
  + * The atom:created element's content indicates the time that the entry
  + * was created. Entries MAY contain an atom:created element, but MUST NOT
  + * contain more than one. When this element is present, its content MUST be
  + * a W3C Date-Time string [[ref]]. The date SHOULD be expressed in the UTC
  + * time zone [[reword?]].
  + * 
  + * If atom:created is not present, CONSUMERS MUST consider its value to be
  + * the same as that of atom:modified.
  + * 
* 
http://www.mnot.net/drafts/draft-nottingham-atom-format-00.html#rfc.section.3.2.8
*
  + * --- RSS 2.0 SUPPORT ---
  + *
  + * pubDate is an optional sub-element of item.
  + * 
  + * Its value is a date, indicating when the item was published. If it's a
  + * date in the future, aggregators may choose to not display the item until
  + * that date.
  + * 
  + * pubDateSun, 19 May 2002 15:21:36 GMT/pubDate
  + * 
  + * http://feedvalidator.org/docs/rss2.html#ltpubdategtSubelementOfLtitemgt
  + * 
  + * --- RSS 1.0 SUPPORT ---
  + * 
  + * dc:date
  + * 
  + * http://www.w3.org/TR/NOTE-datetime
  + * http://web.resource.org/rss/1.0/modules/dc/
  + *  
* @author a href=mailto:[EMAIL PROTECTED]Kevin Burton/a
*/
   public void onCreated( FeedParserState state, Date date ) throws 
FeedParserException;
   public void onCreatedEnd() throws FeedParserException;
   
  -public void onSubject( FeedParserState state, String content ) throws 
FeedParserException;
  -public void onSubjectEnd() throws FeedParserException;
  -
   /**
* 
http://www.mnot.net/drafts/draft-nottingham-atom-format-00.html#rfc.section.3.2.7
*
  @@ -94,6 +122,9 @@
*/
   public void onIssued( FeedParserState state, String content ) throws 
FeedParserException; 
   public void onIssuedEnd() throws FeedParserException;
  +
  +public void onSubject( FeedParserState state, String content ) throws 
FeedParserException;
  +public void onSubjectEnd() throws FeedParserException;
   
   }
   
  
  
  

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



[GUMP@lsd]: jelly-tags/commons-jelly-tags-junit failed

2004-02-21 Thread Morgan Delagrange
To whom it may engage...

This is an automated request, but not an unsolicited one. For help understanding the 
request please visit http://jakarta.apache.org/gump/nagged.html, and/or contact [EMAIL 
PROTECTED]

Project commons-jelly-tags-junit has an issue affecting it's community integration. 
This issue affects 29 projects, and has been outstanding for 8 runs. The current state 
is 'Failed', for reason 'Build Failed'

Full details are available at: 
http://lsd.student.utwente.nl/gump/jelly-tags/commons-jelly-tags-junit.html, however 
some snippets follow:

-  -  -  -  - -- --  G U M P

Gump provided these annotations:

 - Info - Sole jar 
[/data3/gump/jelly-tags/junit/target/commons-jelly-tags-junit-20040222.jar] identifier 
set to project name
 - Error - Failed with reason build failed


-  -  -  -  - -- --  G U M P
Gump performed this work:

Work Name: build_jelly-tags_commons-jelly-tags-junit (Type: Build)
State: Failed
Elapsed: 0 hours, 0 minutes, 10 seconds
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/data3/gump/xml-xerces2/java/build/xercesImpl.jar:/data3/gump/xml-xerces2/java/build/xmlParserAPIs.jar
 org.apache.tools.ant.Main -Dbuild.clonevm=true 
-Dgump.merge=/data3/gump/gump/work/merge.xml -Dbuild.sysclasspath=only 
-Dfinal.name=commons-jelly-tags-junit-20040222 jar 
[Working Directory: /data3/gump/jelly-tags/junit]
-
[junit] 
[junit] The exception was: 
file:/data3/gump/jelly-tags/junit/target/test-classes/org/apache/commons/jelly/tags/junit/suite.jelly:31:-1:
 lt;test:failgt; 
file:/data3/gump/jelly-tags/junit/target/test-classes/org/apache/commons/jelly/tags/junit/suite.jelly:31:-1:
 lt;test:failgt; This should always fail
[junit]   
[junit] 
[junit] The exception was: 
file:/data3/gump/jelly-tags/junit/target/test-classes/org/apache/commons/jelly/tags/junit/suite.jelly:47:-1:
 lt;test:assertEqualsgt; 
file:/data3/gump/jelly-tags/junit/target/test-classes/org/apache/commons/jelly/tags/junit/suite.jelly:47:-1:
 lt;test:assertEqualsgt; This should always fail expected:[def] but was:[abc]
[junit] Expected expression: def
[junit] Actual expression: ${foo}   
[junit]   Tests run: 4, Failures: 0, Errors: 1, Time elapsed: 0.314 sec
[junit] Testsuite: org.apache.commons.jelly.tags.junit.TestJUnit
[junit] Tests run: 4, Failures: 0, Errors: 1, Time elapsed: 0.314 sec
[junit] - Standard Error -
[junit] Feb 22, 2004 4:49:14 AM 
org.apache.commons.jelly.tags.junit.AssertThrowsTag getThrowableClass
[junit] WARNING: The class: java.lang.Class is not an Exception class.
[junit] Feb 22, 2004 4:49:14 AM 
org.apache.commons.jelly.tags.junit.AssertThrowsTag getThrowableClass
[junit] WARNING: Could not find exception class: foo.bar.Baz
[junit] -  ---

[junit] Testcase: assertTests took 0.123 sec
[junit] Testcase: failTests took 0.02 sec
[junit] Testcase: assertEqualTests took 0.02 sec
[junit] Testcase: assertThrowsTests took 0.111 sec
[junit] Caused an ERROR
[junit] 
file:/data3/gump/jelly-tags/junit/target/test-classes/org/apache/commons/jelly/tags/junit/suite.jelly:103:-1:
 test:assert 
file:/data3/gump/jelly-tags/junit/target/test-classes/org/apache/commons/jelly/tags/junit/suite.jelly:103:-1:
 test:assert columnNumber not set. Assertion failed while evaluating test: 
${ex.columnNumber gt 0}
[junit] org.apache.commons.jelly.JellyTagException: 
file:/data3/gump/jelly-tags/junit/target/test-classes/org/apache/commons/jelly/tags/junit/suite.jelly:103:-1:
 test:assert 
file:/data3/gump/jelly-tags/junit/target/test-classes/org/apache/commons/jelly/tags/junit/suite.jelly:103:-1:
 test:assert columnNumber not set. Assertion failed while evaluating test: 
${ex.columnNumber gt 0}
[junit] at 
org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:707)
[junit] at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:296)
[junit] at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
[junit] at 
org.apache.commons.jelly.tags.junit.CaseTag$1.runTest(CaseTag.java:105)
[junit] Caused by: org.apache.commons.jelly.tags.junit.JellyAssertionFailedError: 
file:/data3/gump/jelly-tags/junit/target/test-classes/org/apache/commons/jelly/tags/junit/suite.jelly:103:-1:
 test:assert columnNumber not set. Assertion failed while evaluating test: 
${ex.columnNumber gt 0}
[junit] at 
org.apache.commons.jelly.tags.junit.AssertTagSupport.fail(AssertTagSupport.java:85)
[junit] at 
org.apache.commons.jelly.tags.junit.AssertTagSupport.fail(AssertTagSupport.java:96)
[junit] at 
org.apache.commons.jelly.tags.junit.AssertTag.doTag(AssertTag.java:104)
[junit] at 

[dbcp] Lessons learned from another connection pool

2004-02-21 Thread Kenneth Corbin
I wrote my own connection pool, that I thought was pretty cool, but that was 
before I started looking at jakarta commons products.  Now it looks pretty 
pathetic compared to dbcp, but I did learn a couple things from it that might 
you might not have covered.

The big gotcha was the need to rollback any uncommited transactions before 
returning a connection to the pool.  I didn't do that originally, and sure 
that my best theory as to why we were experiencing unpredictable database 
deadlocks.  Someone released a connection with an uncommitted transaction, I 
stuck it back in the pool with locks still pending, and everyone else piled 
up behind them.  I didn't see anything in the PoolableConnection class that 
looked like you were calling rollback before returning a connection to the 
pool, but it could easily be somewhere else.

An earlier discovery is that when we loose a network connection to an Oracle 
database.  The first symptom is that an attempt to reset the autocommit 
status threw an exception.   That might be something you want to try in the 
validate method if a validation string hasn't been specified.

Featurewise, mine will pool prepared statements accross a close.   As best I 
can tell, dbcp really closes pooled statements when the the user closes the 
connection and they have to be rebuilt the next time a connection is 
allocated from the pool.  I would probably be a nice idea to at least have 
the option to keep the statement pool from one connection allocation to the 
next.


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



Moving to Jakarta

2004-02-21 Thread Michael Becke
Now that 2.0 has been released I think it's time to again discuss 
moving HttpClient to a Jakarta level project.  As suggested by Martin 
Cooper I suggest that we proceed as follows:

1) Continue discussing the move for the next few days (perhaps a week) 
until we are sure this is what we want.
2) Have an official vote on the move.

and assuming we vote to move...

3) Submit a proposal to the Jakarta PMC.
4) Move to Jakarta with help from the PMC.
If anyone has an questions, doubts, or suggestions please bring them up 
now.  Also, any help with the format and content of the proposal to the 
PMC would be greatly appreciated.

Mike

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


Re: Moving to Jakarta

2004-02-21 Thread Oleg Kalnichevski
Folks,
Shall we also keep the rest of the Commons community in the loop?
Firstly, I believe they should have a say in the decision making
process. Secondly, we can expect more help from the wider audience, at
least in terms of better guidance, should the move be approved.

What do you think?

Oleg

On Sat, 2004-02-21 at 17:57, Michael Becke wrote:
 Now that 2.0 has been released I think it's time to again discuss 
 moving HttpClient to a Jakarta level project.  As suggested by Martin 
 Cooper I suggest that we proceed as follows:
 
 1) Continue discussing the move for the next few days (perhaps a week) 
 until we are sure this is what we want.
 2) Have an official vote on the move.
 
 and assuming we vote to move...
 
 3) Submit a proposal to the Jakarta PMC.
 4) Move to Jakarta with help from the PMC.
 
 If anyone has an questions, doubts, or suggestions please bring them up 
 now.  Also, any help with the format and content of the proposal to the 
 PMC would be greatly appreciated.
 
 Mike
 
 
 -
 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: Moving to Jakarta

2004-02-21 Thread Michael Becke
I agree.  I will post a similar message to commons-dev.

Mike

On Feb 21, 2004, at 12:40 PM, Oleg Kalnichevski wrote:

Folks,
Shall we also keep the rest of the Commons community in the loop?
Firstly, I believe they should have a say in the decision making
process. Secondly, we can expect more help from the wider audience, at
least in terms of better guidance, should the move be approved.
What do you think?

Oleg

On Sat, 2004-02-21 at 17:57, Michael Becke wrote:
Now that 2.0 has been released I think it's time to again discuss
moving HttpClient to a Jakarta level project.  As suggested by Martin
Cooper I suggest that we proceed as follows:
1) Continue discussing the move for the next few days (perhaps a week)
until we are sure this is what we want.
2) Have an official vote on the move.
and assuming we vote to move...

3) Submit a proposal to the Jakarta PMC.
4) Move to Jakarta with help from the PMC.
If anyone has an questions, doubts, or suggestions please bring them 
up
now.  Also, any help with the format and content of the proposal to 
the
PMC would be greatly appreciated.

Mike

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


Hi all,302

2004-02-21 Thread Emre Sokullu
Hi all,

When  a client request return https status code 302; HttpClient, instead of
following the document, shows an informative page.

How can I deal with this, and show directly the page. Ideas, suggestions??




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