Opened 13 years ago
Last modified 13 years ago
#1670 closed defect
Extensions installer should set current date+time on extracted files — at Version 1
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | critical | Milestone: | BASE 3.1 |
Component: | web | Version: | |
Keywords: | Cc: |
Description (last modified by )
The current implementation set the file date to the last modified date found in the JAR file. The problem is that this approach may cause Tomcat to not detect file changes since the compiled class in the work-directory may have a newer date (for example, due to a server restart).
One workaround is to always restart Tomcat after updating an extension. Another option is to manually 'touch' the JSP files belonging to the extension. Something like:
cd <base-dir>/www/extensions/foo.jar touch *.jsp
Change History (1)
comment:1 by , 13 years ago
Description: | modified (diff) |
---|---|
Owner: | changed from | to
Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.