Maven, Windowbuilder and GXT

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Maven, Windowbuilder and GXT

Postby siberian » Wed Feb 10, 2010 9:20 pm

I can't get windowbuilder to recognize GXT when its pulled down via maven.

1) Created gwt project from archetype. Run it, it works
2) Open the Application.html in designer. Works fine, base GWT widgets there
3) Add GXT via a maven dependency (2.0.1)
4) Re-open Application.html in designer
5) Get this error:
Windowbuilder supports only GXT versions 2.0.1 and 2.1.0. But See logged exception problem found

Now what? It seems to be finding the GXT libs, just not able to do anything with them?

Tx
John-
siberian
 
Posts: 6
Joined: Sat Dec 26, 2009 4:00 pm

Re: Maven, Windowbuilder and GXT

Postby Eric Clayberg » Thu Feb 11, 2010 5:35 am

Make sure that you are using the latest GWT Designer v7.3 build along with GXT 2.1.1 (not 2.0.1).
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Maven, Windowbuilder and GXT

Postby siberian » Thu Feb 11, 2010 11:16 pm

Did not make a difference.

In the end I just use the wizard to create a new GXT project, mavenize it and then add my source folder back to the build path.

Seems to work ok this way.
siberian
 
Posts: 6
Joined: Sat Dec 26, 2009 4:00 pm

Re: Maven, Windowbuilder and GXT

Postby Eric Clayberg » Fri Feb 12, 2010 5:03 am

Glad that worked for you.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Maven, Windowbuilder and GXT

Postby siberian » Fri Feb 12, 2010 8:42 am

Spoke to soon. I can get GXT/GWT working but WindowBuilder never wants to load the designer.

He only way I can get the designer to load is to do the Wizard setup and not convert to maven.

Back to the drawing board (actually back to work, play time is over).
siberian
 
Posts: 6
Joined: Sat Dec 26, 2009 4:00 pm

Re: Maven, Windowbuilder and GXT

Postby Eric Clayberg » Sat Feb 13, 2010 1:41 pm

siberian wrote:I can get GXT/GWT working but WindowBuilder never wants to load the designer.

What do you mean by "WindowBuilder never wants to load the designer"? Please be very specific.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Maven, Windowbuilder and GXT

Postby siberian » Sat Feb 13, 2010 11:13 pm

Specifically

Scenario 1:
Create a project using the New Project Wizard.
Double click Application.java.
Click "Design" tab
Everything works

Scenario 2:
Create a project using the Maven GWT archetype
Add GXT to the project
Confirm GXT works by manually adding a GXT widget to the page
Click "Design"
Windowbuilder fails with previously noted text. It does cryptically tell me that an error log has been produced, just not where :)

Tx
J
siberian
 
Posts: 6
Joined: Sat Dec 26, 2009 4:00 pm

Re: Maven, Windowbuilder and GXT

Postby Eric Clayberg » Sun Feb 14, 2010 7:38 am

You should click the "Contact Support" button to submit the case including the entire project.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Maven, Windowbuilder and GXT

Postby zone1511 » Sat Mar 06, 2010 8:46 am

Try adding the gwt-user dependency as well.
zone1511
 
Posts: 2
Joined: Thu Feb 25, 2010 9:45 pm

Re: Maven, Windowbuilder and GXT

Postby Eric Clayberg » Sat Mar 06, 2010 11:36 am

The gwt-user dependency should already be in place for any GWT project.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Maven, Windowbuilder and GXT

Postby kjordan2001 » Fri Mar 12, 2010 2:27 pm

Have you found out anything on this? I can make a Maven GWT project and have that compile just fine, but when I add GWT Designer, I can seem to get it into the project such that options show up, but after that the designer pane complains that it can't find the resource files no matter where I put them. And the problem with starting off with a GWT Web Application Project is that it seems the file system layout differs from a Maven project and a regular Eclipse web project as well such that even if I move the source packages around they won't reappear after I mavenize my project. I can see the src folder in my list, but not in the regular package view.
kjordan2001
 
Posts: 3
Joined: Fri Mar 12, 2010 2:13 pm

Re: Maven, Windowbuilder and GXT

Postby Eric Clayberg » Fri Mar 12, 2010 2:55 pm

We have not received a test case for this, so it is not something we are actively looking at.

Feel free to submit a test case (project), if you would like us to investigate it for you.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Maven, Windowbuilder and GXT

Postby kjordan2001 » Mon Mar 15, 2010 7:00 am

I've uploaded my maven GWT project that I'm trying to use with GXT at: http://kjordan.net/mavengxtdesigner.zip

You'll need m2eclipse for this project.

This is the error I get, even though I've put the resources in 2 places, 1 of which is exactly the same as where it would go for a GWT Web Application Project created by Google's Eclipse plugin:
Image

The only thing I can figure it it's looking relative to the class or something maybe seeing as there's two extra levels in this project for the src directory (main/java) that most IDEs/project types abide by, but the GWT Web Application Project doesn't (assuming GWT Designer uses only that directory layout). But seeing as I can't find a log or anything to see where GWT Designer looks for the resource files, I can't tell.

Also, using the Configure for GXT option copies the GXT jar (which I delete anyways since I'm handling it through Maven), but can't seem to copy in the resources files without an error so I do that manually.
kjordan2001
 
Posts: 3
Joined: Fri Mar 12, 2010 2:13 pm

Re: Maven, Windowbuilder and GXT

Postby Eric Clayberg » Mon Mar 15, 2010 11:34 am

Your index.html file does not reference the GXT CSS file, so I don't think this has anything to do with Maven.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Maven, Windowbuilder and GXT

Postby kjordan2001 » Mon Mar 15, 2010 1:16 pm

So GWT Designer pulls the location from the html file?

Edit: Apparently the answer is yes.
kjordan2001
 
Posts: 3
Joined: Fri Mar 12, 2010 2:13 pm

Next

Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest