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 RE: problems with torque dumpdata ant target
Date Mon, 17 Jan 2005 18:26:57 GMT

Thanks for your response.  All I really want to do is get a
respresentation of my existing db schema in XML.  Is there another way
to do this?  But I suspect I still have problems with my Torque setup.

Thanks,
Phil

-----Original Message-----
From: Saravana Krishnan [mailto:saravkrish@uky.edu] 
Sent: Monday, January 17, 2005 10:12 AM
To: Apache Torque Users List
Subject: Re: problems with torque dumpdata ant target


Hi,

  I don't know anything about your question below, but I thought I
should warn you that Binary field types like RAW, LONG, BLOB, etc don't
work well with data dumps. To put it more clearly, the data dump is
useless if it has binary fields, because it generates invalid XML files.

Thanks,
Sarav

On Mon, 2005-01-17 at 09:43 -0800, Phillip DiCorpo wrote:
> 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
> 
> 
> 
-- 
Saravana Krishnan <saravkrish@uky.edu>


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org

ache.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
> 
> 
> 
-- 
Saravana Krishnan <saravkrish@uky.edu>


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message