Skip to content

Commit

Permalink
Add client/shared/server in package name
Browse files Browse the repository at this point in the history
  • Loading branch information
freddyboucher committed Mar 6, 2016
1 parent 04c5a0e commit f5ead44
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 9 deletions.
2 changes: 1 addition & 1 deletion webapp-client/pom.xml
Expand Up @@ -43,7 +43,7 @@
<groupId>net.ltgt.gwt.maven</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<configuration>
<moduleName>com.test.App</moduleName>
<moduleName>com.test.client.App</moduleName>
<moduleShortName>webapp</moduleShortName>
</configuration>
</plugin>
Expand Down
@@ -1,4 +1,4 @@
package com.test;
package com.test.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
Expand All @@ -16,6 +16,10 @@
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.test.shared.FieldVerifier;
import com.test.shared.GreetingResponse;
import com.test.shared.GreetingService;
import com.test.shared.GreetingServiceAsync;

/**
* Entry point classes define <code>onModuleLoad()</code>.
Expand Down
2 changes: 1 addition & 1 deletion webapp-client/src/main/module.gwt.xml
Expand Up @@ -5,7 +5,7 @@

<source path="" />

<entry-point class="com.test.App" />
<entry-point class="com.test.client.App" />

<!-- Only support recent browsers -->
<set-property name="user.agent" value="ie10,gecko1_8,safari" />
Expand Down
@@ -1,6 +1,9 @@
package com.test;
package com.test.server;

import com.google.gwt.user.server.rpc.RemoteServiceServlet;
import com.test.shared.FieldVerifier;
import com.test.shared.GreetingResponse;
import com.test.shared.GreetingService;

/**
* The server side implementation of the RPC service.
Expand Down
2 changes: 1 addition & 1 deletion webapp-server/src/main/webapp/WEB-INF/web.xml
Expand Up @@ -6,7 +6,7 @@
<!-- Servlets -->
<servlet>
<servlet-name>greetServlet</servlet-name>
<servlet-class>com.test.GreetingServiceImpl</servlet-class>
<servlet-class>com.test.server.GreetingServiceImpl</servlet-class>
</servlet>

<servlet-mapping>
Expand Down
@@ -1,4 +1,4 @@
package com.test;
package com.test.shared;

/**
* <p>
Expand Down
@@ -1,4 +1,4 @@
package com.test;
package com.test.shared;

import java.io.Serializable;

Expand Down
@@ -1,4 +1,4 @@
package com.test;
package com.test.shared;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
Expand Down
@@ -1,4 +1,4 @@
package com.test;
package com.test.shared;

import com.google.gwt.user.client.rpc.AsyncCallback;

Expand Down

0 comments on commit f5ead44

Please sign in to comment.