Hi,

I downloaded the tdk-2.2_01.tgz tarball, and unpacked it (to
/usr/local/tdk-2.2). When trying to generate the sample app:

- set tdk.home = /usr/local/tdk-2.2 in build.properties
- ran ant, which failed with:

BUILD FAILED
file:/usr/local/tdk-2.2/build.xml:207:
/usr/local/tdk-2.2/webapps/newapp/WEB-INF/lib not found.

Editing build.xml, I added
207:     <mkdir dir="${tdk.home}/webapps/${tdk.project}/WEB-INF/lib" />

then reran ant which reported success but still didn't copy the libs. Anyway, I
did that manually (copied from tdk/lib to web-inf/lib), and edited
build.properties, added tdk.home, deleted the database section and pasted in
the mysql example code from
http://jakarta.apache.org/turbine/tdk/tdk-howto.html and set the username and
password (twice) as directed.

ant init: worked

startup.sh:
Using CATALINA_BASE:   /usr/local/tdk-2.2
Using CATALINA_HOME:   /usr/local/tdk-2.2
Using CATALINA_TMPDIR: /usr/local/tdk-2.2/temp
Using JAVA_HOME:       /usr/java/j2sdk1.4.2_01

http://127.0.0.1:8080/newapp/servlet/newapp failed with:

Horrible Exception: org.apache.velocity.exception.ResourceNotFoundException:
Unable to find resource 'layouts/Default.vm'
        at
org.apache.velocity.runtime.resource.ResourceManager.getResource(ResourceManager.java)
        at org.apache.velocity.runtime.Runtime.getTemplate(Runtime.java)
        at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java)
        at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java)

Any ideas? This is a clean install, and I haven't touched anything apart from
the setup detailed in the howto.

martin

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

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

Reply via email to