bbai / gxt-interfaces

Automatically exported from code.google.com/p/gxt-interfaces
0 stars 0 forks source link

Not compiling with GXT 2.1.1 #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. See attached zip or modify the standard Greeting application to use 
IButton/VButton and ILabelField/VLabelField.
2. Try to run the web app.
3. In the Development Mode console, you'll see:

Validating newly compiled units

Errors in 
'jar:file/...../gxt/visual/ui/cilent/interfaces/presenter/IPagingToolBarPresente
r.java'
Line 8: No source code is available for type 
gxt.visual.IBindedPagingToolbar;did you forget to inherit a required module?

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

It is possible that I have something configured incorrectly, since this is my 
first try at using GXT Interfaces.

What version of the product are you using? On what operating system?

XP, GWT Interfaces 1.23, GXT 2.1.1, GWT 2.0.4

Please provide any additional information below.

Original issue reported on code.google.com by allancla...@gmail.com on 26 Oct 2010 at 3:48

Attachments:

GoogleCodeExporter commented 8 years ago
I have the "inherits" in my module XML. I did drill into the jar and saw the 
.class file for IBindedPagingToolbar, so assuming that the .class is good 
enough for javascript conversion, my guess is there is a configuration issue.

Original comment by allancla...@gmail.com on 26 Oct 2010 at 4:00

GoogleCodeExporter commented 8 years ago
Eclipse was handily hiding all the .java files when I was browsing the .jar, so 
that helped the confusion. This must be a configuration issue as the 
IPagingToolBarPresenter.java was found, but when it tried to search for more 
source files, it missed. If you have a sample project or advice on how to 
configure this correctly, please let me know.

Original comment by allancla...@gmail.com on 26 Oct 2010 at 8:59

GoogleCodeExporter commented 8 years ago
I got past the problem. After a lot of sleuthing, I changed the 
GXTInterfaces.gwt.xml module to include this line:

    <source path='visual' />

Do you believe that this is the correct fix?

Original comment by allancla...@gmail.com on 26 Oct 2010 at 9:35

GoogleCodeExporter commented 8 years ago
I have successfully converted the default Greeting application to use GXT 
widgets, then to use GXT-Interfaces widgets and it all is working fine. 

(after making the GXTInterfaces.gwt.xml change noted above)

Original comment by allancla...@gmail.com on 26 Oct 2010 at 10:24