poptanimukesh / google-web-toolkit-incubator

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

Several Warning while compiling GWT code using GWT2.01. and GWT Incubator drop for 2.0.1 #339

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

What version of gwt and gwt-incubator are you using?
Gwt 2.0.1 and Gwt incubator drop for GWT
2.0.1(gwt-incubator-20100204-r1747.jar)
What OS and browser are you using?
Win XP , OpenSuse 11.2 and Mozilla
Do you see this error in hosted mode, web mode, or both?
Both , It happens compile time 
(If possible, please include a test case that shows the problem)
Just  compile a GWT code with GWT2.0.1 and incubator for 2.0.1
Hopefully using the test case you have generously provided, what steps will
reproduce the problem? 
1.Add the GWT 2.0.1 and incubator jars in class path and compile your GWT
project module.

What is the expected output? What do you see instead?
Expected out put is a clean compilation but get to see the following errors ;
The following warnings are shown :
-------------------------------------

 Validating newly compiled units
     [java]       [WARN] Warnings in
'jar:file:$Home/gwt-incubator/gwt-incubator-20100204-r1747.jar!/com/google/gwt/w
idgetideas/table/client/FixedWidthGridBulkRenderer.java'
     [java]          [WARN] Line 122: Referencing deprecated class
'com.google.gwt.widgetideas.table.client.overrides.HTMLTable'
     [java]       [WARN] Warnings in
'jar:file:$Home/gwt-incubator/gwt-incubator-20100204-r1747.jar!/com/google/gwt/w
idgetideas/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'
     [java]       [WARN] Warnings in
'jar:file:$Home/gwt-incubator/gwt-incubator-20100204-r1747.jar!/com/google/gwt/w
idgetideas/table/client/GridBulkRenderer.java'
     [java]          [WARN] Line 102: Referencing deprecated class
'com.google.gwt.widgetideas.table.client.overrides.HTMLTable'
     [java]          [WARN] Line 103: Referencing deprecated class
'com.google.gwt.widgetideas.table.client.overrides.Grid'
     [java]          [WARN] Line 104: Referencing deprecated class
'com.google.gwt.widgetideas.table.client.overrides.Grid'
     [java]          [WARN] Line 104: Referencing deprecated class
'com.google.gwt.widgetideas.table.client.overrides.HTMLTable'
     [java]       [WARN] Warnings in
'jar:file:$Home/gwt-incubator/gwt-incubator-20100204-r1747.jar!/com/google/gwt/w
idgetideas/table/client/TableBulkRenderer.java'
     [java]          [WARN] Line 404: Referencing deprecated class
'com.google.gwt.widgetideas.table.client.overrides.HTMLTable'

Workaround if you have one:
None.

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 Tapas.Ad...@gmail.com on 16 Feb 2010 at 10:04

GoogleCodeExporter commented 8 years ago
Hi,
Can we have any update on this issue ? Let us know , if we are missing out 
something 
while doing the upgrade.

Original comment by tapas4...@gmail.com on 21 Feb 2010 at 3:21

GoogleCodeExporter commented 8 years ago
Hello,
any Update on this ?

Original comment by tapas4...@gmail.com on 27 Feb 2010 at 7:14

GoogleCodeExporter commented 8 years ago
Any solution for it?

Original comment by yx1984yx@gmail.com on 1 Apr 2010 at 6:20

GoogleCodeExporter commented 8 years ago
Hi,

I am seeing this issue even with GWT 2.0.3 and latest incubator 
[gwt-incubator-20100204-r1747.jar].

We are going production with GWT2.0.3 but these compile time warnings are 
annoying the build process.

Is there a working around/fix for suppressing these warnings?

GWT moderators can you comment?

Thanks
Sekhar

Is there any work around for this?

Original comment by yempara...@gmail.com on 10 Jun 2010 at 12:54

GoogleCodeExporter commented 8 years ago
i have the same problems... why this is deprecated? and with wich class 
replaced? or with wich library?

Original comment by Mkutil@gmail.com on 24 Jun 2010 at 1:15

GoogleCodeExporter commented 8 years ago
Is there any work around to get rid of this problem ?

Original comment by tapas4...@gmail.com on 25 Jun 2010 at 8:39

GoogleCodeExporter commented 8 years ago
I looked at 
http://code.google.com/p/google-web-toolkit/source/browse/branches/2.1/user/src/
com/google/gwt/user/client/impl/DocumentRootImpl.java?r=8209

Apparently DocumentRootImpl is deprecated and one should "use the direct 
methods provided in {@link Document} instead".

Original comment by jeroen.j...@gmail.com on 27 Jun 2010 at 3:04

GoogleCodeExporter commented 8 years ago
Another programmer with concern for warnings.  Is there a way to suppress the 
com.google.gwt.user.client.impl.DocumentRootImpl warning perhaps?

(I don't like having to ignore warnings because it causes misses of new 
warnings).

Original comment by lynx...@gmail.com on 28 Sep 2010 at 12:22

GoogleCodeExporter commented 8 years ago
Also concerned by this issue. We have been using GlassPanel for some time, it's 
always a bit worrying to see a warning like that - but - the GlassPanel is in 
the incubator not in the main body of the GWT codebase and as such is subject 
to change as needs be.

Original comment by chillysp...@gmail.com on 27 Oct 2010 at 10:44