Return-Path: Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 99650 invoked from network); 22 Apr 2003 15:18:46 -0000 Received: from gatekeeper.fma.co.za (HELO localhost.localdomain) (196.22.96.162) by daedalus.apache.org with SMTP; 22 Apr 2003 15:18:46 -0000 Received: from sharp.fm (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id h3MDItx10374 for ; Tue, 22 Apr 2003 15:18:55 +0200 Message-ID: <3EA5413E.4010809@sharp.fm> Date: Tue, 22 Apr 2003 15:18:54 +0200 From: Graham Leggett User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.3) Gecko/20030318 X-Accept-Language: en-gb, en-za, en MIME-Version: 1.0 To: Turbine Torque Users List Subject: Upgrade maven from beta8 -> beta9, torque no longer works Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi all, I upgraded maven from b8 to b9, ran "maven torque". All the required jars were downloaded, and torque was run, but it didn't do anything. I deleted all the OM java files, expecting them to be recreated, but again, maven torque did nothing. The following is the output of torque. Unfortunately the error messages are really vague, so don't tell you exactly what is wrong or missing, or where it is expecting to find things: [minfrin@sam patricia-db]$ maven torque __ __ | \/ |__ Jakarta _ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-beta-9-SNAPSHOT torque: torque:init: torque:sql-check: torque:sql: torque:init: Overriding previous definition of reference to torque-classpath torque:sql-generate: [torque-sql] Using classpath [torque-sql] Generating to file /home/sam/minfrin/src/fma/patricia-db/target/classes/sql/report.patricia.sql.generation torque:init: Overriding previous definition of reference to torque-classpath torque:om-check: torque:om: [echo] Schema files have not changed since last generation. BUILD SUCCESSFUL Total time: 17 seconds The schema files most definitely have changed, and the om files have been deleted and are not recreated. Can anyone translate what the above is trying to tell me what is happening? My build.properties and project.properties both contain the following (the docs say this is supposed to be in project.properties, but b8 wanted it in build.properties): torque.project = patricia torque.database = postgresql torque.targetPackage = za.co.fma.patricia.database.om torque.database.createUrl = jdbc:postgresql://localhost:5432/template1 torque.database.buildUrl = jdbc:postgresql://localhost:5432/patricia torque.database.url = jdbc:postgresql://localhost:5432/patricia torque.database.driver = org.postgresql.Driver torque.database.user = fma torque.database.password = password torque.database.host = localhost torque.useClasspath = true torque.database.name = patricia # change this to true when we have real data in the database torque.database.manualCreation = false # change this to the exception thrown on save #torque.saveException = Exception # experiemental torque.useManagers = true Regards, Graham -- ----------------------------------------- minfrin@sharp.fm "There's a moon over Bourbon Street tonight..."