Hi,

Apologies first of all for cross-posting. This actually belongs more on the Dev list (I think? - Im not sure 100% since this a 3rd-party development)..

I am trying to create a couple themes, and am working on getting the workflow right. Although Velocity doesn't interfere too much with the flow of HTML, and I can get a rough idea of what it'll look like without the markup being fully rendered, I want to setup my workflow so I can work on Velocity templates "live" and see changes immediately. I believe this should be possible?

I have created a separate roller_themes/ directory outside of WEB-INF and set it as my themes.dir.

I am having problems finding the right configuration so that both Velocity and Application / Roller caching is switched off - and that the .vm templates are reparsed/regenerated each time.

For the Application caching, I have tried the following settings in roller-custom.properties:
cache.sitewide.enabled=false
cache.weblogfeed.enabled=false
cache.weblogpage.enabled=false

(of which, I think only cache.weblogpage.enabled=false is really needed).

For turning off Velocity Caching, I have made sure the settings in roller/WEB-INF/velocity.properties are as follows:

theme.resource.loader.cache=false
roller.resource.loader.cache=false
class.resource.loader.cache=false
webapp.resource.loader.cache=false
velocimacro.library.autoreload=true

Naturally I have restarted the web application after making these configuration changes, but unfortunately, to no avail. Restarting the web application of course, reloads the changed templates.

Help very much appreciated. I am not familiar enough with Velocity to know if there is something I am missing.
Many thanks,

Alex

Reply via email to