Permalink
Browse files

Fix GWT DevMode

  • Loading branch information...
1 parent ac1ab45 commit be5bc1c7317c8ce383c7cb79fad32df6f85f5486 @seanf seanf committed Aug 22, 2012
Showing with 26 additions and 1 deletion.
  1. +6 −0 zanata-war/pom.xml
  2. +20 −1 zanata-war/src/main/webapp/WEB-INF/web.xml
View
@@ -1084,6 +1084,12 @@
</dependency>
<dependency>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>jsp-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>provided</scope>
@@ -1,5 +1,5 @@
<web-app>
- <display-name>Zanata WebTrans GWT Application</display-name>
+ <display-name>Zanata WebTrans GWT Application (dummy mode)</display-name>
<filter>
<filter-name>gwtCacheControlFilter</filter-name>
@@ -32,6 +32,25 @@
<url-pattern>/webtrans/gwt-log</url-pattern>
</servlet-mapping>
+ <servlet>
+ <servlet-name>jUnitHostImpl</servlet-name>
+ <servlet-class>com.google.gwt.junit.server.JUnitHostImpl</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>jUnitHostImpl</servlet-name>
+ <url-pattern>/webtrans/junithost/*</url-pattern>
+ </servlet-mapping>
+
+ <servlet>
+ <servlet-name>remoteLoggingService</servlet-name>
+ <servlet-class>com.google.gwt.gen2.logging.server.RemoteLoggingService</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>remoteLoggingService</servlet-name>
+ <url-pattern>/webtrans/logging</url-pattern>
+ </servlet-mapping>
+
+
<welcome-file-list>
<welcome-file>/webtrans/Application.html</welcome-file>
</welcome-file-list>

0 comments on commit be5bc1c

Please sign in to comment.