John's second point is perhaps most important: the size of your compile-time classpath is irrelevent to your deployment. Once compiled, GWT spits out a collection of javascript files and other resources (from your modules' public resources, generated resource bundles, RPC serialization policy files, etc.) That output, and any server-side code you need (which probably needs gwt-servlet.jar, but not incubator.jar), is all you deploy.
In other words, after compilation, the client doesn't need, use, or want the Java sources. On Wed, Jun 24, 2009 at 12:59 PM, John LaBanca <[email protected]> wrote: > You probably need to copy the GlassPanel.gwt.xml (modifying the contents > based on the new package where GlassPanel is located) into your project and > inherit it from your app's gwt.xml file. GlassPanel.gwt.xml tells the > compiler which version of GlassPanelImpl to use for each browser. Also, > make sure you copy all versions of GlassPanelImpl into your client. > > Also, you should not need to deploy incubator.jar in your war file. Just > make sure its on your classpath at compile time so GWT can find the source > code. > > Thanks, > John LaBanca > [email protected] > > > > On Wed, Jun 24, 2009 at 7:51 AM, Surya <[email protected]> wrote: > >> >> Hi, >> >> I am relatively new to GWT. My requirement is to use GlassPanel but my >> hands are tied down because of the heavy size of incubator.jar file >> which my deployment war file cannot afford. So the only option is to >> use custom glasspanel. >> So i copied down teh source code both GlassPanel.java and >> GlassPanelImpl.java and included in mywork space. All is well till >> compile time. When i compile, it throws an error stating >> GlassPanelImpl cannot be abstract. My CustomGlassPanel.java extends >> from GlassPanel. i changed GlassPanel.java to refer this >> CustomGlassPanelImpl instead of GlassPanelImpl. But still i get this >> error. >> >> Any help is really helpful and appreciated. >> >> Thanks, >> Surya >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
