google-code-export / gwt-ext-ux

Automatically exported from code.google.com/p/gwt-ext-ux
1 stars 3 forks source link

GWT-Ext 2.0.5 and GWT-Ext-UX 0.3 incompatibility #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a project that uses GWT-Ext 2.0.5 and GWT-Ext-UX 0.3
2. Compile it
3.

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

Expect no compilation issues.  Instead, when these two libraries are used
in the same project, a number of compilation errors/warnings are displayed:

------ snip -------
     [java] Removing units with errors
     [java]    [ERROR] Errors in
'jar:file:/home/user/Projects/SEASR/Meandre-Workbench/lib/gwtextux-0.3.jar!/com/
gwtextux/client/widgets/upload/SwfUploadPanel.java'
     [java]       [ERROR] Line 81: Cannot reduce the visibility of the
inherited method from GridPanel
     [java] Removing invalidated units
     [java]    [WARN] Compilation unit
'jar:file:/home/user/Projects/SEASR/Meandre-Workbench/lib/gwtextux-0.3.jar!/com/
gwtextux/client/widgets/upload/SwfUploadPanelListener.java'
is removed due to invalid reference(s):
     [java]       [WARN]
jar:file:/home/user/Projects/SEASR/Meandre-Workbench/lib/gwtextux-0.3.jar!/com/g
wtextux/client/widgets/upload/SwfUploadPanel.java
     [java]    [WARN] Compilation unit
'jar:file:/home/user/Projects/SEASR/Meandre-Workbench/lib/gwtextux-0.3.jar!/com/
gwtextux/client/widgets/upload/SwfUploadPanelListenerAdapter.java'
is removed due to invalid reference(s):
     [java]       [WARN]
jar:file:/home/user/Projects/SEASR/Meandre-Workbench/lib/gwtextux-0.3.jar!/com/g
wtextux/client/widgets/upload/SwfUploadPanel.java
--------- snip --------

What version of the product are you using? On what operating system?
GWT-Ext 2.0.5 and GWT-Ext-UX 0.3 on Linux

Please provide any additional information below.

Original issue reported on code.google.com by bor...@gmail.com on 8 Sep 2008 at 3:46

GoogleCodeExporter commented 9 years ago
Hi Borice,

I unzipped the gwtext and gwtextux source files and took a look.  Turns out the
inherited method from GridPanel is public but for some reason the SwfUploadPanel
declares it private.  

I simply changed the method visibility to public, recompiled, and updated the 
jar. 
These compile errors are gone for me now. 

I've attached the fixed gwtextux.jar.  Let me know if this works for you...I 
think
this is pretty much all that's needed to get the user extensions up and running 
with
2.0.5.

~jtriley

Original comment by justin.t...@gmail.com on 9 Sep 2008 at 7:29

Attachments:

GoogleCodeExporter commented 9 years ago
Thx Justin...  Another manual fix is to open SwfUploadPanel from your current 
jar and 
make the instance method public and compile it.  However, the jar created by 
Justing 
should be easier and faster :)

Original comment by mlim1...@gmail.com on 9 Sep 2008 at 7:41

GoogleCodeExporter commented 9 years ago
Thanks guys -- I feel bad now, because I could've done that myself :)  I just 
assumed
it had to be more complicated to fix ... hehe.  Next time I'll pay more 
attention...

Original comment by bor...@gmail.com on 9 Sep 2008 at 8:14

GoogleCodeExporter commented 9 years ago
As an FYI, the gwtextux-0.3.0.zip file on the download page does not have this
updated jar. I just downloaded it and ran into this problem. The jar attached by
Justin fixed it, though.

Original comment by makae...@gmail.com on 16 Sep 2008 at 1:27

GoogleCodeExporter commented 9 years ago
Same issue was found by others too: 
http://www.ongwt.com/post/2008/09/17/GWT-Ext-
205#comments

Fix is soo simple: just replace an word "private" with "public".

Original comment by cristesc...@gmail.com on 17 Sep 2008 at 2:35

GoogleCodeExporter commented 9 years ago
Hi all,
I used the the fixed gwtextux.jar, but these number errors/warnings are 
displayed:

[ERROR] Errors in
'jar:file:/C:/WorkspaceEclipse/gwtextux.jar!/com/gwtextux/client/widgets/upload/
SwfUploadPanel.java'

[ERROR] Line 81:  The return type is incompatible with
GridPanel.instance(JavaScriptObject)

Any ideas?

Thanks
Thomas

Original comment by thomas.b...@gmail.com on 19 Sep 2008 at 3:00

GoogleCodeExporter commented 9 years ago
Fixed. You can get the latest gwt-ext-ux from here : 

http://gwt-ext.com/builds/gwt-ext-ux/2008-09-19/

Additional details here :

http://gwt-ext.com/forum/viewtopic.php?f=12&t=2695&start=10

Original comment by sanjiv.j...@gmail.com on 21 Sep 2008 at 1:47

GoogleCodeExporter commented 9 years ago
Thanks a lot, it works fine.
Thomas

Original comment by thomas.b...@gmail.com on 22 Sep 2008 at 9:52

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
It would be nice, if you put the latest version on the download page.
Peter

Original comment by gKaya...@gmail.com on 4 Nov 2008 at 12:14

GoogleCodeExporter commented 9 years ago
Thanks for the fix but the link
http://gwt-ext.com/builds/gwt-ext-ux/2008-09-19/
seems to be broken

Could you please fix it?

Original comment by kaka4fo...@gmail.com on 26 Jan 2010 at 4:21