It's not a secret anymore!
The moose likes GWT and the fly likes how to compile Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "how to compile " Watch "how to compile " New topic

how to compile

Layla Rashid
Ranch Hand

Joined: Dec 25, 2006
Posts: 36
I create a gwt web application in eclipse but it didn't create a build.xml file so I am wondering how to recompile it
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10825

Project->Build All

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

Do you have the GWT plugin installed? You click on the GWT compile icon and it does if for you! The plugin rocks.

-Cameron McKenzie
jai sankar

Joined: Mar 15, 2010
Posts: 2
Liwuen Chew

Joined: Mar 11, 2010
Posts: 24
Well, you must click on the GWT compiler tool (looks like a red box). After that you must go to Run ->Run as->Web application.
After that it will start doing several things and a URL will be shown. Copy the URL on your favorite browser and delete the part of it that is after the .html
And with that you will be able to check for your proyect.

There are several tips I can give to you:
a) If you're using Eclipse, don't use Google App Engine. It has several problems with Eclipse.
b) Be sure that the GWT developer plugin is installed on your browser.
c) You will have to change the port for your application after the first time you run it. It can be done on Run->Run configurations->Web applications and there you'll find a box that says "Automatically change port number" and that should do it.

Hope this helps you.
I agree. Here's the link:
subject: how to compile
It's not a secret anymore!