Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable SystemServiceServlet configuration in App Engine project?

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?

like image 933
Sormuras Avatar asked Oct 09 '12 09:10

Sormuras


2 Answers

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.

like image 148
maxxyme Avatar answered Oct 20 '22 06:10

maxxyme


Remove the above xml from web.xml and add readonly attribute to web

like image 36
Wilfred Avatar answered Oct 20 '22 07:10

Wilfred