You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Roger Ackroyd <ma...@ackroyd.freeserve.co.uk> on 2003/08/02 22:17:19 UTC

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:

 Owner@gabriel /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
Owner@gabriel /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: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Scheduler Parameters

Posted by Mohammad Irfan <m_...@nurulfikri.co.id>.
Hello,
When I use JobEntry(second,minute,hour,weekday,dom,task) parameter
weekday must be filled with int 1-7. Is 1 = monday or Sunday?

thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: TDK - problem building distribution

Posted by Roger Ackroyd <ma...@ackroyd.freeserve.co.uk>.
Missed this off last post
Roger


Re: TDK - problem building distribution

Posted by Roger Ackroyd <ma...@ackroyd.freeserve.co.uk>.
Missed this off last post
Roger

Re: TDK - problem building distribution

Posted by Roger Ackroyd <ma...@ackroyd.freeserve.co.uk>.
Hello Jeff
----- Original Message -----
From: "Jeffery Painter" <pa...@kiasoft.com>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Sunday, August 03, 2003 1:44 AM
Subject: Re: TDK - problem building distribution


> Hi Roger,
>
What I am really trying to achieve is just to get a working example web app
using maven. I was trying to get the web app sample app working that is
bundled with the TDK binary. This is Ant built; all the required jars are
bundled in the TDK dist. lib.
It builds the web app framework ok but when you try to build the table it
says it cannot find the jars but the jars are there
> Could you please send me your APPNAME-conf.xml file and maybe a copy of
There are no -conf.xml files under C:\tdk-2.2 (where I unzipped the binary
dist and set the TDK_HOME env var and already built the webapp framework Ok)
> your TurbineResources.properties file offlist and I'll take a look.
Attached
>
> What platform and versions of java, ant, postgres are you using? I
Win XP Home, java "1.4.1_02", ant 1.5.3-1, postgres 7.3.3 but I dont think
it is to do with these or paths to same, as they have been stable for some
time working correctly with many other things.
> recently tried moving a working app from MySQL to postgres and ran into
The reason I switched to postgres was because of the problems I was having
with MySql on JBoss, then had a load of problems getting postgres working on
this platform. Nightmares. There are known issues with cygwin and postgresql
on windows XP home but these are resolved on this machine.
I am pretty certain there should be no problems with the db
> a few quirks that I may be able to quickly point out if I see these two
> files.
Is this what you need?
Thanks
Roger
>
> Thanks,
>
> Jeff Painter
> painter@kiasoft.com
>
>
> Roger Ackroyd wrote:
>
> >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:
> >
> > Owner@gabriel /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
> >Owner@gabriel /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: turbine-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>
>
>

Re: TDK - problem building distribution

Posted by Roger Ackroyd <ma...@ackroyd.freeserve.co.uk>.
Hello Jeff
----- Original Message -----
From: "Jeffery Painter" <pa...@kiasoft.com>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Sunday, August 03, 2003 1:44 AM
Subject: Re: TDK - problem building distribution


> Hi Roger,
>
What I am really trying to achieve is just to get a working example web app
using maven. I was trying to get the web app sample app working that is
bundled with the TDK binary. This is Ant built; all the required jars are
bundled in the TDK dist. lib.
It builds the web app framework ok but when you try to build the table it
says it cannot find the jars but the jars are there
> Could you please send me your APPNAME-conf.xml file and maybe a copy of
There are no -conf.xml files under C:\tdk-2.2 (where I unzipped the binary
dist and set the TDK_HOME env var and already built the webapp framework Ok)
> your TurbineResources.properties file offlist and I'll take a look.
Attached
>
> What platform and versions of java, ant, postgres are you using? I
Win XP Home, java "1.4.1_02", ant 1.5.3-1, postgres 7.3.3 but I dont think
it is to do with these or paths to same, as they have been stable for some
time working correctly with many other things.
> recently tried moving a working app from MySQL to postgres and ran into
The reason I switched to postgres was because of the problems I was having
with MySql on JBoss, then had a load of problems getting postgres working on
this platform. Nightmares. There are known issues with cygwin and postgresql
on windows XP home but these are resolved on this machine.
I am pretty certain there should be no problems with the db
> a few quirks that I may be able to quickly point out if I see these two
> files.
Is this what you need?
Thanks
Roger
>
> Thanks,
>
> Jeff Painter
> painter@kiasoft.com
>
>
> Roger Ackroyd wrote:
>
> >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:
> >
> > Owner@gabriel /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
> >Owner@gabriel /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: turbine-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>
>
>


Re: TDK - problem building distribution

Posted by Jeffery Painter <pa...@kiasoft.com>.
Hi Roger,

Could you please send me your APPNAME-conf.xml file and maybe a copy of 
your TurbineResources.properties file offlist and I'll take a look.

What platform and versions of java, ant, postgres are you using? I 
recently tried moving a working app from MySQL to postgres and ran into 
a few quirks that I may be able to quickly point out if I see these two 
files.

Thanks,

Jeff Painter
painter@kiasoft.com


Roger Ackroyd wrote:

>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:
>
> Owner@gabriel /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
>Owner@gabriel /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: turbine-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: TDK - problem building distribution

Posted by Jeffery Painter <pa...@kiasoft.com>.
Hi Roger,

Could you please send me your APPNAME-conf.xml file and maybe a copy of 
your TurbineResources.properties file offlist and I'll take a look.

What platform and versions of java, ant, postgres are you using? I 
recently tried moving a working app from MySQL to postgres and ran into 
a few quirks that I may be able to quickly point out if I see these two 
files.

Thanks,

Jeff Painter
painter@kiasoft.com


Roger Ackroyd wrote:

>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:
>
> Owner@gabriel /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
>Owner@gabriel /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: turbine-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>  
>



Scheduler Parameters

Posted by Mohammad Irfan <m_...@nurulfikri.co.id>.
Hello,
When I use JobEntry(second,minute,hour,weekday,dom,task) parameter
weekday must be filled with int 1-7. Is 1 = monday or Sunday?

thank you.


Re: TDK - problem building distribution

Posted by Roger Ackroyd <ma...@ackroyd.freeserve.co.uk>.
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" <le...@mindspring.com>
To: "Turbine Users List" <tu...@jakarta.apache.org>
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:maven@ackroyd.freeserve.co.uk]
> 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:
> 
>  Owner@gabriel /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
> Owner@gabriel /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: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> 
> 
> 

RE: TDK - problem building distribution

Posted by Lee Grey <le...@mindspring.com>.
Roger,

You are running into the same problem I'm having, but on a different line in
build.xml.  I am getting this:

# 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:maven@ackroyd.freeserve.co.uk]
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:

 Owner@gabriel /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
Owner@gabriel /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: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


RE: TDK - problem building distribution

Posted by Lee Grey <le...@mindspring.com>.
Roger,

You are running into the same problem I'm having, but on a different line in
build.xml.  I am getting this:

# 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:maven@ackroyd.freeserve.co.uk]
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:

 Owner@gabriel /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
Owner@gabriel /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: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org