List Info

Thread: editing template files on file system (applicationserver restart needed)




editing template files on file system (applicationserver restart needed)
country flaguser name
United States
2007-02-22 09:27:05
Are all *.vm Files cached when starting the application
server?
When editing a *.vm File the server has to be restarted :-(


We want to include a header.vm file (which is generated
everyday from our
CMS). But the changes are not visible until Tomcat is
restarted. Changes in
the global weblog.vm aren't updated too.

Is there a possibility to turn the "vm cache" off
or to clear the cache? I
tried all caching options in the config file but without
success.
-- 
View this message in context: http://www.nabble.com/editing-template-files
-on-file-system-%28applicationserver-restart-needed%29-tf327
3356s12275.html#a9101883
Sent from the Roller - User mailing list archive at
Nabble.com.


Re: editing template files on file system (applicationserver restart needed)
country flaguser name
United States
2007-02-22 11:23:23
I believe that you can do this by tweaking the
velocity.properties file 
that is in the WEB-INF directory of the webapp.

-- Allen



rguggenb wrote:
> Are all *.vm Files cached when starting the application
server?
> When editing a *.vm File the server has to be restarted
:-( 
> 
> We want to include a header.vm file (which is generated
everyday from our
> CMS). But the changes are not visible until Tomcat is
restarted. Changes in
> the global weblog.vm aren't updated too.
> 
> Is there a possibility to turn the "vm cache"
off or to clear the cache? I
> tried all caching options in the config file but
without success.

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )