If you have a create-database.sql script you can use sql2xml which comes with tdk. Simply copy your script to tdk/webapps/yourproject/WEB-INF/conf/schema.sql and run 'ant sql2xml' from you build directory. Ant should produce the file schema.xml. I had to modify build.xml from: <target name="sql2xml"> to: <target name="sql2xml" depends="init-tasks"> -----Original Message----- From: Marco Pas [mailto:[EMAIL PROTECTED]] Sent: 24 September 2001 12:34 To: Turbine (E-mail) Subject: Torque use as OR-Mapping (Reverse Engineering from DB) Can Torque be used to reproduce a db schema and generating the classes, this from an already excisting DB from which i do not have the .xml schema descriptor ? Tools like DBGen can do this, but i want to test Torque! groeten / regards, Marco Pas CMG Trade, Transport & Industry B.V. ---------------------------------------------------------------------- Marco Pas CMG Java Competence Center Internet Software Engineering - RTSE2 P.O. Box 8566, 3009 AN Rotterdam, Kralingseweg 241 - 249, 3062 CE Rotterdam The Netherlands * 010-2537000 / 7338 (CMG) * 06-18808521 (Mobile) * javasuppor <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] (JCC) * <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] (CMG) Disclaimer The Information contained in this email and its attachments is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any actions in reliance of the contents of this email and any attachments is strictly prohibited and may be unlawful. CMG is neither liable for the proper and complete transmission of the information contained in this email and any attachments nor for any delay in its receipt. If received in error, please contact CMG on +31 (0)020 50 33 000 quoting the name of the sender and the addressee and then delete it from your system. Please note that CMG does not accept any responsibility for viruses and it is your responsibility to scan the email and attachments (if any). No contracts may be concluded on behalf of CMG by means of email communications. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
