On Tue, Sep 2, 2008 at 1:37 PM, Joe Cole wrote: > > I've been looking forward to this for a while - I downloaded it and > gave the wiki a quick spin, how do you actually get started? > I couldn't see an example app or a simple "place in glasspath, include > this module in your gwt.xml, subclass X" type description anywhere. > Any hints on where to look?
The Showcase sample is a good start: http://code.google.com/p/gwt-in-the-air/source/browse/#svn/trunk/samples It's built with the assumption that it'll only be compiled for AIR, so it inherits net.ltgt.gwt.air.AIRApplication; but you'd generally inherit net.ltgt.gwt.air.core.AIR in your "main module". When you'll come to distributing your app, you'll create another module inheriting your "main module" and net.ltgt.gwt.air.AIRApplication, to compile and package your application in a single step (you'd have to set a few java system properties, the compiler errors should hopefully guide you to the perfect setup). An AIR application needs an "application descriptor" XML file. With the GWT-in-the-AIR linkers, either you put a file named <something>-app.xml in your module's <public/> folder; or you inherit net.ltgt.gwt.air.core.client.AIRApplication and add the @Application annotation to the derived class (generally your EntryPoint, as done in the Showcase sample) and the application-descriptor will be generated from the annotations at compile-time. You'll find example use of the widgets in the Showcase sample; everything else is a set of JSO overlays giving you access to the Adobe AIR API in Java. That being said, you have to know how to use GWT, and where to look for the Adobe AIR API documentation. I'll try to put all the above within a GettingStarted wiki page in the next few days. -- Thomas Broyer --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
