velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Burton <bi...@progress.com>
Subject Re: ResourceNotFoundException trying to use FileResouceLoader
Date Wed, 19 Mar 2003 20:45:44 GMT
Hello,

Kevin Hooke wrote:
> Following other suggestions in the archive of this mail list I have set the
> following properties to init the engine to use the file resource loader, and
> set the base directory:
 >
> Velocity.init();
> Velocity.setProperty(Velocity.FILE_RESOURCE_LOADER_PATH, _outputDir);
> Velocity.setProperty(Velocity.RESOURCE_LOADER, "file");

Setting properties has no effect after .init() is called.  Change it so 
.init() is called afterwards.

-Bill


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message