Googlipse quickstart Part 2
June 29th, 2006 - Written by in Using GWT
I wrote a previous post on the first version of the Googlipse plugin. However the 0.02 version has changed quite a bit so I thought I’d write a new walkthrough for it.
Requirements: Java 5, Eclipse 3.2, Eclipse WTP, Googlipse 0.02.
- The first thing I needed to do was to install the Eclipse Web Tools Platform (WTP). I decided to download the latest Eclipse (3.2RC7). Installing the WTP is pretty easy now. Just use the Eclipse update mechanism, choose a Callisto Discovery site, select the ‘Web and J2EE Development’ box, then click the ‘Select Required’ button to select the dependencies and away it goes. Wait a little bit and after its done, you’ll have everything installed.
- Unzip the googlipse jar into your Eclipse/plugins folder and restart Eclipse.
- Under Window -> Preference -> Googlipse, set your GWT home. GWT home should be set to where you installed your GWT libraries (ex. c:\gwt-windows-1.0.21)
- Creating a GWT Project. Select File -> New -> Project -> Web -> Dynamic Web
-
- Type your project name and hit Next
- Select the Google Web Toolkit project facet (along with the Dynamic Web Module and Java facets) and click Finish.
- Creating a GWT Module. Select File -> New -> Other -> Goolipse -> Gwt Module
-
- Hit the Create… button to define the package structure of your project.
- Enter your module name in the Names textfield.
- Running your module. Select Run -> Run…
-
- Select Gwt Application, right click and select New.
- In the main tab, select your project and select your module.
- Click Run.