nikhilbchilwant / google-web-toolkit-incubator

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

Need a drop for GWT 2.1.0 #377

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If you want to see this feature/enhancement implemented, please star this issue 
by clicking on the star in the upper left hand corner of this page.

== Enhancement Description ==

We need a incubator drop for GWT 2.1.0 release. I am using the 
gwt-incubator-20100204-r1747 which is not so compatible with GWT 2.1.0 release. 
I am getting the following errors while compiling my code which uses GWT 
incubator gwt-incubator-20100204-r1747 along with GWT 2.1.0.

ERROR :
----------
 Validating newly compiled units
     [java]       [ERROR] Errors in 'jar:file:/home/atapas/My_Work/projects/gwt-incubator/gwt-incubator-20100204-r1747.jar!/com/google/gwt/gen2/widgetbase/client/Gen2Widget.java'
     [java]          [ERROR] Line 114: The return type is incompatible with Widget.createHandlerManager()

WARNING :
-------------
     [java]       [WARN] Warnings in 'jar:file:/home/atapas/My_Work/projects/gwt-incubator/gwt-incubator-20100204-r1747.jar!/com/google/gwt/widgetideas/client/impl/GlassPanelImpl.java'
     [java]          [WARN] Line 30: Referencing deprecated class 'com.google.gwt.user.client.impl.DocumentRootImpl'
     [java]          [WARN] Line 38: Referencing deprecated class 'com.google.gwt.user.client.impl.DocumentRootImpl'

Original issue reported on code.google.com by Tapas.Ad...@gmail.com on 9 Nov 2010 at 4:53

GoogleCodeExporter commented 9 years ago
Yes, please. We need this one. I'm getting the same errors.

What's the best approach to follow ?

Original comment by rjankie on 12 Nov 2010 at 1:54

GoogleCodeExporter commented 9 years ago
I believe that everyone has this problem... I also vote for this to be resolved 
ASAP. Most GWT users probably use the incubator in one way or another - e.g. 
for the simple reason that there is no Slider widget in the standard library...

Also it would be very desireable to get rid of all the other warnings, mostly 
regarding the use of LONG deprecated Classes being used in the incubator.

I seems that currently one has no choice but to ignore the error in question, 
not use incubator OR simply not upgrade to 2.1.0...

Original comment by xxedg...@gmail.com on 16 Nov 2010 at 2:17

GoogleCodeExporter commented 9 years ago
I downloaded the latest from trunk and tried to build gwt-incubator with 
gwt-2.1.0. The build was successful. Only when using the library in my 
application I get this error:

[gwt-compile]    [ERROR] Errors in 
'jar:file:/maven-repository/com/google/gwt-incubator/gwt-incubator/20101116/gwt-
incubator-20101116.jar!/com/google/gwt/widgetideas/client/GlassPanel.java'
[gwt-compile]       [ERROR] Line 91:  Rebind result 
'com.google.gwt.widgetideas.client.impl.GlassPanelImpl' cannot be abstract
[gwt-compile]    [ERROR] Cannot proceed due to previous errors

And then the compilation stops. It's rather hard to continue now. Can someone 
verify the error and indicate how to continue ?

Original comment by rjankie on 16 Nov 2010 at 4:14

GoogleCodeExporter commented 9 years ago
Hi

Im also getting this issue when im trying to implement a pagingScrollTable. I 
vote for this to be resolved ASAP as my basic requirement needs to be 
implemented with the help of  GWT - Incubator. 

Error Details:

[ERROR] [gwtproject] Errors in 
'jar:file:/home/arunrekha/AppEngineWorkspace/GWTproject/war/WEB-INF/lib/gwt-incu
bator-20100204-r1747.jar!/com/google/gwt/gen2/widgetbase/client/Gen2Widget.java'
17:39:45.680 [ERROR] [gwtproject] Line 114: The return type is incompatible 
with Widget.createHandlerManager()

Thanks!

Original comment by arunre...@google.com on 17 Nov 2010 at 1:50

GoogleCodeExporter commented 9 years ago
Just one minor comment. 

Not sure if everyone's realised this (and I didn't at first), but the error can 
be considered only a compiler warning depending on which bits of incubator 
you're using. i.e., you may still be able to carry on and run your application. 

For example, we were just using logging and GWTCanvas. We got the error as 
described, but then the GWT compile continues and the app is OK. 

Not great, and obviously if you're using any of the incompatible widgets it 
really won't work, but worth mentioning I think.

Original comment by jdmw...@gmail.com on 17 Nov 2010 at 1:00

