You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by le...@apache.org on 2002/04/04 09:09:53 UTC

cvs commit: jakarta-avalon-excalibur/all/src/java/org/apache/avalon/excalibur/datasource JdbcConnectionFactory.java

leif        02/04/03 23:09:53

  Modified:    all      build.xml
               all/src/java/org/apache/avalon/excalibur/datasource
                        JdbcConnectionFactory.java
  Log:
  Get JdbcConnections working again.  Must have been broken recently...
  
  Revision  Changes    Path
  1.125     +9 -1      jakarta-avalon-excalibur/all/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/all/build.xml,v
  retrieving revision 1.124
  retrieving revision 1.125
  diff -u -r1.124 -r1.125
  --- build.xml	4 Apr 2002 05:09:00 -0000	1.124
  +++ build.xml	4 Apr 2002 07:09:53 -0000	1.125
  @@ -276,7 +276,6 @@
              deprecation="${build.deprecation}"
              target="1.2">
         <classpath refid="project.class.path" />
  -      <src path="${build.src}"/>
         <exclude name="**/test/**"/>
         <exclude name="**/Log4J*"
                  unless="log4j.present"/>
  @@ -301,6 +300,15 @@
                  unless="jaxen.present"/>
         <exclude name="org/apache/avalon/excalibur/datasource/AbstractJdbcConnection.java"/>
         <exclude name="org/apache/avalon/excalibur/datasource/JdbcConnection.java"/>
  +    </javac>
  +    <!-- Compile the Special Classes that had to be patched. -->
  +    <javac srcdir="${build.src}"
  +           destdir="${build.classes}"
  +           debug="${build.debug}"
  +           optimize="${build.optimize}"
  +           deprecation="${build.deprecation}"
  +           target="1.2">
  +      <classpath refid="project.class.path" />
       </javac>
   
       <javac srcdir="${scratchpad.dir}"
  
  
  
  1.14      +4 -1      jakarta-avalon-excalibur/all/src/java/org/apache/avalon/excalibur/datasource/JdbcConnectionFactory.java
  
  Index: JdbcConnectionFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/all/src/java/org/apache/avalon/excalibur/datasource/JdbcConnectionFactory.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- JdbcConnectionFactory.java	26 Mar 2002 10:45:22 -0000	1.13
  +++ JdbcConnectionFactory.java	4 Apr 2002 07:09:53 -0000	1.14
  @@ -17,7 +17,7 @@
    * The Factory implementation for JdbcConnections.
    *
    * @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
  - * @version CVS $Revision: 1.13 $ $Date: 2002/03/26 10:45:22 $
  + * @version CVS $Revision: 1.14 $ $Date: 2002/04/04 07:09:53 $
    * @since 4.0
    */
   public class JdbcConnectionFactory extends AbstractLogEnabled implements ObjectFactory
  @@ -117,6 +117,9 @@
           catch( Exception e )
           {
               // ignore for now
  +            // No logger here, so we can't log this.  Really should output something here though
  +            //  as it can be a real pain to track down the cause when this happens.
  +            //System.out.println( "Unable to get specified connection class: " + e );
           }
   
           this.m_class = clazz;
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>