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

Deploy tool does not keep file dates in WAR file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.3
    • 2.2.0
    • Deployment
    • None
    • Seen on Windows 2000 and Windows XP. Not tested on any other platform

    Description

      After adding a jar full of custom tags (written as JSP scriptlets) to my project, Tomcat insisted on compiling every page plus the tags from the jar on every page access. Needless to say, performance was a bit pedestrian.

      Since then, I have researched the problem, but unfortunately it came right of its own accord - I cannot reproduce it. But I did notice that the re-packaged .war file emiited to Tomcat has all the file modification dates set to "now". I suspect the issue may arise when a run of the deploy tool spans two windows clock ticks.

      The fix is trivial - I will attach an updated source file

      Attachments

        1. JetspeedDeploy.java
          12 kB
          Ron McNulty

        Activity

          People

            ate Ate Douma
            rmcnulty Ron McNulty
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: