Eclipse tomcat发布server options说明

Serve modules without publishing:这个选项是WebContent的文件夹会作为动态web project发布过去,用户自定义的context管理类包的依赖,eclipse classpath设置需要的jar都会按照WebDeployment的设置完全移动过去。

Publish module contexts to separate XML files就是server.xml中的context配置会作为单独的文件发布。

 

Tomcat Publishing Options

      Two new options which affect publishing are now available in the Server Options section of the Tomcat server editor. The Tomcat server must be 5.0.x or later for these options to be enabled. The 

Serve modules without publishing

       option does what it says. Web content will be served directly from the "WebContent" folder of the Dynamic Web Project. A customized context is used to make the project's dependencies available in the Web application's classloader. The 

Publish module contexts to separate XML files

       option will publish contexts using the preferred method of separate XML files under the "conf/Catalina/localhost" directory, rather than keeping them in the "server.xml" file. A couple of improvements for this option are noted in Bugs 180931 and 180936. 



Tomcat publishing options

猜你喜欢

转载自zyhui98.iteye.com/blog/2193071