1、window-preference-general-workspace

2、勾选serve modules without publishing:
让tomcat直接使用WebContent下的东西
省去publish到<workspace>\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
勾上它会将tmp0\wtpwebapps下相关的resources删除,
同时会修改Servers/Tomcat v6.0 Server at localhost-config/servers.xml中的serveModulesWithoutPublish=true
以及tmp0/conf/server.xml中的<Context>配置
本文介绍如何在Eclipse中配置Tomcat,通过勾选serve modules without publishing选项,让Tomcat直接读取WebContent目录下的文件,避免publish过程,提高开发效率。此设置会修改server.xml中serveModulesWithoutPublish参数,并清理不必要的资源。
69

被折叠的 条评论
为什么被折叠?



