|
RE: torque:om-generate says successful, but no java generated?: msg#00117jakarta.turbine.torque.user
Hi Phillip, it seems that the directories where you want to create the code in already exists but the maven user cannot write the files (perhaps you use cvs and check out read-only ?) Thomas Phillip Rhodes <spamsucks@xxxxxxxxxxxxxxx> schrieb am 22.11.2004 03:39:42: > 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@xxxxxxxxxxxxx > For additional commands, e-mail: torque-user-help@xxxxxxxxxxxxx > |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Foreign key integrity constraints and Transactions: 00117, Thomas Fischer |
|---|---|
| Next by Date: | Re: torque:om-generate says successful, but no java generated?: 00117, Malcolm Kendall |
| Previous by Thread: | torque:om-generate says successful, but no java generated?i: 00117, Phillip Rhodes |
| Next by Thread: | Re: torque:om-generate says successful, but no java generated?: 00117, Malcolm Kendall |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |