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:[EMAIL PROTECTED] > Sent: Monday, August 04, 2003 10:25 AM > To: [EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
