pombreda / google-web-toolkit-incubator

Automatically exported from code.google.com/p/google-web-toolkit-incubator
0 stars 0 forks source link

TreeTableDemo runs in hosted mode but has compilation errors - what environement does it build in #230

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What version of gwt and gwt-incubator are you using?
gwt - I've tried the head of trunk (r4600), 1.5.1 and release 1.6
gwt-incubator - branches/dflorey/tableAddons

Do you have an ant script that will compile TreeTableDemo.

I can get it running in GWTShell via eclipse but am running into issue 
trying to compile it.

What OS and browser are you using?
Windows

Do you see this error in hosted mode, web mode, or both?
- There were two compilation error, but they were just reducing scope of 
overriden method. So I changed them from protected to public.
- Hosted mode work with com.google.gwt.dev.GWTShell, but when I click 
compile from the hosted browser I get a message Ancestor does not have a 
default constructor. If I give it a default constructor it compiles but 
then the javascript throws a ClassCastException (this was we I started 
trying different builds)

(If possible, please include a test case that shows the problem)

Hopefully using the test case you have generously provided, what steps will 
reproduce the problem? 
1.
2.
3.

What is the expected output? What do you see instead?

Workaround if you have one:

Please provide any additional information below,  and thank you for taking 
the time and effort to report this issue, as good issue reports are 
critical for our quest to make GWT's new widgets and libraries shine.

Original issue reported on code.google.com by miller.garym on 4 Feb 2009 at 12:26

GoogleCodeExporter commented 9 years ago

Original comment by ecc%google.com@gtempaccount.com on 9 Feb 2009 at 2:30

GoogleCodeExporter commented 9 years ago
I've been running into the class-cast issue before, so I assume you are using 
the 
annotation based approach for generating the table descritpion.
This is due to a "limitation" of the gwt generator stuff (or should I say a bug 
as it 
is working in hosted mode but the compiled code fails?).
So for now you'll have to go with manually adding the column definitions (see 
wiki 
page)

Original comment by daniel.florey@gmail.com on 9 Feb 2009 at 3:07

GoogleCodeExporter commented 9 years ago
Thanks, I got it to compile by manually defining the table.
I have raised an issue on the GWT issue tracker for this.
http://code.google.com/p/google-web-toolkit/issues/detail?id=3345&sort=-id

Original comment by miller.garym on 9 Feb 2009 at 9:50