db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guy Davis <da...@guydavis.ca>
Subject Oracle 9i generating empty schema file for DatabaseToDdlTask
Date Sat, 04 Feb 2006 00:33:31 GMT
Hi,

I'm trying to generate a DDL XML file from our current database.  Here's 
my target from build.xml.  The target runs with no errors but the output 
file is empty.  Any ideas?

<target name="db.test">
<taskdef name="db_to_ddl" classpath="../ddlutils/target/classes" 
classname="org.apache.ddlutils.task.DatabaseToDdlTask">
  <classpath>
   <path refid="build.app.classpath" />
     <pathelement location="../ddlutils/target/classes" />
   <path>
   <path>
     <fileset dir="../ddlutils/lib">
      <include name="**/*.jar" />
      <include name="**/*.zip" />
     </fileset>
   </path>
  </classpath>
</taskdef>

<db_to_ddl schema="DV_MASTER">
   <database url="jdbc:oracle:thin:@//INTDB002:1521/INTDEV01"
		driverClassName="oracle.jdbc.driver.OracleDriver"
		username="DV_MASTER" password="password" />
    <writeSchemaToFile outputFile="schema.xml" />
</db_to_ddl>
</target>


Mime
View raw message