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 Nicklas Nordborg)

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 Nicklas Nordborg, 13 years ago

Description: modified (diff)
Owner: changed from everyone to Nicklas Nordborg
Status: newassigned
Note: See TracTickets for help on using tickets.