I had the same exact error and finally fixed it.  Here are the things I
would check:

Validate your ss-data.xml against ss-data.dtd
Make sure the following line is in your ss-data.xml
        <!DOCTYPE dataset SYSTEM "ss-data.dtd">
I found that Torque looks for the dtd file in the root torque directory.  So
you may need to move or copy your dtd from \src.  Your paths should look
like this:
        \torquebase\ss-data.dtd
        \tourquebase\schema\ss-data.xml
Finally if all goes well and the ant task builds successfully you'll need to
move ss-data.sql from \src to \src\sql.  Then run insert-sql again.

Tony

-----Original Message-----
From: Laurie Harper [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 07, 2002 10:54 PM
To: Turbine Torque Users List
Subject: Next hurdle: ant datasql


Having gotten my object model running, I wanted to move on to generating
base data, but the datasql task is failing with "build-torque.xml:381:
Generation failed. For more information consult the velocity log, or invoke
ant with the -debug flag."

There doesn't seem to be much in the way of clues in the velocity log though
:-( I have my data XML in schema/ss-data.xml which I think is correct for a
project named 'ss' (??) and it conforms to the DTD generated by datadtd.

What should I look at to figure out what's wrong? (logs attached)

Cheers,

L.



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to