|
Re: Using torque: msg#00075jakarta.turbine.torque.user
Hi, please look at the tutorial, http://db.apache.org/torque/tutorial/index.html. There, maven is used to generate the java classes. It worked for me. I did the following: - downloaded and installed maven - installed the torque plugin for maven (see tutorial) - downloaded torque-gen-3.1.1 - unpacked it and changed into the torque-gen-3.1.1 directory - create a subdirectory src/schema and put the schema.xml from the tutorial there - put the torque.properties and build.properties from the tutorial directly into the torque-gen-3.1.1 directory - ran the command "maven torque" in the torque-gen-3.1.1 directory - and voila, the java sources were generated in the src/java subdiretory. In the 3.1. version, there was also an ant file in the generator called build-torque.xml, but I cannot find it in the 3.1.1 binary distribution :-( I am not sure whether it was taken out by purpose, and if yes, why. So it seems that using ant is not an option at the moment with torque 3.1.1 Thomas "Pedro Castro" <pfc@xxxxxxxxxx> schrieb am 15.11.2004 18:56:12: > Hello. > > > > I would like to use the 3.1.1 version of torque generator. > > > > I downloaded torque-gen-3.1.1.zip and ended up with the torque jar and the > lib dir containing the needed files (ant jar is included). > > > > I have project-schema.xml from my latest test as well as the > build-torque.xml and build.properties. > > > > I want to make a new JAVA file using torque jar for generating the sql > script, I understand that ant is needed. > > > > Is this possible, has anyone accomplished this? > > > > > > Thank you in advance. > > > > > > Pedro Castro. > |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Using torque: 00075, Assia Aouat |
|---|---|
| Next by Date: | RE: Using torque: 00075, Pedro Castro |
| Previous by Thread: | RE: Using torquei: 00075, Pedro Castro |
| Next by Thread: | RE: Using torque: 00075, Pedro Castro |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |