Skip to content

Commit dbda479

Browse files
Shun Fanlesv
Shun Fan
authored andcommitted
Update web.xml with include tags (#201)
* Update web.xml with include tags update web.xml with include tags for easier incorporation into docs * Update include tags in remote-api pom
1 parent f8be12a commit dbda479

File tree

2 files changed

+6
-2
lines changed
  • appengine/remote

2 files changed

+6
-2
lines changed

appengine/remote/remote-client/pom.xml

+2
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,12 @@
3333
<artifactId>appengine-remote-api</artifactId>
3434
<version>${appengine.sdk.version}</version>
3535
</dependency>
36+
<!-- [START dependencies] -->
3637
<dependency>
3738
<groupId>com.google.appengine</groupId>
3839
<artifactId>appengine-api-1.0-sdk</artifactId>
3940
</dependency>
41+
<!-- [END dependencies] -->
4042
</dependencies>
4143
<build>
4244
<!-- for hot reload of the web application -->

appengine/remote/remote-server/src/main/webapp/WEB-INF/web.xml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- [START_EXCLUDE] -->
2+
<!-- [START EXCLUDE] -->
33
<!--
44
Copyright 2016 Google Inc. All Rights Reserved.
55
Licensed under the Apache License, Version 2.0 (the "License");
@@ -12,11 +12,12 @@
1212
See the License for the specific language governing permissions and
1313
limitations under the License.
1414
-->
15-
<!-- [END_EXCLUDE] -->
15+
<!-- [END EXCLUDE] -->
1616
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee"
1717
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
1818
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
1919
version="2.5">
20+
<!-- [START web] -->
2021
<servlet>
2122
<display-name>Remote API Servlet</display-name>
2223
<servlet-name>RemoteApiServlet</servlet-name>
@@ -27,6 +28,7 @@
2728
<servlet-name>RemoteApiServlet</servlet-name>
2829
<url-pattern>/remote_api</url-pattern>
2930
</servlet-mapping>
31+
<!-- [END web] -->
3032
<servlet>
3133
<servlet-name>remote</servlet-name>
3234
<servlet-class>com.example.appengine.remote.RemoteServlet</servlet-class>

0 commit comments

Comments
 (0)