I thought I had that working ... Could you supply an example (some classes) that I can test against ?
To 1.: You're right, they are leftover, I will fix it as soon as I can. To 2.: This is probably due to a limitation of the torque build file. Basically, the create-db task will search in the directory ${torque.home}/${schemaDirectory} for all files ending with "-schema.xml" (note the "-" !). This by the way is not true of some other tasks (e.g. project-datadtd requires the file to be named ${project}-schema.xml). You can try to invoke the torque task directly in your build script: <path id="torque-classpath"> <fileset dir="${lib.dir}"> <include name="**/*.jar"/> </fileset> </path> <taskdef name="torque-create-db" classname="org.apache.torque.task.TorqueDataModelTask"> <classpath refid="torque-classpath"/> </taskdef> <torque-create-db controlTemplate="sql/db-init/Control.vm" outputDirectory="${torque.home}/${outputDirectory}/sql" targetDatabase="${database}" useClasspath="true" outputFile="create-db.sql"> <fileset dir="${torque.home}/${schemaDirectory}" includesfile="project_schema.xml"/> </torque-create-db> <sql driver="${databaseDriver}" url="${createDatabaseUrl}" userid="${databaseUser}" password="${databasePassword}" src="${torque.home}/${outputDirectory}/sql/create-db.sql" autocommit="true" onerror="continue"> <classpath refid="torque-classpath"/> </sql> Tom --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]