velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Hooke" <ke...@kevinhooke.com>
Subject Re: ResourceNotFoundException trying to use FileResouceLoader
Date Wed, 19 Mar 2003 22:20:45 GMT
that works, thanks!

Kevin
----- Original Message -----
From: "Bill Burton" <billb@progress.com>
To: "Velocity Users List" <velocity-user@jakarta.apache.org>
Sent: Wednesday, March 19, 2003 12:45 PM
Subject: Re: ResourceNotFoundException trying to use FileResouceLoader


> 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
>
>



---------------------------------------------------------------------
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