revaultch / gwtx

Automatically exported from code.google.com/p/gwtx
0 stars 0 forks source link

GWTX is incompatible with svn and upcoming 1.4 #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install a new snapshot of GWT, for example, the one located here:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/711dc76b5
aefe902/94b21ad4d500758e#94b21ad4d500758e
or a svn checkout.

2.) Web-Compile a project that uses Serializable:
package com.ftest.client;

import java.io.Serializable;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.RootPanel;

public class Test implements EntryPoint, Serializable {
  public void onModuleLoad() {
    final Label label = new Label("onModuleLoad() happened");
    RootPanel.get().add(label);
  }
}

3.) Open it in a brower, your application will not start.

What is the expected output? What do you see instead?
Expected to see "onModuleLoad()" label, saw nothing instead.

What version of the product are you using? On what operating system?
GWT svn, linux using firefox 2, opera 9, and ie 6

Please provide any additional information below.

Original issue reported on code.google.com by t...@deadlyninja.com on 14 Apr 2007 at 11:13

GoogleCodeExporter commented 9 years ago

Original comment by sandy...@gmail.com on 15 Apr 2007 at 1:15

GoogleCodeExporter commented 9 years ago
I'm a little skeptical there is anything I can do to make this work. The GWT 
module
entry point gets special treatment and I've seen other (non-GWTx) issues come 
up with
EntryPoints.

Also, the EntryPoint also implementing Serializable is a bit questionable use.
Serializable from GWTx doesn't do anything for GWT, it's not supported for RPC, 
so
just make your EntryPoint not implement anything else. You may be trying to do 
too
many things with one class.

I'll look into it anywqy.

Original comment by sandy...@gmail.com on 15 Apr 2007 at 1:43

GoogleCodeExporter commented 9 years ago
Works for me for all browsers I have available for me. Tried both GWT 1.3.3 and 
the
0.0.858 preview build. Did you include the right inherits in your gwt.xml file?
Specifically:

<inherits name="com.googlecode.gwtx.Java"/>

Original comment by sandy...@gmail.com on 15 Apr 2007 at 1:59