I just launch the default welcome application, which is created in Eclipse.
public void onModuleLoad() {
final Button sendButton = new Button("Send");
final TextBox nameField = new TextBox();
nameField.setText("GWT Userrrr");
final Label errorLabel = new Label();
sendButton.addStyleName("sendButton");
RootPanel.get("nameFieldContainer").add(nameField);
RootPanel.get("sendButtonContainer").add(sendButton);
RootPanel.get("errorLabelContainer").add(errorLabel);
}
For some reason, if I changed something, for example. comment the button add()for the button, these changes are not reflected on the website. Even if I click the Update Web Server button in Design Mode. If I do this, I just get:
May 31, 2015 6:30:22 PM com.google.appengine.tools.development.AbstractModule shutdown
INFO: Shutting down module instance default
May 31, 2015 6:30:22 PM com.google.apphosting.utils.jetty.JettyLogger info
INFO: jetty-6.1.x
May 31, 2015 6:30:23 PM com.google.apphosting.utils.jetty.JettyLogger info
INFO: Started SelectChannelConnector@0.0.0.0:8888
May 31, 2015 6:30:23 PM com.google.appengine.tools.development.AbstractModule startup
INFO: Module instance default is running at http://localhost:8888/
May 31, 2015 6:30:23 PM com.google.appengine.tools.development.AbstractModule startup
INFO: The admin console is running at http://localhost:8888/_ah/admin
Reload completed successfully
but the changes do not apply.
The only thing that helps is to recompile the entire GWT project, which, unfortunately, lasts forever and, as such, is not the way I want.
How can I do this job?
source
share