3 Oct 2011 6:31 AM #11
I'm having a similar issue. Do you remember what your error was?
3 Oct 2011 7:04 AM #12
When using the jar provided I get:
gwtc: [java] Compiling module com.oracle.pgbu.ppm.Portfolios [java] Scanning for additional dependencies: file:/home/bsacksteder/dev/mercurial/repos/avon/projects/gwt/common/src/com/oracle/pgbu/gwtcommon/layout/view/TileLayout1.java [java] Computing all possible rebind results for 'com.oracle.pgbu.gwtcommon.layout.view.TileLayout1.TileLayout1UiBinder' [java] Rebinding com.oracle.pgbu.gwtcommon.layout.view.TileLayout1.TileLayout1UiBinder [java] Invoking generator com.sencha.gwt.uibinder.rebind.UiBinderGenerator [java] [ERROR] Generator 'com.sencha.gwt.uibinder.rebind.UiBinderGenerator' threw an exception while rebinding 'com.oracle.pgbu.gwtcommon.layout.view.TileLayout1.TileLayout1UiBinder' [java] java.lang.RuntimeException: Incompatible GWT version for uibinder-bridge. Expecting '2.4.0-rc1', but found '2.4.0' [java] at com.sencha.gwt.uibinder.rebind.UiBinderGenerator.generate(UiBinderGenerator.java:106) [java] at com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:48) [java] at com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:60)
5 Oct 2011 9:46 AM #13
The Dev Preview 4 jar was released before GWT 2.4.0 was released, and so it was keyed to work with that exact jar. We've had issues getting custom uibinder code to work with GWT, so there is a requirement that the uibinder-bridge jar's version match the GWT version exactly.
We are working with the GWT team to resolve this issue, and to no longer need this bridge jar, but for now it is required. A bridge jar compiled for the 2.4.0 release may be found at https://oss.sonatype.org/content/rep...4.221119-1.jar (For you maven users, change the version of com.sencha.gxt:uibinder-bridge to 2.4.0-SNAPSHOT, the same as your GWT version plus -SNAPSHOT).
The GWT team has just closed the issue as 'not planned' allowing for custom parsers (http://code.google.com/p/google-web-...detail?id=4461), and we've made an alternate proposal, which is in the works of being accepted and applied toward the next GWT version. In the meantime, in order to build layouts in uibinder xml either a matching bridge jar is required, or @UiField can be used to point to specific layout data objects declared in the java file. We hope to see this accepted and part of GWT 2.5.
24 Oct 2011 8:54 AM #14
Is anyone having an issue with the permutation count increasing using the Dev Preview 5? I swapped out our dev preview 4 jars with the new jars and now the gwt compiler is doing 6 times the amount of permutations. So our development build went from 1 to 6 and our production build went from 15 to 90, obviously this drastically increases compile time.
Could this be caused by using both 2.2.5 and the developer preview side by side? Currently, we have added the 3.0 preview to investigate the new charts. We were keeping the 2.2.5 jars in for the meantime to keep existing pages up and running.
24 Oct 2011 1:23 PM #15
Brian, I suspect you are including just the modules you want to use, rather than the com.sencha.gxt.ui.GXT module. This is something we've done deliberatly, to allow you to create your own set of permutations. Inheriting GXT will automatically restrict the permutations to just the default 6, while still writing code that lets you tell the difference between IE6 ad IE7.
If adding GXT doesn't fix your issue, can you post your module file? All of our examples compilation, inheriting GXT, are reduced to 6 browser builds.
27 Oct 2011 3:34 PM #16
Please provide list of all dependencies (3.0.0.DP5)
Several dependencies seem to be missing from Snapshot. Have gradually been working thru list of dependencies to find references. However, a published list would be significantly more productive.
27 Oct 2011 3:46 PM #17
Note also that dev preview 5 has been released, and that is the most recent snapshot available in the Sonatype snapshot repo. Older versions will still be available for some time before being removed automatically by Sonatype.
gxt-parent - Logical parent for gxt jars, should not be needed
gxt - Main Ext GWT jar
gxt-chart - Drawing and Charting classes
gxt-legacy - Features from 2.x no longer supported, but made available to ease migrations efforts
uibinder-bridge - Patch jar to allow creating and configuring bean-like objects in uibinder, used for layouts. Should not be necessary after the next major GWT release
gxt-release - final zip, as available from the downloads page
gxt-examples - war file, running several examples with their sources. Currently visible online at http://www.sencha.com/examples-dev/
gxt-uibinder - needed only for earlier dev previews, no longer updated
gxt-resources - needed only for earlier dev previews, no longer updated
Remember too that the Sonatype snapshot repo, like most repos, can be browsed at least by navigating to the the groupid in a browser (https://oss.sonatype.org/content/rep...om/sencha/gxt/). Additionally, Sonatype provides a webapp to search their repos (https://oss.sonatype.org/index.html#nexus-search;quick~gxt)
18 Nov 2011 10:14 AM #18