logo       

Re: torque:om-generate says successful, but no java generated?: msg#00129

jakarta.turbine.torque.user

Subject: Re: torque:om-generate says successful, but no java generated?

Thanks very much!

Setting this torque.targetPackage caused the java to
go to where I was expecting it to go.

I found out since I has given this hint that the
source files were being generated in
org.apache.torque.

Very slick! I think the maven plugin for torque is a
great idea.







--- Malcolm Kendall <mikendall@xxxxxxxxxxxxxxxx>
wrote:

> Phillip Rhodes wrote:
>
> >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
> >
> >
> >
> >
> >
> Hi Phillip,
> What is the value of
> torque.targetPackage = uk.com.widgets.om
> ?
> Malcolm
>
>
>
---------------------------------------------------------------------
> 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>
Google Custom Search

News | FAQ | advertise