That worked great -- thanks.

Cliff

-----Original Message-----
From: Zhigang Wang [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 16, 2001 6:02 PM
To: [EMAIL PROTECTED]
Subject: Re: Can't get sql2xml to work


Hi, Cliff,
   Seems you are trying to dump database schema into an XML file, which
I trying to do this week. You can check if your build.xml contains
project-jdbc target. If yes, you can use that one directly, you dont
have
to dump it into SQL then convert to XML. I am not sure that is in Torque
2.1, but it is in latest alpha, of Torque. You can try 
http://jakarta.apache.org/builds/jakarta-turbine/alpha/3.0a5/torque-3.0a
5.zip
   Best wishes,
zhigang,

On Thu, 16 Aug 2001, Lang, Cliff wrote:

> I have the latest copies of torque (2.1.0) and ant (1.4) and can't get
> any action from "ant sql2xml"
>  
> I dumped the schema from mysql, and saved it as schema/schema.sql.  If
> it is not there I get an error, so I know the file is in the right
> place.  The ant build just never comes back, nor does it produce any
new
> files within the torque directory.
>  
> Screen capture from "ant sql2xml"
> (myuser)->ant -v sql2xml
> Ant version 1.4Beta1 compiled on August 9 2001
> Buildfile: build.xml
> Detected Java version: 1.3 in: /usr/j2se/jre
> Detected OS: SunOS
> parsing buildfile /usr/local/tomcat-build/torque/build.xml with URI =
> file:/usr/local/tomcat-build/torque/build.xml
> Project base dir set to: /usr/local/tomcat-build/torque
>  [property] Loading /usr/local/tomcat-build/torque/build.properties
> Build sequence for target `sql2xml' is [init-tasks, sql2xml]
> Complete build sequence is [init-tasks, sql2xml, project-datadtd,
main,
> project-datadump, project-om, project-sql, javadocs, turbine-service,
> compile, project-datasql]
>  
> init-tasks:
>  
> sql2xml:
>      [null] Parsing SQL Schema
>  
>  
> #############  and it hangs here forever ........
>  
> Anything I can look for?  Also, are there any details if I need to
build
> the schema.xml by hand?  Is there an FAQ?
>  
> Thanks,  Cliff
>  
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


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

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

Reply via email to