db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Upgrade maven from beta8 -> beta9, torque no longer works
Date Tue, 22 Apr 2003 13:18:54 GMT
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..."


Mime
View raw message