Gergely Timar wrote:
> 
> Hello!
> 
> 2001. 01. 26.-n, 6:06:53-kor, you wrote:
> 
> GMJ> I don't know much about Turbine or the TDK, but a little about Velocity,
> GMJ> so let me ask the obvious : what changed *today* ?
> 
> During the weekend I succeeded in narrowing down the problem.  It
> seems that the change was in our directory structure.

Ah!

> Until recently,
> all our templates were in the /templates/screens directory.  Now we
> have created some more sub directories under screens and moved some
> templates there.  The following are the symptoms: if we try to access
> a template under any of the sub directories (of screens) our templates
> are not found, because velocity tries to open the sub directory, and
> NOT the file in the sub directory (according to the velocity logs).

That means that velocity is being called with the subdir in place of the
template.  Again, I know nothing about Turbine (gotta fix that some
day... :), but it sounds like a simple problem, where if you are
contatenating the subdir with the template name somewhere, it's either
a) done wrong, b) you are passing the subdir only into vel, or c) there
is a really wierd bug in Vel.  I would bet on a) or b) before c) :)


> If
> however the same templates are moved under screens, then everything is
> working fine.  This happens both under tdka9 and tdka10. The templates
> are called like:
> http://127.0.0.1/test/servlet/test/template/subdir1/test.vm (doesn't
> work) and
> http://127.0.0.1/test/servlet/test/template/test.vm (does work)
> 
> Does this offer any hints as to what is causing it?

Sending me (or the list) your log might, although I am hoping one of the
Turbine / TDK guru's will jump right in here.  Feel free to send me the
log entries (or to the list... ).


> 
> --
> Ciao,
>  Greg                            mailto:[EMAIL PROTECTED]
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]

-- 
Geir Magnusson Jr.                               [EMAIL PROTECTED]
Velocity : it's not just a good idea. It should be the law.
http://jakarta.apache.org/velocity


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to