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/task TorqueJDBCTransformTask.java
Date Sun, 29 Jun 2003 13:39:05 GMT
mpoeschl    2003/06/29 06:39:05

  Modified:    src/generator/src/java/org/apache/torque/task
                        TorqueJDBCTransformTask.java
  Log:
  use DTDResolver.WEB_SITE_DTD
  
  Revision  Changes    Path
  1.4       +7 -2      db-torque/src/generator/src/java/org/apache/torque/task/TorqueJDBCTransformTask.java
  
  Index: TorqueJDBCTransformTask.java
  ===================================================================
  RCS file: /home/cvs/db-torque/src/generator/src/java/org/apache/torque/task/TorqueJDBCTransformTask.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TorqueJDBCTransformTask.java	28 Jun 2003 21:00:05 -0000	1.3
  +++ TorqueJDBCTransformTask.java	29 Jun 2003 13:39:05 -0000	1.4
  @@ -70,12 +70,17 @@
   
   import org.apache.tools.ant.BuildException;
   import org.apache.tools.ant.Task;
  +
   import org.apache.torque.engine.database.model.TypeMap;
  +import org.apache.torque.engine.database.transform.DTDResolver;
  +
   import org.apache.xerces.dom.DocumentImpl;
   import org.apache.xerces.dom.DocumentTypeImpl;
  +
   import org.apache.xml.serialize.Method;
   import org.apache.xml.serialize.OutputFormat;
   import org.apache.xml.serialize.XMLSerializer;
  +
   import org.w3c.dom.Element;
   import org.w3c.dom.Node;
   
  @@ -184,7 +189,7 @@
           log("schema : " + dbSchema);
   
           DocumentTypeImpl docType = new DocumentTypeImpl(null, "database", null,
  -                "http://db.apache.org/torque/dtd/database_3_1.dtd");
  +                DTDResolver.WEB_SITE_DTD);
           doc = new DocumentImpl(docType);
           doc.appendChild(doc.createComment(
                   " Autogenerated by JDBCToXMLSchema! "));
  
  
  

Mime
View raw message