tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 25373] - Timestamp on generated .java and .class should match the one on .jsp
Date Mon, 01 Mar 2004 17:52:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25373>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25373

Timestamp on generated .java and .class should match the one on .jsp





------- Additional Comments From mariuss@lightspeed.ca  2004-03-01 17:52 -------
Thanks for your reply Tim.

I think that the fix is much simpler. Just timestamp the generated .java and/or
.class files with the same time as the corresponding .jsp file. Nothing else.
There is no need to add a special constant in the generated .java file.

If the container chooses to delete the .class files after loading them then we
have a totally different scenario (and this is not the case). The container will
have to track the time stamp of the loaded classes anyhow or give up on
recompiling jsp pages.

I did find an alternate way of deployment (I delete all the compiled pages), but
this is making the whole recompilation architecure useless, this is not a solution.

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


Mime
View raw message