sorry to pollute the list even more, but i wanted to make it extra clear
that i *did* try this solution:

From: David Demner
Subject: newapp build problems with tdk 2.2.1, java 1.4, ant 1.5.4
Date: Wed, 19 Nov 2003 10:38:10 -0800
...

Hi Robert & Jeffery,

It's probably too late, but I got the same "unable to find resource
sql/db-init/Control.vm" error in tdk 2.2.1:

I added the files in TDK_HOME/tdk/lib to my classpath (one of which
contains the Control.vm) and everything was fine.  Until the next error
(the one that Jeffery Painter mentioned)
...

i wasn't sure which classpath he was referring to, so i tried
torque-classpath in build-torque.xml. still get the same error. is there
some other classpath that i should change?

On Fri, 5 Dec 2003 17:27:24 -0500
Jacob Kuenzel <[EMAIL PROTECTED]> wrote:

> i'm pretty new to turbine, so there's a good chance that i'm screwing
> something up. however, i have been working on this for at least 24
> hours with no success.
> 
> all i want is a working TDK. i've tried versions 2.2, 2.2_01, 2.2a2,
> 2.2-rc1, 2.3.1_b1.200331204, and 2.3-20030905, and have gotten one of
> two errors at the 'ant init' stage with all of them. i've found many
> mail messages discussing both problems, but none of the solutions have
> worked for me.
> 
> the first error occurs with 2.2_01 (among others). the output of 'ant
> init' follows.
> 
> ...
> create-db:
> ...
> BUILD FAILED
> file:/home/jacob/applications/tdk-2.2_01/webapps/newapp/WEB-INF/build
> /b uild-torque.xml:284: Resource not found. For more information
> consult the velocity log, or invoke ant with the -debug flag.
> ...
> 
> in velocity.log, the following error is found.
> 
> ...
> Fri Dec 05 17:13:43 EST 2003  [error] ResourceManager : unable to find
> resource 'sql/db-init/Control.vm' in any resource loader.
> 
> the jar file ${tdk.home}/lib/tdk/torque-3.0.jar, however, contains
> this file, and *appears* to be included in the torque-classpath found
> in build-torque.xml. i'm at a loss for how to get velocity to use the
> jar file, though.
> 
> the second problem occurs with 2.2a2. the output of 'ant init'
> follows.
> 
> ...
> turbine-sql:
> ...
> BUILD FAILED
> java.lang.VerifyError: (class:
> org/apache/turbine/torque/engine/database/transform/XmlToAppData,
> method: parseFile signature:
> (Ljava/lang/String;)Lorg/apache/turbine/torque/engine/database/model/
> Ap pData;) Incompatible object argument for function call        at
> org.apache.turbine.torque.TorqueSQLTask.initControlContext(TorqueSQLT
> as k.java:153)
> ...
> 
> the discussions of this problem all seem to blame using versions of
> ant greater than 1.3, or java 1.4. i've been trying to figure out how
> 2.2a2 avoids the problem i'm having with 2.2_01, but the directory
> structures are so different that this is proving to be quite
> difficult.
> 
> details which might be helpful include the fact that i'm running this
> on a debian unstable system with the following java tool versions:
> 
> $ ant -version
> Apache Ant version 1.5.4 compiled on September 22 2003
> $ java -version
> java version "1.4.1"
> Java(TM) 2 Runtime Environment, Standard Edition (build
> Blackdown-1.4.1-01) Java HotSpot(TM) Client VM (build
> Blackdown-1.4.1-01, mixed mode)
> 
> i honestly don't care too much about what version of TDK i end up
> using, but i really just want it to work. are there any other versions
> i should try, or anything i'm doing wrong/not doing?
> 
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to