Skip to end of metadata
Go to start of metadata

Now that you have a SmartGWT distribution for Maven, you can use a Maven archetype to get up and running quickly.  Creating your own isn't difficult, but here's a simple one that includes a JNDI connection to the Isomorphic sample database in the SDK, and 2 (localized) SQL DataSource definitions based on the tables in it.  It should all work from the command line, but here's how I use it with Eclipse 3.7, Google Plugin for Eclipse, and and m2eclipse 1.0 (Springsource Tool Suite 2.8.0, actually).

  1. Download and unpack the attachment and mvn install (or deploy) the project inside
  2. Run the New Maven Project wizard
  3. Include snapshot archetypes and select smartgwtee-archetype-basic
  4. The 'module' property takes the name of your GWT module, and should be capitalized.  So I might choose something like 
    1. groupId=com.mycompany 
    2. artifactId=mymodule
    3. package=com.mycompany.mymodule
    4. module=MyModule
  5. Your new EntryPoint references some GWT i18n Messages interfaces.  Run mvn:generate-sources on your new project to have them created from the included resource bundles.
  6. Add the target/generated-sources/gwt folder to your Eclipse build path
  7. Debug As (Google) Web Application.

Enjoy.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.