The project-data.sql must be generated into the "src/sql" directory instead of
the "src" directory
because the "insert-sql" ant task try to load this file in the "src/sql"
directory.

CORRECTION:
On the file build-torque.xml, change "torque.output.dir" to "torque.sql.dir" for
the "data-sql" task.

Line 363:
<torque-data-sql
      contextProperties="${torque.contextProperties}"
      controlTemplate="${torque.template.dataSql}"
      dataDTD="${torque.schema.dir}/${torque.project}-data.dtd"
      dataXmlFile="${torque.schema.dir}/${torque.project}-data.xml"
==>      outputDirectory="${torque.sql.dir}"    <==
      outputFile="${torque.project}-data.sql"
...



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to