Chuck, On 3/3/15 1:20 PM, Caldarale, Charles R wrote: >> From: Mark Thomas [mailto:ma...@apache.org] >> Subject: Re: svn commit: r1663715 - in >> /tomcat/trunk/java/org/apache/catalina/startup: >> ExpandWar.java HostConfig.java LocalStrings.properties > >> A bigger issue is anything writing files into the docBase (e.g. some people >> write >> logs here despite it being a bad idea) is going to change the last modified >> time >> of the directory. As much as I like the simplicity of this approach, I think >> an >> alternative is required. > > As Konstantin noted, the timestamp on a directory is rather ephemeral, > especially on Windows or NAS boxes. > > Can you simply record the deployment occurrence by writing a file with some > appropriately Tomcat-specific name into the chosen deployment directory and > set the timestamp on that file to match the .war?
Like touching the timestamp of the context.xml file? Or maybe META-INF/context.xml.stamp or whatever. -chris
signature.asc
Description: OpenPGP digital signature