thank you every one for replies.
Now its working. 
i just got the latest version from CVS and compiled it.and now its
running. I had a previous version which was not required.

-----Original Message-----
From: shweta singh [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 12:19 PM
To: [EMAIL PROTECTED]
Subject: Re: Problems In Running Torque


Hi!
We were facing the same problem
The soln to this is first have all the these jar files
Inside build.properties you need to define

  velocity.jar
  xerces.jar
  village.jar
  log4j.jar
  jdbc.jar
  junit.jar
  commons-collections.jar
  commons-util.jar

to point to the appropriate jar files.
After that in the jakarta-turbine-torque root
run
e:\jakarta-turbine-torque > ant dist
This creates a torque0.1.zip file in the bin directory
just extract it where ever you want the app to run.this has the 
Torque-1.0.jar . Add this to the classpath. And follow the rest of the
steps

this should solve the problem

regards
shweta


>From: "Hamza Rana" <[EMAIL PROTECTED]>
>Reply-To: "Turbine Users List" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: Problems In Running Torque
>Date: Tue, 1 Jan 2002 11:17:45 +0500
>
>Hi every one.
>I have downloaded the Torque Release 2.1 and tried to run it.
>i ran the ant and it generated class files in SRC directory. I copied
>those SRC directory files to my project SRC directory and compiled
them.
>When i try to run the code, following are the issues i got in them
>
>1- There is no TorqueResources.properties File in it. Which i have seen
>in many code snippets that they use this file to Initialize Torque
>Environment
>2- There is no class as Torque, there is a class as TurbineConfig which
>has method init() in it and whoes constructor take
>TurbineResource.properties (which was also not in the distribution) as
>constructor parameter
>3- Even if i run some code like following it gives exeption as database
>not found....:(
>       TurbineConfig config = new TurbineConfig( "",
>"webapps/WEB-INF/TurbineResources.properties" );
>       config.init();
>
>Please help me in setting up the environment as i am unable to find
many
>things which have been discussed in the mailing list (like Torque Class
>and TorqueResources.properties file).
>Thank you
>Regards
>Hamza Rana
>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
>




_________________________________________________________________
Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp.


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to