You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by Remke Rutgers <re...@brightalley.nl> on 2002/12/10 13:45:13 UTC

[SOURCE] Issue #TRQS92 - datadump and datasql tasks inconsistency

You can view the issue detail at the following URL:
<http://scarab.werken.com/scarab/issues/id/TRQS92>

Type :        Defect
Issue Id :    TRQS92
Reported by: Remke Rutgers
             remke - (remke.rutgers@brightalley.nl)

Details:

Summary: datadump and datasql tasks inconsistency
Description: The datadump (and datadtd) task (in build-torque.xml) generate files in ${torque.output.dir}.
The datasql task has the following configured:
      dataDTD="${torque.schema.dir}/${torque.project}-data.dtd"
      dataXmlFile="${torque.schema.dir}/${torque.project}-data.xml"

Therefore the datasql task cannot find the datasql.
Also the datasql expects a file:${torque.project}-data.xml, but templates/data/dump/Control.vm has:
#if ($project)
    #if ($database.Name)
        #set ($outFile="${project}-${database.Name}-${dataset}-data.xml")
    #else
        #set ( $outFile = "${project}-${dataset}-data.xml" )
    #end
#else
    #set ( $outFile = "" )
#end



Status: New