You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Sheldon Ross <ro...@hotmail.com> on 2009/03/24 23:29:29 UTC
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/
RE: Antwort: Velocity Macros
Posted by Sheldon Ross <ro...@hotmail.com>.
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@ehandsinc.com
> Subject: Re: Antwort: Velocity Macros
> Date: Wed, 25 Mar 2009 14:22:48 -0500
> To: user@turbine.apache.org
>
> 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@turbine.apache.org
> >> Subject: Antwort: Velocity Macros
> >> From: uwe.schmidt@geagroup.com
> >> 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 <ro...@hotmail.com>
> >> 24.03.2009 23:30
> >> Bitte antworten an
> >> "Turbine Users List" <us...@turbine.apache.org>
> >>
> >>
> >> An
> >> <tu...@jakarta.apache.org>
> >> 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@turbine.apache.org
> >> For additional commands, e-mail: user-help@turbine.apache.org
> >>
> >
> > _________________________________________________________________
> > Internet Explorer 8 – Now Available. Faster, safer, easier.
> > http://clk.atdmt.com/MRT/go/141323790/direct/01/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@turbine.apache.org
> For additional commands, e-mail: user-help@turbine.apache.org
>
_________________________________________________________________
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
Re: Antwort: Velocity Macros
Posted by Eric Hands <eh...@ehandsinc.com>.
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@turbine.apache.org
>> Subject: Antwort: Velocity Macros
>> From: uwe.schmidt@geagroup.com
>> 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 <ro...@hotmail.com>
>> 24.03.2009 23:30
>> Bitte antworten an
>> "Turbine Users List" <us...@turbine.apache.org>
>>
>>
>> An
>> <tu...@jakarta.apache.org>
>> 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@turbine.apache.org
>> For additional commands, e-mail: user-help@turbine.apache.org
>>
>
> _________________________________________________________________
> Internet Explorer 8 – Now Available. Faster, safer, easier.
> http://clk.atdmt.com/MRT/go/141323790/direct/01/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@turbine.apache.org
For additional commands, e-mail: user-help@turbine.apache.org
RE: Antwort: Velocity Macros
Posted by Sheldon Ross <ro...@hotmail.com>.
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@turbine.apache.org
> Subject: Antwort: Velocity Macros
> From: uwe.schmidt@geagroup.com
> 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 <ro...@hotmail.com>
> 24.03.2009 23:30
> Bitte antworten an
> "Turbine Users List" <us...@turbine.apache.org>
>
>
> An
> <tu...@jakarta.apache.org>
> 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@turbine.apache.org
> For additional commands, e-mail: user-help@turbine.apache.org
>
_________________________________________________________________
Internet Explorer 8 – Now Available. Faster, safer, easier.
http://clk.atdmt.com/MRT/go/141323790/direct/01/
Antwort: Velocity Macros
Posted by Uwe Schmidt <uw...@geagroup.com>.
Add this line to turbineresources.properties
services.VelocityService.velocimacro.library.autoreload = true
Regards
Uwe Schmidt
Sheldon Ross <ro...@hotmail.com>
24.03.2009 23:30
Bitte antworten an
"Turbine Users List" <us...@turbine.apache.org>
An
<tu...@jakarta.apache.org>
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@turbine.apache.org
For additional commands, e-mail: user-help@turbine.apache.org