"MyWebApp is not a GWT project" - message

3,473 views
Skip to first unread message

Jon_E

unread,
Aug 12, 2010, 4:35:01 PM8/12/10
to Google Web Toolkit
Hi,

How do I launch a project in debug mode in Eclipse that was created
with the command line tool?

- - - Background - - - -

Following the tutorial, I created an application using the command
line:

webAppCreator -out MyWebApp com.mycompany.mywebapp.MyWebApp

Next, I installed the Eclipse plug in. I imported the MyWebApp
project into eclipse.

When I click Projects -> Run As, I do not see an option for "Web
Application" as the tutorial says I should. When I try to compile the
GWT project, I get the message, "MyWebApp is not a GWT project".

When I try to create a debug configuration, the message appears
"Project does not use GWT or GAE".

The gwt-user.jar and gwt-dev.jar of GWT 2.0.4 are both referenced
libraries.

What am I missing?

Thanks in advance.


Katharina Probst

unread,
Aug 13, 2010, 9:53:42 AM8/13/10
to google-we...@googlegroups.com
You need to go to the Project Properties (right-click on your project), under Google, Web Toolkit Settings, and click the button that says "Use Google Web Toolkit" (same for AppEngine, if you're using it). Also, make sure that under Web Application, the button that says "This project has a WAR directory" is clicked.

kathrin



--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


Jon_E

unread,
Aug 13, 2010, 12:38:00 PM8/13/10
to Google Web Toolkit
Thanks, Kathrin. That worked perfectly.
> > google-web-tool...@googlegroups.com<google-web-toolkit%2Bunsubs cr...@googlegroups.com>
> > .
Reply all
Reply to author
Forward
0 new messages