velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <ge...@optonline.net>
Subject Re: Cannot find template messages
Date Mon, 19 Mar 2001 01:18:08 GMT
Bojan Smojver wrote:
> 
> The FileResourceLoader.java writes an error message to the log file when
> it cannot find the template and includes the name of the template in the
> message. This all works fine but could we change lines 174 and 175 in
> that file to be:
> 
> String msg = "FileResourceLoader Error: cannot find resource " +
>             path + template;
> 
> so that people get informed straight away where is the file being pulled
> from (ie. print out the path as well). It will save a hassle or two to
> someone that doesn't read mailing list thoroughly, like me ;-)
> 
> Bojan

Yep : good one...

-- 
Geir Magnusson Jr.                               geirm@optonline.net
Developing for the web?  See http://jakarta.apache.org/velocity/

Mime
View raw message