Release Candidates now available: the Google API Libraries for Google Web Toolkit

0 views
Skip to first unread message

Miguel Méndez

unread,
Aug 25, 2008, 12:07:23 PM8/25/08
to GWTcontrib
We're happy to say that the first Release Candidates for the Google API Libraries for Google Web Toolkit are now ready to be taken for a test drive.

The project is a collection of libraries that provide Java language bindings and API specific 'plumbing' for some Google JavaScript APIs. The goal is to make it easy for developers to use these JavaScript APIs with GWT. Libraries available at this time include a new version of Gears, as well as new libraries for Gadgets and the Google AJAX Search API. 

Gears 1.1 Library (Release Candidate)
A new version of the Gears library is available. In addition to the earlier version's support for the Gears LocalServer, Database, and WorkerPool, 1.1 adds integrated support for offline applications and updated sample applications. The bindings have also been refactored to use GWT 1.5 JavaScript overlay types and a new package hierarchy.

Gadgets 1.0 Library (Release Candidate)
The Gadgets library simplifies gadget development with GWT by automatically generating a Gadget specification from Java source and inserting a selection script in the specification much like a regular GWT project. After compiling your gadget with GWT, all files are in place to publish your gadget. This version currently supports
 the legacy Gadgets API based on the _IG_... namespace. 

Google AJAX Search 1.0 Library (Release Candidate)

The Google AJAX Search API lets you put Google Search in your web pages, including Web, Local, and Multimedia searches. This library allows you to access the API from Java code compiled with the GWT compiler without having to write additional JavaScript code.

If you've been following the early milestone builds, you may also be aware that a Google Maps API Library for GWT is in the works. Stay tuned for a release candidate for that library.

With this set of release candidates, each library is now distributed separately so that you can download only the specific library you are interested in. 

We encourage you to try these release candidates out and give us feedback, either through the issue tracker on code.google.com, or through the Google-Web-Toolkit or Google-Web-Toolkit-Contributors group.



--
Google API Libraries for GWT Team

Ray Cromwell

unread,
Aug 25, 2008, 3:40:21 PM8/25/08
to Google-Web-Tool...@googlegroups.com
There is a bug in the GadgetGenerator in the latest release. To
reproduce, simply have your gadget implement an interface which is not
a feature (e.g. has no @FeatureName), this will throw an NPE, which
will cause the GWT RC2 compiler to croak with no error messages. I've
submitted a patch to fix the compiler, here's a patch to fix the
generator, which is to simply move the writeRequirementsToElement()
call inside the if(name != null) check.

-Ray
gadget_genrator_npe.patch

Eric Ayers

unread,
Aug 25, 2008, 6:20:48 PM8/25/08
to Google-Web-Tool...@googlegroups.com, Ray Cromwell, Miguel Méndez
Filed as issue 164
--
Eric Z. Ayers - GWT Team - Atlanta, GA USA
http://code.google.com/webtoolkit/

Miguel Méndez

unread,
Aug 26, 2008, 9:24:11 AM8/26/08
to Eric Ayers, Google-Web-Tool...@googlegroups.com, Ray Cromwell
LGTM.  Thanks for the patch Ray, committed as r724.  The issue was updated accordingly.
--
Miguel
Reply all
Reply to author
Forward
0 new messages