Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-331

Decorator Velocity Template/Macro Cache Permanent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0-M4
    • 2.0-FINAL
    • Layout
    • None

    Description

      Limitiation of Velocity webapp loader that does not support template/macro modification detection causes decorator templates/macros to be cached permanently. A Tomcat restart or disabling of cache is required during decorator development to support hotdeploy.

      This is to be fixed by switching back to a file based loader and configuring the base path using spring system property injection already in place for applicationRoot. When complete, decorator and template modification should be picked up every 10 seconds. The current Velocity Engine management logic may be changed to rely on this functionality to detect macro modifications if it can be made reliable.

      Attachments

        Activity

          People

            rwatler W. Randall Watler
            rwatler W. Randall Watler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: