No, that's not the case with my problem, or that other person's that I quoted.  I have 
all the jars in ..\webapps\newapp\WEB-INF\lib, including turbine-3.0.jar which 
contains the class that I'm getting the error on!  That's what's so infuriating about 
this.

In fact, I used the very same .tar.gz installation file on Windows and Linux, and the 
Windows version works on two machines.  I upgraded ant on my Linux box to see if that 
fixed it, but it didn't.

My workaround was to do the ant init in Windows and ftp the entire application to 
Linux.  That worked.

But something's wrong and very weird.  Ant is failing on a class that is clearly 
available.  Any thoughts from the Turbine team?

Thanks,
Lee

-------Original Message-------
From: Roger Ackroyd <[EMAIL PROTECTED]>
Sent: 08/04/03 09:13 AM
To: Turbine Users List <[EMAIL PROTECTED]>
Subject: Re: TDK - problem building distribution

> 
> Lee
It fails because none of the jars get copied into into the  
..\webapps\newapp\WEB-INF\lib on the first of the ant builds. You  will probably find
that it is empty.
Note there is a \tdk\lib folder under the TDK_HOME full of jars.. I just
copied the lot into the ..\WEB-INF\lib and ant init then runs fine.
I am wondering if the TDK has been 'mavenised' in some way but this does
not seem quite right because there are no project.xml files. 
As you may know, a Maven build would normally obtain all the jars it needs 
from a central repository as it needs them at buildtime (pretty neat).
If this is a/the solution then a note to that effect might have been
expected in a ReadME. As it stands, the distribution build is 'broken' according 
to the instructions as given. Have a try with that and see how it goes.
Roger
  
----- Original Message ----- 
From: "Lee Grey" <[EMAIL PROTECTED]>
To: "Turbine Users List" <[EMAIL PROTECTED]>
Sent: Monday, August 04, 2003 3:08 AM
Subject: RE: TDK - problem building distribution


> Roger,
> 
> You are running into the same problem I'm having, but on a different
line in
> build.xml.  I am getting this:
> e
> # ant init
> Buildfile: build.xml
> check-webinf-exists:
> setup-webinf:
> init:
> setup:
> init-tasks:
> create-database:
> BUILD FAILED
> file:/var/tdk-2.2/webapps/newapp/WEB-INF/build/build-torque.xml:91:
taskdef
> class org.apache.torque.task.TorqueJDBCTransformTask cannot be found
> 
> Interestingly, I found someone else
> (http://www.computing.net/programming/wwwboard/forum/7251.html) who has
this
> error:
> 
> $ ant -f build-torque.xml create-db
> Buildfile: build-torque.xml
> BUILD FAILED
> file:c:/torque-3.0.1/build-torque.xml:87: taskdef class
> org.apache.torque.task.TorqueDataModelTask cannot be found
> 
> 
> I've succeeded in doing this whole process on a Windows machine, but I
can't
> get past this error on my Linux box.  I have checked within
torque-3.0.jar
> in the lib directory, and it contains the "missing" class.
> 
> Now that there are at least three people having this problem, it seems
to be
> something more significant than mere operator error.  Any ideas?
> 
> Thanks,
> Lee Grey
> 
> 
> -----Original Message-----
> From: Roger Ackroyd [mailto:[EMAIL PROTECTED]
> Sent: Saturday, August 02, 2003 4:17 PM
> To: Turbine Users List
> Subject: TDK - problem building distribution
> 
> 
> Am attempting to Install the TDK 2.2.1 distribution .tar and build the
> sample Turbine application following:
> http://jakarta.apache.org/turbine/tdk/tdk-howto.html
> Everything behaves as expected until step 5 when following is the
result:
> 
>  [EMAIL PROTECTED] /c/tdk-2.2/webapps/newapp/web-inf/build
> $ ant init
> Buildfile: build.xml
> check-webinf-exists:
> setup-webinf:
> init:
> setup:
> init-tasks:
> BUILD FAILED
> file:C:/tdk-2.2/webapps/newapp/web-inf/build/build.xml:133: taskdef
class
> org.apache.velocity.texen.
> ant.TexenTask cannot be found
> Total time: 1 second
> [EMAIL PROTECTED] /c/tdk-2.2/webapps/newapp/web-inf/build
> $
> 
> I have read and understand the purpose of each step described in the
> document. All env. vars. are set correctly.
> Only changes made are those indicated in document.
> The database is set up for PostgreSQL but I do'nt think from the above
that
> we have reached that point.
> I was hoping that using this distribution I would eliminate all the
problems
> I have had in building any Turbine application that I can use to get on
to
> using Maven effectively.
> Have been on with this and turbine/torque for a good few frustrating
days
> now so any assistance would be gladly appreciated
> Thank you
> Roger
> 
> 
> 
> ---------------------------------------------------------------------
> 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]
> 
> 
> 
> 

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

Reply via email to