Re: Antwort: Velocity Macros

Eric Hands <[email protected]>
Newsgroups gmane.comp.jakarta.turbine.user
Message-ID <[email protected]>
Do you also have this?:

services.VelocityService.file.resource.loader.cache = false

Velocity docs say that autoreload won't work unless loader.cache is  
also false.

Regards,
Eric




On Mar 25, 2009, at 1:27 PM, Sheldon Ross wrote:

>
> I have that line already, it simply does not appear to work. Any  
> one have any clues to why this is? Or any other suggestions?
>
> Thanks.
> Sheldon
>
>> To: [email protected]
>> Subject: Antwort: Velocity Macros
>> From: [email protected]
>> Date: Wed, 25 Mar 2009 08:08:25 +0100
>>
>> Add this line to turbineresources.properties
>>
>> services.VelocityService.velocimacro.library.autoreload = true
>>
>> Regards
>>
>>   Uwe Schmidt
>>
>>
>>
>>
>> Sheldon Ross <[email protected]>
>> 24.03.2009 23:30
>> Bitte antworten an
>> "Turbine Users List" <[email protected]>
>>
>>
>> An
>> <[email protected]>
>> Kopie
>>
>> Thema
>> Velocity Macros
>>
>>
>>
>>
>>
>>
>>
>> I'm having trouble finding where to set a property (if its possible).
>>
>> How do I prevent Velocity from caching macros. It's very  
>> frustrating to
>> have to restart tomcat every time I change a macro.
>>
>> I assume its  a property in TurbineResources but I can't seem to find
>> anything that shuts it off.
>>
>> Thanks
>> Sheldon Ross
>>
>>
>> _________________________________________________________________
>> Internet Explorer 8 ? Now Available. Faster, safer, easier.
>> http://clk.atdmt.com/MRT/go/141323790/direct/01/
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
> _________________________________________________________________
> Internet Explorer 8 – Now Available. Faster, safer, easier.
> http://clk.atdmt.com/MRT/go/141323790/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.