db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From suneel gupta <gofor_sun...@yahoo.co.in>
Subject Re: ANT UNABLE TO FIND CLASS
Date Fri, 30 Jan 2004 08:54:07 GMT
 --- Emmanuel Florent <eflorent@formaguide.com> wrote:
> This can happen when you have changed
> torque.properties and get wrong paths.
> This can happen if you have several different jar in
> your classpath.
> Hope this help .
> 
> EF
> 
> 
> 
> On 29 Jan 2004 at 13:04, suneel gupta wrote:
> 
> > HELLO 
> >    EVERYBODY
> > I AM USING torque-3.0-b1.zip  and  
> jakarta-ant-1.4.1
> > for to build torque outside turbine.
> > after unzip the torque-3.0-b1.zip and setting the
> > ANT_HOME AND their path in the ~/.bashrc.
> > when i have want to build torque by typing this
> > command 
> > in the bashe shell then it shows error.But why ant
> > unable to find class whereas i have set the 
> > torque-3.0-b2-dev.jar in the classpath and in this
> jar
> > 
> > contains all of the classes which is required by
> ant
> > for build torque.this creates a problem.
> > The error is 
> > 
> > [sunil@ETS01 torque]$ ant -f build-torque.xml
> > Buildfile: build-torque.xml
> > 
> > main:
> > 
> > project-sql:
> >      [echo]
> > +------------------------------------------+
> >      [echo] |                                     
>    
> > |
> >      [echo] | Generating SQL for YOUR Turbine
> project!
> > |
> >      [echo] | Woo hoo!                            
>    
> > |
> >      [echo] |                                     
>    
> > |
> >      [echo]
> > +------------------------------------------+
> > 
> > BUILD FAILED
> > 
> > /home/sunil/orgi/torque/build-torque.xml:61:
> taskdef
> > class org.apache.torque.task.TorqueSQLTask cannot
> be
> > found
> > 
> > Total time: 6 seconds
> > 
> > Anybody can have solution ?
> > from suneel gupta 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
>
________________________________________________________________________
> > Yahoo! India Mobile: Download the latest
> polyphonic ringtones.
> > Go to http://in.mobile.yahoo.com
> > 
> >
>
---------------------------------------------------------------------
> > 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
>  





 Thank you sir , for your response, but sir I am not
using Torque.properties at that time.
i am only build the torque by configuring
apache-ant-1.6.0 and torque-3.0-b1.zip.
when i have wanted to build the torque then i have
type this command in the shell then it shows error but
why ?
 [sunil@ETS01 torque]$ ant -f build-torque.xml
Buildfile: build-torque.xml

main:

project-sql:
     [echo]
+------------------------------------------+
     [echo] |                                         
|
     [echo] | Generating SQL for YOUR Turbine project!
|
     [echo] | Woo hoo!                                
|
     [echo] |                                         
|
     [echo]
+------------------------------------------+

BUILD FAILED
/home/sunil/orgi/torque/build-torque.xml:28: Following
error occured while executing this line
/home/sunil/orgi/torque/build-torque.xml:61: taskdef A
class needed by class
org.apache.torque.task.TorqueSQLTask cannot be found:
org/apache/tools/ant/Task

Total time: 10 seconds


so sir can you help me To configure Torque as a
standalone.





________________________________________________________________________
Yahoo! India Mobile: Download the latest polyphonic ringtones.
Go to http://in.mobile.yahoo.com

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