velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@binarix.com>
Subject Cannot find template messages
Date Mon, 19 Mar 2001 00:16:40 GMT
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

Mime
View raw message