db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manske, Michael" <Michael.Man...@dat.de>
Subject RE: torque beginner question
Date Mon, 04 Aug 2003 08:57:01 GMT
Hello,

> 	What is the difference between "torque-gen-3.1-alpha1" and "
> torque-3.1-alpha1"? What is "gen"?
"torque-gen-3.1-alpha1" contains the generator (compile time only)
and "torque-3.1-alpha1" contains the layer classes needed at runtime.
In torque-3.0 runtime and generator were both in one package but in
torque 3.1 the generator was separated.

> 	I had been using "torque-gen-3.1-alpha1" to run torque etc, all
> was well. Yesterday I downloaded "torque-3.1-alpha2" --- ant -f
> build-torque.xml gives an exception saying
> org.apache.torque.task.TorqueDataModelTask not found and ofcourse this
> file is not present in torque-3.1.alpha2.jar
you have to include both "torque-gen-3.1-alpha1.jar" and
"torque-3.1-alpha1.jar" in your classpath.
"torque-gen-3.1-alpha1.jar" contains all ant-tasks needed to build the om
and/or also the
xml schema via jdbc...

I don't use 3.1 alpha but afaik 3.1 includes also an ant buildfile with all
tasks and calling of the generator should be the same as in 3.0.
You can take a look here: http://db.apache.org/torque/generator/

regards,
Michael

> -----Original Message-----
> From: Amit Rana [mailto:rana@solis.jp]
> Sent: Monday, August 04, 2003 10:25 AM
> To: torque-user@db.apache.org
> Subject: torque beginner question
> 
> 
> Hi,
> 	
> 	What is the difference between "torque-gen-3.1-alpha1" and "
> torque-3.1-alpha1"? What is "gen"?
> 
> 	I had been using "torque-gen-3.1-alpha1" to run torque etc, all
> was well. Yesterday I downloaded "torque-3.1-alpha2" --- ant -f
> build-torque.xml gives an exception saying
> org.apache.torque.task.TorqueDataModelTask not found and ofcourse this
> file is not present in torque-3.1.alpha2.jar
> 
> 	Is there a different way to invoke torque on alpha2? Is there
> some other jar which includes these ant tasks?
> 
> 	Please feel free to point me to any link/document.
> 
> Regards,
> Amit.
> 
> NOTE: " torque-3.1-alpha1" also has the same issue, so I 
> think there is
> something very basic that I am missing.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
> 

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