Return-Path: Mailing-List: contact turbine-torque-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list turbine-torque-user@jakarta.apache.org Received: (qmail 28283 invoked by uid 98); 9 Jan 2003 11:01:10 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Received: (qmail 28251 invoked from network); 9 Jan 2003 11:01:08 -0000 Received: from daedalus.apache.org (HELO apache.org) (63.251.56.142) by nagoya.betaversion.org with SMTP; 9 Jan 2003 11:01:08 -0000 Received: (qmail 89601 invoked by uid 500); 9 Jan 2003 10:59:37 -0000 Received: (qmail 89591 invoked from network); 9 Jan 2003 10:59:36 -0000 Received: from web14505.mail.yahoo.com (216.136.224.68) by daedalus.apache.org with SMTP; 9 Jan 2003 10:59:36 -0000 Message-ID: <20030109105951.30810.qmail@web14505.mail.yahoo.com> Received: from [80.11.186.226] by web14505.mail.yahoo.com via HTTP; Thu, 09 Jan 2003 11:59:51 CET Date: Thu, 9 Jan 2003 11:59:51 +0100 (CET) From: =?iso-8859-1?q?Matthieu=20DELAHAIS?= Subject: Pb with command ant -f build-torque.xml jdbc To: turbine-torque-user@jakarta.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 : 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