db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phillip Rhodes <spamsu...@rhoderunner.com>
Subject torque:om-generate says successful, but no java generated?
Date Mon, 22 Nov 2004 02:39:42 GMT
I called maven torque.  My java om files were not
updated. I ran maven torque:om-generate but still no
luck.  I did set torque.runOnlyOnSchemaChange=false
sto that it would update the files no matter what.

maven torque did generate a good sql script.

Any pointers on how to get this working?
Thanks!

[rhodepc@localhost hra]$ maven torque:om-generate
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc3
 
build:start:
 
torque:init:
 
torque:om-generate:
    [torque-data-model] Using classpath
    [torque-data-model] Generating to file
/home/rhodepc/local/hra/src/java/report.hra.om.generation
BUILD SUCCESSFUL
Total time: 27 seconds
Finished at: Sun Nov 21 21:29:44 EST 2004

I took a peak at
/home/rhodepc/local/hra/src/java/report.hra.om.generation
and saw a couple of errors.  I don't know if it is
related.


# See mysql docs for valid table type names.
# For example, if you wanted to use the transactional
type InnoDB,
# then specify "tableType = InnoDB"
#tableType = MyISAM

  
        
    
    org.apache.torque
    org.apache.torque
    org.apache.torque.map

        Failed to create dir or dir already exists:
/home/rhodepc/local/hra/src/java/org/apache/torque/

        Failed to create dir or dir already exists:
/home/rhodepc/local/hra/src/java/org/apache/torque/map/

        Failed to create dir or dir already exists:
/home/rhodepc/local/hra/src/java/org/apache/torque/

                  HRA_GROUP
        
                

                  
        
              
                  
        
                
                
        
                                SUB_GROUP
        
                
                
                
        
                                SUB_GROUP_ITEM





#My project.properties
#The following is for torque maven 
torque.project = hra
torque.database = mysql
torque.database.createUrl =
jdbc:mysql://localhost:3306/
torque.database.buildUrl =
jdbc:mysql://localhost:3306/hra
torque.database.url = jdbc:mysql://localhost:3306/hra
torque.database.driver = org.gjt.mm.mysql.Driver
torque.database.user = rhodepc
torque.database.password = pcr@67
torque.database.host = localhost
torque.runOnlyOnSchemaChange=false

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


Mime
View raw message