velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Finkelstein <>
Subject mergeTemplate() bug under Windows
Date Mon, 26 Mar 2001 21:05:49 GMT
Hi --

We've noticed the following problem in Velocity.  Under Windows, the 
following call	

	Velocity.mergeTemplate("C:/builds/template.html", ctx, fw);

will fail.  (The slashes could be backslashes and the same problem occurs.)

Internally, Velocity prepends a / character to "C:/builds/template.html" 
which makes the filename specification invalid, and the file can't be 


View raw message