[prev in list] [next in list] [prev in thread] [next in thread] 

List:       turbine-torque-user
Subject:    Problems getting generator to work
From:       Scott Eade <seade () backstagetech ! com ! au>
Date:       2003-08-19 15:48:19
[Download RAW message or body]

I'm having a crack at moving forward to torque-3.1-alpha2 but I am
running into problems.

I know this is going to be something really dumb on my part, but I
just can't see it.

Here is the output from maven:

C:\eclipse-workspace\cmes-conv>C:\maven-1.0-beta-10\bin\maven torque:om
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10

torque:init:

torque:om-check:

torque:om:
torque:init:
Overriding previous definition of reference to torque-classpath

torque:om-generate:
Using contextProperties file: 
C:\eclipse-workspace\cmes-conv\target\TorqueProject.properties
    [torque-data-model] Using classpath
    [torque-data-model] Generating to file 
C:\eclipse-workspace\cmes-conv\src\java\report.org.apache
.commons.grant.GrantProject@a23610.om.generation
log4j:WARN No appenders could be found for logger 
(org.apache.torque.engine.database.transform.XmlTo
AppData).
log4j:WARN Please initialize the log4j system properly.

BUILD FAILED
File...... file:/C:/Documents and 
Settings/Administrator/.maven/plugins/maven-torque-plugin-3.1/
Element... torque-data-model
Line...... 227
Column.... 49
Exception thrown by 'properties.load'. For more information consult the 
velocity log, or invoke ant
with the -debug flag.
Total time:  5 seconds

The TorqueProject.properties file reads thus:

## Basic Properties
torque.project = ppdb
torque.database = mysql
torque.targetPackage = com.backstagetech.cmes.om

## Directories and Paths
#torque.home = .
#torque.templatePath = templates
#torque.output.dir = src/java
torque.schema.dir = src/schema
#torque.doc.dir = target/sql
#torque.java.dir = src/java
#torque.javadoc.dir =
#torque.ojb.dir =

## Database settings
torque.database.createUrl = jdbc:mysql://127.0.0.1/cmesconv
torque.database.buildUrl = jdbc:mysql://127.0.0.1/cmesconv
torque.database.url = jdbc:mysql://127.0.0.1/cmesconv
torque.database.driver = org.gjt.mm.mysql.Driver
torque.database.user = ********
torque.database.password = ********
torque.database.host = 127.0.0.1
#torque.database.schema =
torque.database.name = cmesconv
#torque.database.manualCreation = false
#torque.sameJavaName = false

## Template Variables
#torque.addGetByNameMethod = true
torque.addIntakeRetrievable = true
#torque.retrievableInterface
#torque.addSaveMethod = true
torque.saveException = TorqueException
torque.addTimeStamp = false
#torque.basePrefix = Base
torque.complexObjectModel = true
torque.useClasspath = true
torque.useManagers = true

Any idea what is going on here?

Thanks,

Scott

-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au





---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic