PDA

View Full Version : Problem working through wiki example



jarcher
30 Aug 2008, 10:06 PM
Hi All...

I have been working through this example in the wiki:

http://gwt-ext.com/wiki/index.php/Using_Eclipse

All goes well until I get to this part:


You can add GWT code under the onModuleLoad() function as the standard GWT libraries are available. The GWT-Ext library needs to be added to the project now. Obtain the latest gwtext.jar file and save it under a new lib folder under the com.mycompany.mypackage.public folder. This library needs to be added to the build path of the project. Right-click on the project's name, and under the Build Path menu option, pick Configure Build Path.... In the Libraries tab, select the Add JARs... option and find the gwtext.jar library and click OK twice to return to the workspace.

When I click the Add JARs button, the dialog pops up and says "no entry available." The only thing I can do is click cancel.

I did create a directory called lib under the public folder as the tutorial said and I did copy gxt.jar there.

What am I doing wrong?

Thanks...

gslender
31 Aug 2008, 12:12 AM
What am I doing wrong?

Following a wiki for a completely different product that is not GXT - that is what you are doing wrong :D

Ignore anything that has "GWT-Ext" in the name or title. This is GXT which is ExtGWT (note the order of where GWT and Ext are placed - subtle I know).

Follow this guide instead http://extjs.com/helpcenter/index.jsp

Cheers,
Grant B)

jarcher
31 Aug 2008, 1:16 AM
Yup, I figured that out about an hour ago. I finally found the right site. So, I blew away Eclipse, blew away everything I had downloaded, and started completely from scratch. I worked my way through the videos and now I have it working. B) Thanks!

And it only took a total of about 18 hours accross two days! :((

But, at least I can move forward with stuff I know how to do now - code in Java. Hopefully this toolkit will be worth the effort. I guess I'll know in a week or so, but it does look pretty cool.