I don't have a strong opinion. Tomcat 5.0 works perfectly for me. However, if you solve the problem, I might switch to 5.5. Cheers, -Cedric


Aaron Kagawa wrote:
Ah! I noticed that my war directory was being deleted too. But, I didn't know what was causing it.

I'm all for any solution that solves the deploy problems that I am having.

thanks, Aaron

At 03:49 PM 9/11/2006, you wrote:
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

Reply via email to