Greetings, all,
Hongbing, Cedric, and I were meeting today and Cedric mentionned that he continues to use
Tomcat 5.0.* over Tomcat 5.5.* because the undeploy command for 5.5.* deletes the war
directory. This means that two quickStarts in a row, for example, still lead to
recompiling the system since the associated class files were deleted.
I wasn't aware of this change in behavior until today, and I just confirmed it for
myself. This leads me to the following question: should we change the "hotDeploy" task
to copy the build/war file over to the Tomcat installation directory and then deploying
the application from there?
The advantages of this, as far as I can see, is that it would eliminate the need to
recompile the system each time. The copy should be cheap as well, since it can only copy
files that have actually changed.
It occurs to me that I "optimized" away this copy at some prior time before 5.5, and now
that Tomcat is deleting the directory during the undeploy, we might be better off
reinstating the copy.
Your thoughts?
Cheers,
Philip