My favorites | English | Sign in

More personalization in Google Friend Connect New!

Google Plugin for Eclipse

FAQ

Installation is taking a long time on Eclipse 3.4. What can I do about this?

When installing a new plugin on Eclipse 3.4, Eclipse checks for updates of all of that plugin's dependencies. This can take quite a while. To keep Eclipse from doing this overzealous update check, go to Help > Software Updates > Available Software > Manage Sites. You'll be presented with a list of Available Software Sites. Uncheck all of the update sites listed except for Google Plugin for Eclipse 3.4. At a later point, when you are interested in updating other components, check them again.

I tried to install from the update site, but Eclipse wasn't able to find it. I got the message "No repository found..." What's going on?

First, verify that your update site URL is correct for the version of Eclipse that you're using:

Eclipse 3.5 (Galileo)

http://dl.google.com/eclipse/plugin/3.5

Eclipse 3.4 (Ganymede)

http://dl.google.com/eclipse/plugin/3.4

Eclipse 3.3 (Europa)

http://dl.google.com/eclipse/plugin/3.3

If you're sure that you typed the correct version, you may be behind a firewall that prevents Eclipse from reaching the update site (this is the case in some corporate environments). If there's a proxy server available, try configuring Eclipse to use the proxy via the instructions for Eclipse 3.5, Eclipse 3.4 or Eclipse 3.3. If you are still unable to reach the update site, you can try installing the Google Plugin for Eclipse from zip files.

When installing the plugin in Eclipse 3.4, a dialog appears with the text: "Review and Confirm that the checked items will be installed". Why are there no items checked?

Depending on the distribution of Eclipse you have, you may find no items checked by default. Just check the boxes next to Google Plugin for Eclipse and the bundled SDKs and click Finish.

What is DataNucleus Enhancer? Can I turn it off?

If you're not using App Engine ORM in your project (for example, if you don't store any data on the server) you can turn off the DataNucleus Enhancer by right-clicking on your project and selecting Properties > Builders. Uncheck Enhancer. A confirmation dialog will appear; click OK to confirm that you want to disable the builder. You can turn it on again later if you start using ORM with your project.

When I refresh the hosted mode browser after making code changes, why does Eclipse bring up a dialog with the message "Hot code replace failed"?

The Eclipse IDE can sometimes have trouble detecting that code has been hot-swapped by the hosted mode infrastructure's ClassLoader, even though hosted mode's design guarantees that the code is correctly hot swapped on refresh. You can therefore safely ignore this dialog message if it comes up while refreshing code in the hosted mode browser.

If you discover that the code really wasn't refreshed in the hosted mode browser after seeing this hot code replacement error message, please let us know by filing an issue on the GWT Issue Tracker.

On Windows, I see the error "Cannot run program ...\javaw.exe CreateProcess error=..." whenever my project builds. How do I fix this?

This problem occurs because the ORM enhancer process is invoked with the list of classes to be enhanced (by default, this is all classes in the project). If the command line to execute the enhancer is too long, Windows will prevent the execution of the process.

If your project is not using ORM, see the FAQ Entry "What is DataNucleus Enhancer? Can I turn it off?" to disable the enhancer.

If your project is using ORM, right-click on your project and choose Properties > Google > App Engine > ORM, and select only the files and folders of the classes which make use of ORM.

The New Entry Point Class Wizard generates an onModuleLoad() method with an @Override annotation, and the application fails to execute. Why?

This is due to a difference between Java 1.5 and Java 1.6. As of Java 1.6, the meaning of @Override has been extended to include implementing a method defined in an interface, but doing this in Java 1.5 generates an error. If you'd like to develop in the Java 1.5 style, just remove these @Override annotations.

To use the Java 1.6 style, navigate to your workspace's JDK Compliance settings, under Window > Preferences > Java > Compiler (or Eclipse > Preferences on the Mac). Set Eclipse's "Compiler Compliance Level" to 1.6.

My JSPs aren't working, and there's an error that says "Your Web Application Project must be configured to use a JDK in order to use JSPs." What happened?

Both the local App Engine server and the deployment process need to run javac in order to compile your JSPs. If your project isn't set to use a JDK ("Java Development Kit", which includes javac), then the JSPs can't be compiled.

