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>

Reply via email to