Including gwt-dev as a project dependency

12 views
Skip to first unread message

Matt Raible

unread,
Sep 15, 2009, 2:04:28 PM9/15/09
to gwt-...@googlegroups.com
Hello,

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:

http://development.lombardi.com/?p=15

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.

Thanks,

Matt

Charlie Collins

unread,
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
Forward
0 new messages