mergewebxml can't find RemoteServiceServlet if the RemoteServiceRelativePath
annotation is put on an implemented interface
--------------------------------------------------------------------------------------------------------------------------
Key: MGWT-287
URL: http://jira.codehaus.org/browse/MGWT-287
Project: Maven 2.x GWT Plugin
Issue Type: Bug
Affects Versions: 2.2.0
Reporter: Geert Van Bastelaere
{code}
@RemoteServiceRelativePath("greet")
public interface GreetingService extends RemoteService {
String greetServer(String name) throws IllegalArgumentException;
}
{code}
{code}
public class GreetingServiceImpl extends RemoteServiceServlet implements
GreetingService {
public String greetServer(String input) throws IllegalArgumentException {
return "Hello " + input;
}
}
{code}
{code}
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>2.2.0</version>
<executions>
<execution>
<goals>
...
<goal>mergewebxml</goal>
</goals>
</execution>
</executions>
<configuration>
...
<scanRemoteServiceRelativePathAnnotation>true</scanRemoteServiceRelativePathAnnotation>
<packageNamePerModule>
<myModule>mypackage.gwt.server</myModule>
</packageNamePerModule>
</configuration>
</plugin>
{code}
{code}
[INFO] --- gwt-maven-plugin:2.2.0:mergewebxml (default-cli) @ test-maven-gwt ---
[INFO] auto discovered modules [mypackage.gwt.myModule]
[INFO] 0 servlet(s) merged into D:\projects\test-maven-gwt\target\web.xml
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email