Question

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?

Was it helpful?

Solution

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.

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top