Can i disable Ext-GWT support ?

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

Can i disable Ext-GWT support ?

Postby eguardiola » Wed Oct 27, 2010 12:08 am

Hi,

I have a project with five GWT modules. One of them is using GWT-Ext (has to be migrated...) and the remain is using GXT. The project has both JARs in classpath and GWt Designer is trying to open GWT-Ext support for GXT modules too.

Is there any way i can avoid that ?

Thanks.
eguardiola
 
Posts: 7
Joined: Tue Oct 26, 2010 11:56 pm

Re: Can i disable Ext-GWT support ?

Postby Eric Clayberg » Wed Oct 27, 2010 5:02 am

The palette is quite simple and builds its categories based on the libraries that you are using (the jars on the classpath). If you want to hide GWT-Ext from the palette, you would need to remove it from your classpath. You might also be able to suppress it via the Palette Manager.
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: Can i disable Ext-GWT support ?

Postby eguardiola » Wed Oct 27, 2010 6:13 am

Palette is not the big problem.

What i really want to avoid is having to put following lines in order to avoid GWT Designer to crash when opening a GXT visual class on a module that is not using GWT-Ext at all. It detects the GWT-Ext JAR so it is going to try load GWT-Ext resources. :?

Code: Select all
<stylesheet src="javascript/ext/resources/css/ext-all.css"/>
<script src="javascript/ext/adapter/ext/ext-base.js"/>
<script src="javascript/ext/ext-all.js"/>
<inherits name='com.gwtext.GwtExt' />   


So i would love not having to use this nasty workaround.
eguardiola
 
Posts: 7
Joined: Tue Oct 26, 2010 11:56 pm

Re: Can i disable Ext-GWT support ?

Postby Eric Clayberg » Wed Oct 27, 2010 6:56 am

The only way around that at the moment would be to remove GWT-Ext from your project entirely.

Until you refactor to remove GWT-Ext, could you split the project into two projects...one that uses only GWT-Ext and one that only uses GXT?

We will also look for a solution on our end. GWT Designer was never intended to work with more than one of these libraries in a project at the same time.
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: Can i disable Ext-GWT support ?

Postby eguardiola » Wed Oct 27, 2010 7:29 am

Thanks Eric. I was searching for a less nasty workaround. Hope will refactor soon! :-)
eguardiola
 
Posts: 7
Joined: Tue Oct 26, 2010 11:56 pm

Re: Can i disable Ext-GWT support ?

Postby Eric Clayberg » Wed Oct 27, 2010 7:36 am

Yes. Refactoring would be the best solution ;-)
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


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 2 guests

cron