tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: svn commit: r1663715 - in /tomcat/trunk/java/org/apache/catalina/startup: ExpandWar.java HostConfig.java LocalStrings.properties
Date Tue, 03 Mar 2015 19:30:59 GMT
> From: Christopher Schultz [mailto:chris@christopherschultz.net] 
> Subject: Re: svn commit: r1663715 - in /tomcat/trunk/java/org/apache/catalina/startup:

> ExpandWar.java HostConfig.java LocalStrings.properties


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

Better to use a unique file name that's not part of the current webapp configuration.  A simple
touch is not appropriate, but setting the timestamp to the .war modification time should work.

 - Chuck


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


Mime
View raw message