如何在App Engine项目中禁用SystemServiceServlet配置? [英] How to disable SystemServiceServlet configuration in App Engine project?

查看:109
本文介绍了如何在App Engine项目中禁用SystemServiceServlet配置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无论项目属性设置为什么,Google Plugin for Eclipse都会在 web.xml 中自动生成以下行:

 < servlet> 
< servlet-name> SystemServiceServlet< / servlet-name>
< servlet-class> com.google.api.server.spi.SystemServiceServlet< / servlet-class>
< init-param>
< param-name>服务< / param-name>
< param-value />
< / init-param>
< / servlet>
< servlet-mapping>
< servlet-name> SystemServiceServlet< / servlet-name>
< url-pattern> / _ ah / spi / *< / url-pattern>
< / servlet-mapping>

有没有办法阻止插件做到这一点?


<在您的项目属性中,在Builders下,如果您禁用了Google App Engine Project Change Notifier,那么web.xml将不会再被修改。
但是,对GAE环境不够敏锐,我不知道哪些是禁用此构建器的副作用。


The Google Plugin for Eclipse auto-generates these lines in web.xml no matter what the project properties are set to:

 <servlet>
  <servlet-name>SystemServiceServlet</servlet-name>
  <servlet-class>com.google.api.server.spi.SystemServiceServlet</servlet-class>
  <init-param>
   <param-name>services</param-name>
   <param-value/>
  </init-param>
 </servlet>
 <servlet-mapping>
  <servlet-name>SystemServiceServlet</servlet-name>
  <url-pattern>/_ah/spi/*</url-pattern>
 </servlet-mapping>

Is there a way to prevent the plugin to do that?

解决方案

In your project Properties, under Builders, if you disable Google App Engine Project Change Notifier, your web.xml won't by modified anymore. However, not been keen enough to the GAE environment, I can't tell which are the side-effects of disabling this builder.

这篇关于如何在App Engine项目中禁用SystemServiceServlet配置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