db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthieu DELAHAIS <dela_...@yahoo.fr>
Subject Pb with command ant -f build-torque.xml jdbc
Date Thu, 09 Jan 2003 10:59:51 GMT
Hi,

I'm trying to use an existing database and to generate
the object model class with torque. So, I modified the
torque.properties and build.properties files with my
database. Then, I tried to generate my object model
with the command ant -f build-torque. I had the
following information on screen
Buildfile: build-torque.xml

jdbc:
     [echo]
+-----------------------------------------------+
     [echo] |                                         
     |
     [echo] | Generating XML from JDBC connection !   
     |
     [echo] | Woo hoo!                                
     |
     [echo] |                                         
     |
     [echo]
+-----------------------------------------------+
[torque-jdbc-transform] Torque - JDBCToXMLSchema
starting
[torque-jdbc-transform] Your DB settings are:
[torque-jdbc-transform] driver :
com.microsoft.jdbc.sqlserver.SQLServerDriver
[torque-jdbc-transform] URL :
jdbc:microsoft:sqlserver://unis14:1433;DatabaseNam
e=Jetspeed;SelectMethod=cursor
[torque-jdbc-transform] user : content
[torque-jdbc-transform] schema : ${databaseSchema}
[torque-jdbc-transform] DB driver sucessfuly
instantiated
[torque-jdbc-transform] DB connection established
[torque-jdbc-transform] Getting table list...
[torque-jdbc-transform] Building column/table map...
[torque-jdbc-transform] ./schema/schema.xml
[torque-jdbc-transform]
[torque-jdbc-transform] Torque - JDBCToXMLSchema
finished

BUILD SUCCESSFUL
Total time: 3 seconds
But when I check the file schema/schema.xml, it is
empty. I just have this lines :
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM
"http://jakarta.apache.org/turbine/dtd/database.dtd">
<!-- Autogenerated by JDBCToXMLSchema! -->
<database/>

So, I can generate my object model class with the
command ant -f build-torque.xml om .
Could you help me? Thanks a lot.

Matthieu





___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran├žais !
Yahoo! Mail : http://fr.mail.yahoo.com

Mime
View raw message