Configuring Eclipse SDK 3.4 to run Google GWT sample applications
Posted by Kris Gemborys
As I am spending more time developing web applications using Google GWT, I am wondering why someone would want to use any other tools for developing interactive rich internet applications. For someone like me, who knows Java and UI development principles, using GWT is a natural fit. The Google online documentation is very helpful, but is missing a few details on how to setup GWT Example projects (i.e. Showcase) in the Eclipse environment. If you are interested in configuring and running GWT Examples from your Eclipse environment this article is for you.
6) Navigate to the GWT SDK samples folder -> gwt-windows-1.6.4\samples
Installing Showcase sample as Eclipse project
6.1) Using Eclipse create a new Google Web Application Project and call it Showcase. In the package field you must enter com.google.gwt.sample.showcase
6.2) Once the Eclipst project is generated, use Windows Explorer and navigate to the <GWT SDK>\gwt-windows-1.6.4\samples folder and copy/paste the Showcase folder over the previously created Eclipse project's folder, allow Windows Explorer to overwrite all previously generated Showcase project files.
6.3) Go back to Eclipse and refresh the Showcase project.
6.4) The Showcase project should compile without errors, and you should be able to run the project in the hosted environment the same way as any other GWT project.
7) Follow the same steps to install and run other GWT SDK samples:
If you are interested in running the latest GWT 2.0 and showcase sample, you should read the Google instructions here:
I believe that learning is an ongoing process and we should always seek to better ourselves.
I am not afraid of challenges and putting forth an extra effort needed to achieve objectives. I love tackling these challenges in new creative ways that have not been tried before so I can enrich myself and others in the process.