db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phillip DiCorpo" <phillip.dico...@vontu.com>
Subject problems with torque dumpdata ant target
Date Mon, 17 Jan 2005 17:43:43 GMT

I'm new to Torque and I've been looking at using it to perform an XML
data dump of an existing Oracle database.  I think I've setup my
property files for the generator and runtime engine (3.1) properly, but
I seem to be running into the following exception when I call "ant -f
build-torque.xml datadump -debug".  I would appreciate any help.  I'm
using Ant 1.6.1 .... Any ideas?  Please let me know I should provide
anymore information.

Thanks,
Phil

BUILD FAILED
C:\torque\build-torque.xml:431:
org.apache.torque.engine.EngineException: C:\tor
que\schema\protect4-schema.xml
        at
org.apache.torque.task.TorqueDataModelTask.initControlContext(TorqueD
ataModelTask.java:364)
        at
org.apache.torque.task.TorqueDataDumpTask.initControlContext(TorqueDa
taDumpTask.java:222)
        at
org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java:480)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:301)
        at org.apache.tools.ant.Target.performTasks(Target.java:328)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
        at
org.apache.tools.ant.Project.executeTargets(Project.java:1063)
        at org.apache.tools.ant.Main.runBuild(Main.java:632)
        at org.apache.tools.ant.Main.startAnt(Main.java:183)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
Caused by: org.apache.torque.engine.EngineException:
C:\torque\schema\protect4-s
chema.xml
        at
org.apache.torque.engine.database.transform.XmlToAppData.parseFile(Xm
lToAppData.java:201)
        at
org.apache.torque.task.TorqueDataModelTask.initControlContext(TorqueD
ataModelTask.java:319)
        ... 12 more
Caused by: java.io.FileNotFoundException:
C:\torque\schema\protect4-schema.xml
        at
org.apache.torque.engine.database.transform.XmlToAppData.parseFile(Xm
lToAppData.java:183)
        ... 13 more
--- Nested Exception ---
java.io.FileNotFoundException: C:\torque\schema\protect4-schema.xml
        at
org.apache.torque.engine.database.transform.XmlToAppData.parseFile(Xm
lToAppData.java:183)
        at
org.apache.torque.task.TorqueDataModelTask.initControlContext(TorqueD
ataModelTask.java:319)
        at
org.apache.torque.task.TorqueDataDumpTask.initControlContext(TorqueDa
taDumpTask.java:222)
        at
org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java:480)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:301)
        at org.apache.tools.ant.Target.performTasks(Target.java:328)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
        at
org.apache.tools.ant.Project.executeTargets(Project.java:1063)
        at org.apache.tools.ant.Main.runBuild(Main.java:632)
        at org.apache.tools.ant.Main.startAnt(Main.java:183)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
rethrown as org.apache.torque.engine.EngineException:
C:\torque\schema\protect4-
schema.xml
        at
org.apache.torque.engine.database.transform.XmlToAppData.parseFile(Xm
lToAppData.java:201)
        at
org.apache.torque.task.TorqueDataModelTask.initControlContext(TorqueD
ataModelTask.java:319)
        at
org.apache.torque.task.TorqueDataDumpTask.initControlContext(TorqueDa
taDumpTask.java:222)
        at
org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java:480)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:301)
        at org.apache.tools.ant.Target.performTasks(Target.java:328)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
        at
org.apache.tools.ant.Project.executeTargets(Project.java:1063)
        at org.apache.tools.ant.Main.runBuild(Main.java:632)
        at org.apache.tools.ant.Main.startAnt(Main.java:183)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
Caused by: java.io.FileNotFoundException:
C:\torque\schema\protect4-schema.xml
        at
org.apache.torque.engine.database.transform.XmlToAppData.parseFile(Xm
lToAppData.java:183)
        ... 13 more




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message