Including gwt-dev as a project dependency

Skip to first unread message

Matt Raible

Sep 15, 2009, 2:04:28 PM9/15/09

In my project, I'm using JSON and RequestBuilder for my services. In order to test the client-side, I'd like to load JSON files from the filesystem and populate my
data model to ensure my JSON parsing is working correctly. To do this, I've created a JsonReaderServlet that subclasses GWTShellServlet and operates as I'd like it to.
I've gotten it to work with help from the following tutorial:

However, when I run the gwt-maven-plugin, I get the following warning:

[WARNING] You should not declare gwt-dev as a project dependency. This may introduce complex dependency conflicts

If it's not recommended that I include gwt-dev in my project as a dependency, are there any suggestions on how to create a Servlet that reads JSON files from the
filesystem for testing purposes? AFAIK, this is the only way to do it since I'm using overlay types, which require execution using GWTTestCase.



Charlie Collins

Sep 16, 2009, 1:27:18 PM9/16/09
to gwt-maven
Sorry to have not responded here sooner, but you have probably figured
this out already, wrong list. Try the codehaus list, please.
Reply all
Reply to author
0 new messages