You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Larry Tusoni <lt...@nextron.com> on 2002/01/23 23:37:18 UTC
Question regarding: project-datadump
Hello!
I am trying to dump my database data using the torque ant task
project-datadump.
I have modified the build.properties file, and have created the
xxx-schema.xml file.
When I run "ant project-datadump", it creates two files in the src
directory:
xxx-all-datal.xml which contains:
----BEGIN-----------------
?xml version="1.0" encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE dataset SYSTEM "file://xxx-data.dtd">
<dataset name="all">
</dataset>
---END--------------------
And report.xxx.datadump.generation which has a size of 1kb but is empty.
Here is the output:
----BEGIN----------------
D:\is-torque>ant project-datadump
Buildfile: build.xml
init-tasks:
project-datadump:
[echo] +-----------------------------------------------+
[echo] | |
[echo] | Dumping the data from database into XML |
[echo] | Woo hoo! |
[echo] | |
[echo] +-----------------------------------------------+
[echo] taking build.properties from: build.properties
[torque-datadump] Using contextProperties file:
D:\is-torque\build.properties
[torque-datadump] Generating to file
D:\is-torque\src\report.xxx.datadump.ge
neration
BUILD SUCCESSFUL
Total time: 5 seconds
----END------------------
Any help would be appreciated. I am using torque 2.1, jdk 1.3.1, and
MySql 3.23.42.
Regards,
--Larry