下载测试了Eclipse3.6,发现修改了JSP文件保存后,Tomcat至少5秒钟之后才开始publish动作,整个过程差不多15秒,并且期间Eclipse基本不能动。Google大法之后发现了bug信息:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=317852
其中一段话如下,内容不解释了,下载wtp-M-3.2.1-20100701091247.zip解压到Eclipse的目录即可
A co-worker of mine has the same problem on Mac OS-X 10.6.4. He has an SSD drive and with Galileo publishing was lightning fast. Now with Helios it takes tens of seconds just to start copying files. During this phase, no I/O activity on disk is performed, while both cores of the CPUs are busy... I'm talking about both a full republish and incremental ones. As suggested by Angel, he tried to install WTP 3.2.1 (M-3.2.1-20100701091247: is this version ok to test?) from http://download.eclipse.org/webtools/downloads/drops/R3.2.1/M-3.2.1-20100701091247/ and he uncompressed the ZIP in the dropins folder (so that he now has the following structure: eclipse/dropins/wtp/plugins and eclipse/dropins/wtp/features). However, the problem seems not to be solved.
Hi! I've downloaded the 3.2.1 version from http://www.eclipse.org/downloads/download.php?file=/webtools/downloads/drops/R3.2.1/M-3.2.1-20100701091247/wtp-M-3.2.1-20100701091247.zip and drop plugins and features folder in my eclipse helios folder Publishing in tomcat works fine now! :D Thank you!!!!!!!!!!!!!!!
将wtp-M-3.2.1-20100701091247.zip文件解压到自己的eclipse安装目录下,重新启动eclipse,clean一下tomcat上的工程,即可正常运行了