db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpoes...@apache.org
Subject cvs commit: db-torque/src/generator/src/java/org/apache/torque/engine/database/transform DTDResolver.java
Date Wed, 30 Apr 2003 22:27:26 GMT
mpoeschl    2003/04/30 15:27:25

  Modified:    src/generator project.xml
               src/generator/src/java/org/apache/torque/engine/database/transform
                        DTDResolver.java
  Log:
  use commons-logging
  
  Revision  Changes    Path
  1.11      +3 -3      db-torque/src/generator/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/project.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- project.xml	24 Apr 2003 14:51:24 -0000	1.10
  +++ project.xml	30 Apr 2003 22:27:25 -0000	1.11
  @@ -31,9 +31,9 @@
         <url>http://jakarta.apache.org/commons/</url>
       </dependency>
       <dependency>
  -      <id>log4j</id>
  -      <version>1.2.7</version>
  -      <url>http://jakarta.apache.org/log4j/</url>
  +      <id>commons-logging</id>
  +      <version>1.0.2</version>
  +      <url>http://jakarta.apache.org/commons/</url>
       </dependency>
       <dependency>
         <id>velocity</id>
  
  
  
  1.3       +6 -5      db-torque/src/generator/src/java/org/apache/torque/engine/database/transform/DTDResolver.java
  
  Index: DTDResolver.java
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/java/org/apache/torque/engine/database/transform/DTDResolver.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DTDResolver.java	18 Feb 2003 08:05:50 -0000	1.2
  +++ DTDResolver.java	30 Apr 2003 22:27:25 -0000	1.3
  @@ -3,7 +3,7 @@
   /* ====================================================================
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 2001 The Apache Software Foundation.  All rights
  + * Copyright (c) 2001-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -58,7 +58,8 @@
   import java.io.InputStream;
   import java.net.URL;
   
  -import org.apache.log4j.Logger;
  +import org.apache.commons.logging.Log;
  +import org.apache.commons.logging.LogFactory;
   
   import org.xml.sax.EntityResolver;
   import org.xml.sax.InputSource;
  @@ -80,8 +81,8 @@
       /** InputSource for <code>database.dtd</code>. */
       private InputSource databaseDTD = null;
   
  -    /** Logging */
  -    private static Logger log = Logger.getLogger(DTDResolver.class);
  +    /** Logging class from commons.logging */
  +    private static Log log = LogFactory.getLog(DTDResolver.class);
   
       /**
        * constructor
  
  
  

Mime
View raw message