The simplest way to get started with developing for Google App Engine, Google Web Toolkit and Google Wave is to use the Google Plugin for the Eclipse IDE. This plugin installs the SDK as well. Eclipse’s built-in wizard to add new software (plugin) makes it very easy to install the Google plugin. This wizard can be supplied with a URL (http://dl.google.com/eclipse/plugin/3.5 in this case) to a download site. Henceforth, Eclipse takes care of downloading and installing the plugin, along with associated dependencies, bundle or required software.
However, for me, installing the Google Plugin didn’t go as smooth as expected. I have been using Fedora Linux on my laptop since the last 5+ years. Fedora ships with the Eclipse IDE. When I tried installing the Google Plugin in Fedora Eclipse, I faced the following error. This error surfaced with Eclipse 3.5 on Fedora 12 and Fedora 13.
Cannot complete the install because one or more required items could not be found. Software being installed: Google Plugin for Eclipse 3.5 1.3.2.v201003242055 (com.google.gdt.eclipse.suite.e35.feature.feature.group 1.3.2.v201003242055) Missing requirement: Google App Engine Plugin 1.3.2.v201003242055 (com.google.appengine.eclipse.core 1.3.2.v201003242055) requires 'bundle org.eclipse.wst.xml.core 0.0.0' but it could not be found Cannot satisfy dependency: From: Google Plugin for Eclipse 3.5 1.3.2.v201003242055 (com.google.gdt.eclipse.suite.e35.feature.feature.group 1.3.2.v201003242055) To: com.google.appengine.eclipse.core [1.3.2.v201003242055]
Googling around gives numerous solutions – from using a third party repository (with a broken link ) to installing “Eclipse IDE for Java EE Developers” from www.eclipse.org. But the solution that worked for me was the simplest. Please note that this issue and the following solution could be specific to Eclipse on Fedora and Google Plugin.
Launch Eclipse. Click on Help>Install New Software. On the subsequent window titled “Available Software”, click on blue link ‘Available Software Sites’. Look for the URL http://download.eclipse.org/releases/galileo in the list of Software Sites. Select and click on Enable (button on the right). Click on OK.
Back on the “Available Software” window, type the URL http://dl.google.com/eclipse/plugin/3.5 in the field labeled “Work with:” . Click on Add. This will show Plugin and SDKs in the bottom pane. Check the boxes against them and click on Next. Follow the onscreen instructions. This will install the Google plugin and SDK. When prompted, restart Eclipse.
A few Troubleshooting Tips
On a freshly installed Eclipse, all software sites are disabled by default. This may not be true, if you have been updating or installing other plugins in Eclipse. I recall that, on Fedora 12, I faced the issue of numerous conflicts till I disabled all but the http://download.eclipse.org/releases/galileo site. Bottom line: before installing the Google Plugin, make sure that you only have the Galileo site enabled.
Second, this happened to me once that, even after following the above steps I got the same error. It seemed that Eclipse had problem in downloading the required software and ended up throwing the same error, instead of reporting a failed download. In this case, restart Eclipse, else you may keep getting the same error on retries. After restart, follow the steps mentioned in The Solution again.