> 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?

 - Chuck


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to