You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ma...@apache.org on 2003/12/03 22:03:00 UTC

cvs commit: jakarta-commons-sandbox/sql/src/java/org/apache/commons/sql/type TypesWriter.java

matth       2003/12/03 13:03:00

  Modified:    sql      project.xml
               sql/src/java/org/apache/commons/sql/io DatabaseWriter.java
               sql/src/java/org/apache/commons/sql/type TypesWriter.java
  Log:
  Replaced some dependencies - jelly-SNAPSHOT switched to latest version, xerces moved back to 2.4 from 2.5 since the latest isn't on ibiblio.  Removed some deprecated refs to method in betwixt.  Added self as project developer.
  
  Revision  Changes    Path
  1.14      +8 -6      jakarta-commons-sandbox/sql/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/sql/project.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- project.xml	18 Nov 2003 23:19:13 -0000	1.13
  +++ project.xml	3 Dec 2003 21:03:00 -0000	1.14
  @@ -71,6 +71,12 @@
         <organization>SpiritSoft, Inc.</organization>
       </developer>
   
  +    <developer>
  +      <name>Matthew Hawthorne</name>
  +      <id>matth</id>
  +      <email>matth@apache.org</email>
  +    </developer>
  +
     </developers>
   
   
  @@ -98,10 +104,6 @@
   
       <dependency>
         <id>commons-collections</id>
  -      <!--
  -      <version>2.1-dev</version>
  -      <version>SNAPSHOT</version>
  -      -->
         <version>3.0-dev</version>
       </dependency>
   
  @@ -117,7 +119,7 @@
   
       <dependency>
         <id>commons-jelly</id>
  -      <version>SNAPSHOT</version>
  +      <version>20030902.160215</version>
       </dependency>
   
       <dependency>
  @@ -149,7 +151,7 @@
   
       <dependency>
         <id>xerces</id>
  -      <version>2.5.0</version>
  +      <version>2.4.0</version>
       </dependency>
   
       <!-- database used for testing -->
  
  
  
  1.4       +2 -4      jakarta-commons-sandbox/sql/src/java/org/apache/commons/sql/io/DatabaseWriter.java
  
  Index: DatabaseWriter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/sql/src/java/org/apache/commons/sql/io/DatabaseWriter.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DatabaseWriter.java	13 Oct 2003 08:30:13 -0000	1.3
  +++ DatabaseWriter.java	3 Dec 2003 21:03:00 -0000	1.4
  @@ -56,10 +56,7 @@
    * individuals on behalf of the Apache Software Foundation.  For more
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
  - * 
  - * $Id$
    */
  -
   package org.apache.commons.sql.io;
   
   import java.io.OutputStream;
  @@ -71,6 +68,7 @@
    * This class outputs a fully populated Database bean as XML.
    * 
    * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
  + * @author Matthew Hawthorne
    * @version $Revision$
    */
   public class DatabaseWriter extends BeanWriter {
  @@ -91,6 +89,6 @@
       private void init() {
           setXMLIntrospector( DatabaseReader.newXMLIntrospector() );
           enablePrettyPrint();
  -        setWriteIDs(false);
  +        getBindingConfiguration().setMapIDs(false);
       }
   }
  
  
  
  1.3       +61 -1     jakarta-commons-sandbox/sql/src/java/org/apache/commons/sql/type/TypesWriter.java
  
  Index: TypesWriter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/sql/src/java/org/apache/commons/sql/type/TypesWriter.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TypesWriter.java	30 Apr 2003 11:27:31 -0000	1.2
  +++ TypesWriter.java	3 Dec 2003 21:03:00 -0000	1.3
  @@ -1,3 +1,62 @@
  +/*
  + * $Header$
  + * $Revision$
  + * $Date$
  + *
  + * ====================================================================
  + *
  + * The Apache Software License, Version 1.1
  + *
  + * Copyright (c) 1999-2002 The Apache Software Foundation.  All rights
  + * reserved.
  + *
  + * Redistribution and use in source and binary forms, with or without
  + * modification, are permitted provided that the following conditions
  + * are met:
  + *
  + * 1. Redistributions of source code must retain the above copyright
  + *    notice, this list of conditions and the following disclaimer.
  + *
  + * 2. Redistributions in binary form must reproduce the above copyright
  + *    notice, this list of conditions and the following disclaimer in
  + *    the documentation and/or other materials provided with the
  + *    distribution.
  + *
  + * 3. The end-user documentation included with the redistribution, if
  + *    any, must include the following acknowledgement:
  + *       "This product includes software developed by the
  + *        Apache Software Foundation (http://www.apache.org/)."
  + *    Alternately, this acknowledgement may appear in the software itself,
  + *    if and wherever such third-party acknowledgements normally appear.
  + *
  + * 4. The names "The Jakarta Project", "Commons", and "Apache Software
  + *    Foundation" must not be used to endorse or promote products derived
  + *    from this software without prior written permission. For written
  + *    permission, please contact apache@apache.org.
  + *
  + * 5. Products derived from this software may not be called "Apache"
  + *    nor may "Apache" appear in their names without prior written
  + *    permission of the Apache Software Foundation.
  + *
  + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  + * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
  + * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  + * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  + * SUCH DAMAGE.
  + * ====================================================================
  + *
  + * This software consists of voluntary contributions made by many
  + * individuals on behalf of the Apache Software Foundation.  For more
  + * information on the Apache Software Foundation, please see
  + * <http://www.apache.org/>.
  + */
   package org.apache.commons.sql.type;
   
   import java.io.OutputStream;
  @@ -11,6 +70,7 @@
    * 
    * @author <a href="mailto:tima@intalio.com">Tim Anderson</a>
    * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
  + * @author Matthew Hawthorne
    * @version 1.1
    */
   public class TypesWriter extends BeanWriter {
  @@ -31,6 +91,6 @@
       private void init() {
           setXMLIntrospector(TypesReader.newXMLIntrospector());
           enablePrettyPrint();
  -        setWriteIDs(false);
  +        getBindingConfiguration().setMapIDs(false);
       }
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org