When I did this way back, I had to make sure init-tasks target was added
as a dependency to the sql2xml target so that the taskdef "sql-xml" got
initialized correctly.

alternatively add

<taskdef name="sql-xml" 
        classname="org.apache.turbine.torque.TorqueSQLTransformTask">
        <classpath refid="classpath"/>
</taskdef>

to your sql2xml target in build.xml

btw - in general it is preferable if you indicate the version you are
using and any errors you receive, else it is hard to help you.

-----Original Message-----
From: Brian Rowe [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, April 25, 2002 2:21 PM
To: [EMAIL PROTECTED]
Subject: SQL and XML schema - easy way to create xml??


Hi,
The sql2xml target does not work on my install. 
Turbine does run fine.  I am trying to find an easy
way to create the xml file for a larger application. 
I think I could generate the SQL, but the target does
not work.
I did lable the inputfile schema.sql
Any help would be great.

B

__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

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


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

Reply via email to