tirenweb
tirenweb

Reputation: 31749

Compile a GWT project with Eclipse

I'm trying to compile the StackWatcher example, but after selecting "GWT Compile project.." an dialog is opened, but it is said:

StockWatcher is not a GWT project.

The "Compile" button is also enable.

I clicked on Project/Browser.. but it shows an empty window.

Any idea?

Javi

Upvotes: 2

Views: 3514

Answers (3)

user3327332
user3327332

Reputation: 61

Right-click on your project, Google > Web Toolkit Settings... > check Use GWT.

Same for AppEngine, if you're using it.

Upvotes: 6

Matt
Matt

Reputation: 36

If you have the Google plugin installed correctly, right click on your project in the package explorer. There should be a Google Web Toolkit menu entry which allows you to convert your project into a GWT one.

Once the project has been converted you should be able to compile and debug your project as normal.

Upvotes: 2

Thomas Broyer
Thomas Broyer

Reputation: 64561

In the project properties, you probably didn't enable the Google Web Toolkit feature.

Upvotes: 2

Related Questions