GoogleCodeExporter commented 9 years ago
And we now have out 2.1 drop 
(http://code.google.com/p/google-web-toolkit-incubator/wiki/Downloads?tm=2).

Thanks!

Original comment by erik.mej...@gmail.com on 17 Nov 2010 at 6:37

GoogleCodeExporter commented 9 years ago
Great news ... Have anybody tried this drop with GWT 2.1.0. Does it resolve all 
the WARNING and ERROR issues described above ?

Original comment by Tapas.Ad...@gmail.com on 18 Nov 2010 at 5:52

GoogleCodeExporter commented 9 years ago
Thanks guys!

I have tried and it is give me this as output!

[gwt-compile]          Compiling
[gwt-compile]             Compiling permutation 11...
[gwt-compile]    Compile of permutations succeeded
[gwt-compile] Linking into 
E:\\qafe\platform\trunk\qafe-web-gwt\src\main\webapp\qafegwt
[gwt-compile]    Link succeeded
[gwt-compile]    Compilation succeeded -- 210,468s

It seems oke now! I will have to test if at runtime things break.
So far so good!

Thanks a lot.

BTW. Not all the warnings are resolved. 

 [WARN] Warnings in 'jar:file:/E:/u01/hudson-workingdirectory/qafe/buildmanagement/qafe/platform/trunk/maven-repository/com/google/gwt-incubator/gwt-incubator/20101117-r1766/gwt-incubator-20101117-r1766.jar!/com/google/gwt/widgetideas/client/impl/GlassPanelImpl.java'
[gwt-compile]          [WARN] Line 30: Referencing deprecated class 
'com.google.gwt.user.client.impl.DocumentRootImpl'
[gwt-compile]          [WARN] Line 38: Referencing deprecated class 
'com.google.gwt.user.client.impl.DocumentRootImpl'
[gwt-compile]       [WARN] Warnings in 
'jar:file:/E:/u01/hudson-workingdirectory/qafe/buildmanagement/qafe/platform/tru
nk/maven-repository/com/google/gwt-incubator/gwt-incubator/20101117-r1766/gwt-in
cubator-20101117-r1766.jar!/com/google/gwt/widgetideas/table/client/FixedWidthGr
idBulkRenderer.java'
[gwt-compile]          [WARN] Line 122: Referencing deprecated class 
'com.google.gwt.widgetideas.table.client.overrides.HTMLTable'
[gwt-compile]       [WARN] Warnings in 
'jar:file:/E:/u01/hudson-workingdirectory/qafe/buildmanagement/qafe/platform/tru
nk/maven-repository/com/google/gwt-incubator/gwt-incubator/20101117-r1766/gwt-in
cubator-20101117-r1766.jar!/com/google/gwt/widgetideas/table/client/GridBulkRend
erer.java'
[gwt-compile]          [WARN] Line 102: Referencing deprecated class 
'com.google.gwt.widgetideas.table.client.overrides.HTMLTable'
[gwt-compile]          [WARN] Line 103: Referencing deprecated class 
'com.google.gwt.widgetideas.table.client.overrides.Grid'
[gwt-compile]          [WARN] Line 104: Referencing deprecated class 
'com.google.gwt.widgetideas.table.client.overrides.Grid'
[gwt-compile]          [WARN] Line 104: Referencing deprecated class 
'com.google.gwt.widgetideas.table.client.overrides.HTMLTable'
[gwt-compile]       [WARN] Warnings in 
'jar:file:/E:/u01/hudson-workingdirectory/qafe/buildmanagement/qafe/platform/tru
nk/maven-repository/com/google/gwt-incubator/gwt-incubator/20101117-r1766/gwt-in
cubator-20101117-r1766.jar!/com/google/gwt/widgetideas/table/client/TableBulkRen
derer.java'
[gwt-compile]          [WARN] Line 404: Referencing deprecated class 
'com.google.gwt.widgetideas.table.client.overrides.HTMLTable'

Rokesh

Original comment by rjankie on 18 Nov 2010 at 8:15

GoogleCodeExporter commented 9 years ago
Those deprecation warnings look valid.  The widgetideas version of 
PagingScrollTable has been replaced by the gen2 version, which will be replaced 
by the CellTable version in GWT 2.2.  The incubator version of GlassPanel has 
been replaced by the PopupPanel#setGlassEnabled() in GWT trunk.

In general, incubator has some older code.  It continues to work (mostly) 
because we avoid breaking changes, but we are focusing on moving the features 
into GWT trunk and don't plan to fix the warnings.

Original comment by jlaba...@google.com on 18 Nov 2010 at 4:16

GoogleCodeExporter commented 9 years ago
Hi

I tried it. It worked for me. I don't see that error any more.

Thanks a lot!

Original comment by arunre...@google.com on 18 Nov 2010 at 5:32