Go to Preferences > Java > Installed JREs and make sure that you have a JDK installed -- if you don't, you can easily download one. Now right-click on your project and choose Properties > Java Build Path > Libraries and make sure that your project is using this JDK.

Where are the bundled SDKs installed?

The bundled SDKs are in your Eclipse plugins directory, underneath com.google.gwt.eclipse.sdkbundle.platform_version for GWT, and com.google.appengine.eclipse.sdkbundle_version for App Engine.

During installation, there's an error about requiring org.eclipse.wst.sse.ui. How do I fix that?

The Google Plugin for Eclipse depends on other specific Eclipse components, such as WST. Your installation of Eclipse may not yet include all of them, but they can be easily installed by following these instructions.

Eclipse 3.5 (Galileo)

  1. Select Help > Install New Software...
  2. Click the hyperlink for Available Software Sites.
  3. Ensure there is an update site named Galileo. If this is not present, click Add... and enter http://download.eclipse.org/releases/galileo for the Location.
  4. Now go through the installation steps; Eclipse should download and install the plugin's dependencies.

Eclipse 3.4 (Ganymede)

  1. Select Help > Software Updates...
  2. Select the Available Software tab.
  3. Click Manage Sites...
  4. Make sure the Ganymede Update Site is in your list of Available Software Sites, and checked. If it's not in the list, click Add... to add it. The Ganymede Update Site's URL is http://download.eclipse.org/releases/ganymede/
  5. Now go through the installation steps; Eclipse should download and install the plugin's dependencies.

Eclipse 3.3 (Europa)

  1. Follow the plugin installation instructions as you normally would, but once you reach the Update sites to visit dialog, select the checkboxes for both the Google Update Site for Eclipse 3.3 and Europa Discovery Site (you may want to check Automatically select mirrors at the bottom). If "Europa Discovery Site" does not appear in the list, add it with New Remote Site. Its URL is http://download.eclipse.org/releases/europa/
  2. Click Finish.
  3. In the Next dialog, select the Google Plugin for Eclipse.
  4. Now, expand the tree item of the discovery site.
  5. On the right, click Select required. This will select all the components that are required to install the Google Plugin for Eclipse. (WST, etc.)
  6. Click Next, accept the agreement, click Install All, and restart Eclipse.

I have an existing GWT or Java project, and I want to migrate to using a war directory. I created one, but the pages in it won't load when I launch the application. How do I fix that?

If you activated Google SDKs for your project and then made a war directory, the plugin will launch your application expecting to find HTML pages in the public directory under GWT modules instead of under war. To fix this, see the section on GWT 1.5 projects in Using Google Plugin for Eclipse with existing projects.

I renamed my project and syntax highlighting turned off. What happened?

This is a known issue with the current version of the plugin. In the meantime, you can work around it by removing your project from the Eclipse workspace: right-click the project, choose Delete, and click OK.

Warning: Make sure to leave the Delete project contents on disk box unchecked!

Now re-import your project by choosing File > Import > General > Existing Projects into Workspace.

I clicked the "My applications" or "Existing versions" links on the App Engine Properties screen, but nothing happened. Why?

These links should point your web browser to appspot.com, but on some systems, Eclipse may not be able to find your web browser. You can set which browser you would like to use by navigating to Preferences > General > Web Browser.

Is the Google Plugin for Eclipse open-source?

Not yet. For the initial release, we wanted to get you the plugin as fast as possible. However, we expect to make the source public in the near future.

How do I uninstall the Google Plugin for Eclipse?

You can uninstall the Google Plugin for Eclipse the same way you might uninstall any other Eclipse plugin. For Eclipse 3.5, go to Help > Install New Software..., and select the link for already installed. For Eclipse 3.4, go to Help > Software Updates > Installed Software. For Eclipse 3.3, go to Help > Software Updates > Manage Configuration. If you uninstall the plugin, you will have to uninstall the bundled SDKs first, which is done from the same dialog.

I have feedback about the plugin, a feature idea, or a problem that isn't covered by the documentation. Where can I discuss it?

There are a number of ways you can contact the plugin team and other developers using Google Plugin for Eclipse. Check out the Community Resources page to find out how. We look forward to hearing from you!