--- "Lloyd, Colin" <[EMAIL PROTECTED]> a �crit�: >
> Anyone try to generate an xml schema of an existing
> database and have this
> happen? I don't get any errors to standard out and
> haven't been able to set
> up the logging for this task so it's hard to see
> what's happening. It
> generated a file called "schema.xml" but isn't it
> supposed to generate
> something named %projectname%-schema.xml? Here is
> stdout:
>
> C:\javadev\torque>ant project-jdbc
> Buildfile: build.xml
>
> project-jdbc:
> [echo] JDBC transform
> [torque-jdbc] Torque - JDBCToXMLSchema starting
> [torque-jdbc]
> [torque-jdbc] Your DB settings are:
> [torque-jdbc] driver :
> oracle.jdbc.driver.OracleDriver
> [torque-jdbc] URL :
> jdbc:oracle:thin:@10.131.69.15:1521:dev20
> [torque-jdbc] user : username
> [torque-jdbc] password : password
> [torque-jdbc] schema : ${databaseSchema}
> [torque-jdbc] DB driver sucessfuly instantiated
> [torque-jdbc] DB connection established
> [torque-jdbc] Getting table list...
> [torque-jdbc] Building column/table map...
> [torque-jdbc]
> [torque-jdbc] Torque - JDBCToXMLSchema finished
>
> BUILD SUCCESSFUL
>
> Total time: 3 seconds
> C:\javadev\torque>
>
> Thanks in advance..
Hi,
u have to set a new key in the build.properties file:
databaseSchema, with no value.
This is used like patern schema in the getTables and
getcolumns methods, to retrieve infos from jdbc.
Raoul.
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>