logo       

RE: Using torque: msg#00076

jakarta.turbine.torque.user

Subject: RE: Using torque

Thank you for your quick answer.

But the thing is, I want to run from java, not from the command line ... is
it possible ?

-----Mensagem original-----
De: Assia Aouat [mailto:assia@xxxxxxxxxxxxxxxx]
Enviada: segunda-feira, 15 de Novembro de 2004 18:18
Para: Apache Torque Users List
Assunto: RE: Using torque



Use the ant to generate the java files:

ant -f build-torque.xml

and to generate the classes file :

ant -f build-torque.xml compile


execute the commands from the torque folder

hope that will help



-----Original Message-----
From: Pedro Castro [mailto:pfc@xxxxxxxxxx]
Sent: Monday, November 15, 2004 12:56 PM
To: Apache Torque Users List
Subject: Using torque
Importance: Low

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.


---------------------------------------------------------------------
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