Velocity Macros

View: New views
5 Messages — Rating Filter:   Alert me  

Velocity Macros

by Sheldon Ross :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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/

Antwort: Velocity Macros

by Uwe Schmidt-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Add this line to turbineresources.properties

services.VelocityService.velocimacro.library.autoreload = true

Regards

  Uwe Schmidt




Sheldon Ross <ross_sheldon@...>
24.03.2009 23:30
Bitte antworten an
"Turbine Users List" <user@...>


An
<turbine-user@...>
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: user-unsubscribe@...
For additional commands, e-mail: user-help@...


RE: Antwort: Velocity Macros

by Sheldon Ross :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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: user@...
> Subject: Antwort: Velocity Macros
> From: uwe.schmidt@...
> 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 <ross_sheldon@...>
> 24.03.2009 23:30
> Bitte antworten an
> "Turbine Users List" <user@...>
>
>
> An
> <turbine-user@...>
> 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: user-unsubscribe@...
> For additional commands, e-mail: user-help@...
>

_________________________________________________________________
Internet Explorer 8 – Now Available. Faster, safer, easier.
http://clk.atdmt.com/MRT/go/141323790/direct/01/

Re: Antwort: Velocity Macros

by Eric Hands :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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: user@...
>> Subject: Antwort: Velocity Macros
>> From: uwe.schmidt@...
>> 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 <ross_sheldon@...>
>> 24.03.2009 23:30
>> Bitte antworten an
>> "Turbine Users List" <user@...>
>>
>>
>> An
>> <turbine-user@...>
>> 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: user-unsubscribe@...
>> For additional commands, e-mail: user-help@...
>>
>
> _________________________________________________________________
> Internet Explorer 8 – Now Available. Faster, safer, easier.
> http://clk.atdmt.com/MRT/go/141323790/direct/01/


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...


RE: Antwort: Velocity Macros

by Sheldon Ross :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


That did it thanks, I actually had that but it was beneath the autoreload line.

I simply moved it above the other line, and Voila it works.

Thanks Alot!!!

> From: ehands@...
> Subject: Re: Antwort: Velocity Macros
> Date: Wed, 25 Mar 2009 14:22:48 -0500
> To: user@...
>
> 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: user@...
> >> Subject: Antwort: Velocity Macros
> >> From: uwe.schmidt@...
> >> 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 <ross_sheldon@...>
> >> 24.03.2009 23:30
> >> Bitte antworten an
> >> "Turbine Users List" <user@...>
> >>
> >>
> >> An
> >> <turbine-user@...>
> >> 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: user-unsubscribe@...
> >> For additional commands, e-mail: user-help@...
> >>
> >
> > _________________________________________________________________
> > Internet Explorer 8 – Now Available. Faster, safer, easier.
> > http://clk.atdmt.com/MRT/go/141323790/direct/01/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@...
> For additional commands, e-mail: user-help@...
>

_________________________________________________________________
Express your personality in color! Preview and select themes for Hotmail®.
http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme