Mercurial > dive4elements > river
changeset 3540:98fac4872ae6
Add missing imports and fix package declaration of RemoteServiceServlet
flys-client/trunk@5353 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Tue, 04 Sep 2012 10:42:40 +0000 |
parents | 091397efaca5 |
children | ca0db8a0e01e |
files | flys-client/ChangeLog flys-client/pom.xml flys-client/src/main/java/de/intevation/flys/client/client/services/RemoteServiceServlet.java flys-client/src/main/java/de/intevation/flys/client/server/ModuleServiceImpl.java flys-client/src/main/java/de/intevation/flys/client/server/RiverServiceImpl.java flys-client/src/main/webapp/WEB-INF/web.xml |
diffstat | 6 files changed, 41 insertions(+), 37 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/ChangeLog Tue Sep 04 09:19:33 2012 +0000 +++ b/flys-client/ChangeLog Tue Sep 04 10:42:40 2012 +0000 @@ -1,3 +1,10 @@ +2012-09-04 Christian Lins <christian.lins@intevation.de> + + * src/main/java/de/intevation/flys/client/server/RiverServiceImpl.java, + src/main/java/de/intevation/flys/client/server/ModuleServiceImpl.java, + src/main/java/de/intevation/flys/client/client/services/RemoteServiceServlet.java: + Add missing imports and fix package declaration. + 2012-09-04 Raimund Renkert <raimund.renkert@intevation.de> Issue 791.
--- a/flys-client/pom.xml Tue Sep 04 09:19:33 2012 +0000 +++ b/flys-client/pom.xml Tue Sep 04 10:42:40 2012 +0000 @@ -156,6 +156,8 @@ <hostedWebapp>target/www</hostedWebapp> <!-- Ask GWT to create the Story of Your Compile (SOYC) (gwt:compile) --> <soyc>true</soyc> + <port>8882</port> + <logLevel>INFO' -bindAddress 0.0.0.0 -codeServerPort 9992 -logLevel 'INFO</logLevel> </configuration> </plugin>
--- a/flys-client/src/main/java/de/intevation/flys/client/client/services/RemoteServiceServlet.java Tue Sep 04 09:19:33 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/services/RemoteServiceServlet.java Tue Sep 04 10:42:40 2012 +0000 @@ -1,9 +1,9 @@ -package de.intevation.flys.client.server; +package de.intevation.flys.client.client.services; + +import de.intevation.flys.client.server.auth.User; import javax.servlet.http.HttpSession; -import de.intevation.flys.client.server.auth.User; - public class RemoteServiceServlet extends com.google.gwt.user.server.rpc.RemoteServiceServlet {
--- a/flys-client/src/main/java/de/intevation/flys/client/server/ModuleServiceImpl.java Tue Sep 04 09:19:33 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/server/ModuleServiceImpl.java Tue Sep 04 10:42:40 2012 +0000 @@ -1,28 +1,27 @@ package de.intevation.flys.client.server; +import de.intevation.artifacts.common.ArtifactNamespaceContext; +import de.intevation.artifacts.common.utils.XMLUtils; +import de.intevation.artifacts.httpclient.exceptions.ConnectionException; +import de.intevation.artifacts.httpclient.http.HttpClient; +import de.intevation.artifacts.httpclient.http.HttpClientImpl; +import de.intevation.flys.client.client.services.ModuleService; +import de.intevation.flys.client.client.services.RemoteServiceServlet; +import de.intevation.flys.client.server.auth.User; +import de.intevation.flys.client.shared.exceptions.ServerException; +import de.intevation.flys.client.shared.model.DefaultModule; +import de.intevation.flys.client.shared.model.Module; + import java.util.ArrayList; import java.util.List; import javax.xml.xpath.XPathConstants; import org.apache.log4j.Logger; - import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.NodeList; -import de.intevation.artifacts.common.ArtifactNamespaceContext; -import de.intevation.artifacts.common.utils.XMLUtils; -import de.intevation.artifacts.httpclient.exceptions.ConnectionException; -import de.intevation.artifacts.httpclient.http.HttpClient; -import de.intevation.artifacts.httpclient.http.HttpClientImpl; - -import de.intevation.flys.client.client.services.ModuleService; -import de.intevation.flys.client.server.auth.User; -import de.intevation.flys.client.shared.exceptions.ServerException; -import de.intevation.flys.client.shared.model.DefaultModule; -import de.intevation.flys.client.shared.model.Module; - public class ModuleServiceImpl extends RemoteServiceServlet implements ModuleService
--- a/flys-client/src/main/java/de/intevation/flys/client/server/RiverServiceImpl.java Tue Sep 04 09:19:33 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/server/RiverServiceImpl.java Tue Sep 04 10:42:40 2012 +0000 @@ -1,30 +1,26 @@ package de.intevation.flys.client.server; +import de.intevation.artifacts.common.ArtifactNamespaceContext; +import de.intevation.artifacts.common.utils.XMLUtils; +import de.intevation.artifacts.httpclient.exceptions.ConnectionException; +import de.intevation.artifacts.httpclient.http.HttpClient; +import de.intevation.artifacts.httpclient.http.HttpClientImpl; +import de.intevation.flys.client.client.services.RemoteServiceServlet; +import de.intevation.flys.client.client.services.RiverService; +import de.intevation.flys.client.server.auth.User; +import de.intevation.flys.client.shared.exceptions.ServerException; +import de.intevation.flys.client.shared.model.DefaultRiver; +import de.intevation.flys.client.shared.model.River; + import java.util.ArrayList; import java.util.List; import javax.xml.xpath.XPathConstants; -import org.w3c.dom.Document; -import org.w3c.dom.NodeList; -import org.w3c.dom.Element; - import org.apache.log4j.Logger; - - -import de.intevation.artifacts.common.ArtifactNamespaceContext; -import de.intevation.artifacts.common.utils.XMLUtils; - -import de.intevation.artifacts.httpclient.exceptions.ConnectionException; -import de.intevation.artifacts.httpclient.http.HttpClient; -import de.intevation.artifacts.httpclient.http.HttpClientImpl; - -import de.intevation.flys.client.shared.exceptions.ServerException; -import de.intevation.flys.client.shared.model.DefaultRiver; -import de.intevation.flys.client.shared.model.River; -import de.intevation.flys.client.client.services.RiverService; - -import de.intevation.flys.client.server.auth.User; +import org.w3c.dom.Document; +import org.w3c.dom.Element; +import org.w3c.dom.NodeList; /**
--- a/flys-client/src/main/webapp/WEB-INF/web.xml Tue Sep 04 09:19:33 2012 +0000 +++ b/flys-client/src/main/webapp/WEB-INF/web.xml Tue Sep 04 10:42:40 2012 +0000 @@ -7,7 +7,7 @@ <context-param> <param-name>server-url</param-name> - <param-value>http://localhost:8181</param-value> + <param-value>http://localhost:2323</param-value> </context-param> <context-param> @@ -511,7 +511,7 @@ <filter-class>de.intevation.flys.client.server.GGInAFilter</filter-class> <init-param> <param-name>deactivate</param-name> - <param-value>false</param-value> + <param-value>true</param-value> </init-param> </filter>