Hi,

Draft post:

->

In this post, we're going to take a look at how we can work with GWT and 
Maven when using Eclipse's Integrated Development Environment (IDE).

So we'll need to:

   1. Install the Google Plugin for Eclipse
   2. Install the Maven Integration for Eclipse plugin
   3. Install the Maven Integration for WTP plugin

Prerequisites

You will need a Java 
SDK<http://www.oracle.com/technetwork/java/javase/downloads/index.html>(version 
1.7 or later), the Eclipse 
IDE for Java EE Developers <http://www.eclipse.org/downloads/> (Indigo 
version 3.7.2 or later) and Maven 
<http://maven.apache.org/download.html>(version 3.0.4 or later).

I started with a fresh install of Eclipse and followed these 
recommendations<http://stackoverflow.com/questions/142357/what-are-the-best-jvm-settings-for-eclipse>when
 updating "eclipse.ini".

You should also disable any unnecessary start-up actions (e.g. Windows -> 
Preferences, type “startup”, select “Startup and Shutdown”, and then 
deselect the options you don’t need) and validations (e.g. Windows -> 
Preferences -> Validation, click “Disable All”, and then select only the 
options you need). You might also want to consider setting up a ram 
disk<http://www.beyondlinux.com/2011/06/25/speed-up-your-eclipse-as-a-super-fast-ide/>
.

And don't forget to add the Java SDK, Eclipse, your workspace and any other 
related folders to the white list in your anti-virus software.

*Note: *If you run into any issues when checking for updates or installing 
new software then you might need to disable your anti-virus 
software<http://stackoverflow.com/questions/8367856/eclipse-downloading-content-jar-times-out-while-installing-plugins>(e.g.
 AVG's Link Scanner, Identity Protection and Resident Shield).
1. Install the Google Plugin for Eclipse

The Google Plugin for Eclipse (GPE) makes it easy to import Maven projects 
that use GWT and App Engine. To get started, we first need to install GPE 
and then some additional plugins.

In Eclipse choose "Help -> Install New Software..." and paste the update 
site URL *http://dl.google.com/eclipse/plugin/3.7* into the field named 
"Work with:" then press the Enter key.

Pressing Enter should cause Eclipse to update the list of available plugins:

[image: Google Plugin for Eclipse]

Select the Google Plugin for Eclipse 3.7 (and optionally the Google Web 
Toolkit SDK and the Google App Engine SDK) click Next and then follow the 
prompts. When the download has finished and the installation is complete 
make sure you restart Eclipse.

*Note:* As an alternative to installing from the update site, you can 
install the Google Plugin for Eclipse by downloading and installing an 
archive of the update 
site<https://developers.google.com/eclipse/docs/install-from-zip>
.
2. Install the Maven Integration for Eclipse plugin

In Eclipse choose "Help -> Install New Software..." and paste the update 
site URL *http://download.eclipse.org/technology/m2e/milestones/1.1* into 
the field named "Work with:" then press the Enter key.

Pressing Enter should cause Eclipse to update the list of available plugins:

[image: Maven Integration for Eclipse]

Select the Maven Integration for Eclipse plugin then click Next and follow 
the prompts. When the download has finished and the installation is 
complete make sure you restart Eclipse.

*Note:* If like me you run more than one version of Maven (e.g. Maven 2 and 
Maven 3) then you need to check your environment and make sure you aren't 
referencing more than one 
installation<http://askubuntu.com/questions/41017/maven-exits-after-trying-to-run-it>
.
3. Install the Maven Integration for WTP plugin

In Eclipse choose "Help -> Install New Software..." and paste the update 
site URL *http://download.jboss.org/jbosstools/updates/m2eclipse-wtp* into 
the field named "Work with:" then press the Enter key.

Pressing Enter should cause Eclipse to update the list of available plugins:

[image: Maven Integration for WTP]

Select the Maven Integration for WTP (Web Tools Platform) plugin then click 
Next and follow the prompts. When the download has finished and the 
installation is complete make sure you restart Eclipse.
What's Next

If you have successfully installed the Google Plugin for Eclipse (GPE) and 
the additional plugins then you're ready to generate a skeleton GWT Maven 
project<http://kiahu.com/tutorial/generate-a-skeleton-project-using-gwt-and-maven/>
.
->

Cheers
Rob

kiahu.com

On Friday, June 15, 2012 8:09:05 PM UTC+10, PhiLho wrote:
>
> On 14/06/2012 02:40, Jeff Silverman wrote: 
> > On Friday, June 8, 2012 4:56:20 AM UTC-7, Ed wrote: 
> > 
> >     If your using AVG turn off link checker. 
> > 
> > 
> > Ed, 
> > 
> > I am something of a Newbie to Eclipse. What is AVG and what is the link 
> checker? How do I 
> > turn it off? 
>
> I think the advice is about shutting off anti-virus software / security 
> suites / 
> firewalls, at least for the time of update. 
>
> -- 
> Philippe Lhoste 
> --  (near) Paris -- France 
> --  http://Phi.Lho.free.fr 
> --  --  --  --  --  --  --  --  --  --  --  --  --  -- 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/YGH4ysM0brIJ.
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.

Reply via email to