GWT: web server reboot not working

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();

    // We can add style names to widgets
    sendButton.addStyleName("sendButton");

    // Add the nameField and sendButton to the RootPanel
    // Use RootPanel.get() to get the entire body element
    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?

+4
source share
2 answers

.java server .class .

GWT, javascript.

, , , xxx.gwt.xml

<set-property name="user.agent" value="safari" />

java .

http://www.gwtproject.org/doc/latest/DevGuideDeploying.html

script, webAppCreator war/WEB-INF/classes. , , , GWT , , , .class . script .class , javac , , . RPC , , GWT.

0

, , . , , eclipse , - , , , , , .

-1

All Articles