GPE Support for Eclipse Indigo (3.7)

Posted by Chris Ramsdale - Friday, June 24, 2011 at 1:43:00 PM

Earlier this week Eclipse Indigo shipped to much fanfare. One of the features that we are personally happy to see ship is the embedded Window Builder support. Window Builder is the framework on which SWT, Swing, and (near and dear to our hearts) GWT Designer is built on top of.

To coincide with this announcement we now have a 2.3.2 version of GPE that is Indigo-compatible. For more information on installing this update, checkout the GPE quick start guide.

Chris Ramsdale, Product Manager, GWT and GPE cramsdale@google.com

25 comments:

Wombling said...

Is there going to be any 2.4 (Beta) support for Indigo?

Feng Li said...

I just download a fresh eclipse 3.7 indigo J2EE package (x64), and then try to install the Google Plugin from http://dl.google.com/eclipse/plugin/3.7

It finally failed with below error messages:

n error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,com.google.appengine.eclipse.sdkbundle,1.5.1.r37v201106211634
No repository found containing: org.eclipse.update.feature,com.google.appengine.eclipse.sdkbundle.e37.feature,1.5.1.r37v201106211634
No repository found containing: osgi.bundle,com.google.gdt.eclipse.designer,2.3.2.r37x201106201351
No repository found containing: osgi.bundle,com.google.gdt.eclipse.designer.UiBinder,2.3.2.r37x201106201351
No repository found containing: org.eclipse.update.feature,com.google.gdt.eclipse.designer.editor.feature,2.3.2.r37x201106201351
No repository found containing: osgi.bundle,com.google.gdt.eclipse.designer.hosted,2.3.2.r37x201106161421
No repository found containing: osgi.bundle,com.google.gdt.eclipse.designer.hosted.2_0,2.3.2.r37x201106161421
No repository found containing: osgi.bundle,com.google.gdt.eclipse.designer.hosted.2_0.super,2.3.2.r37x201106161421
No repository found containing: osgi.bundle,com.google.gdt.eclipse.designer.hosted.2_0.webkit,2.3.2.r37x201106161421
No repository found containing: osgi.bundle,com.google.gdt.eclipse.designer.hosted.2_0.webkit_win32x64,2.3.2.r37x201106161421
No repository found containing: osgi.bundle,com.google.gdt.eclipse.designer.hosted.2_2,2.3.2.r37x201106161421
No repository found containing: osgi.bundle,com.google.gdt.eclipse.designer.hosted.2_2.webkit,2.3.2.r37x201106161421
No repository found containing: org.eclipse.update.feature,com.google.gdt.eclipse.designer.hosted.feature,2.3.2.r37x201106161421
No repository found containing: osgi.bundle,com.google.gdt.eclipse.designer.hosted.lib,2.3.2.r37x201106161421
No repository found containing: osgi.bundle,org.eclipse.wb.core,1.0.0.r37x201106161401
No repository found containing: osgi.bundle,org.eclipse.wb.core.databinding,1.0.0.r37x201106161401
No repository found containing: osgi.bundle,org.eclipse.wb.core.databinding.xml,1.0.0.r37x201106161417
No repository found containing: org.eclipse.update.feature,org.eclipse.wb.core.feature,1.0.0.r37x201106161401
No repository found containing: osgi.bundle,org.eclipse.wb.core.lib,1.0.0.r37x201106161401
No repository found containing: osgi.bundle,org.eclipse.wb.core.xml,1.0.0.r37x201106161417
No repository found containing: org.eclipse.update.feature,org.eclipse.wb.core.xml.feature,1.0.0.r37x201106161417
No repository found containing: osgi.bundle,org.eclipse.wb.css,1.0.0.r37x201106161406
No repository found containing: org.eclipse.update.feature,org.eclipse.wb.css.feature,1.0.0.r37x201106161406
No repository found containing: osgi.bundle,org.eclipse.wb.jdt.fragment,1.0.0.r37x201106161401
No repository found containing: osgi.bundle,org.eclipse.wb.os,1.0.0.r37x201106161401
No repository found containing: osgi.bundle,org.eclipse.wb.os.win32,1.0.0.r37x201106161401
No repository found containing: osgi.bundle,org.eclipse.wb.runtime,1.0.0.r37x201106161401
No repository found containing: osgi.bundle,org.eclipse.wb.runtime.lib,1.0.0.r37x201106161401

akash said...

I am facing the same error as Feng Li. I would request Google to do some thing about it. This is very important to us as it is pushing our timeline behind schedule.

David Chandler said...

@Feng Li, @akash, please try again. Eclipse installs are sometimes very sensitive to network issues. Everything looks correct on our end and lots of folks are installing the Indigo plugin without issues.

akash said...

Tried again from a totally different network location and fresh install of eclipse.

Is there a problem with the eclipse site or mirror site:
Unable to connect to repository http://download.eclipse.org/releases/indigo/content.xml
connect: Address is invalid on local machine, or port is not valid on remote machine

Kyaw Tun said...

I am also having the same error as Feng Li said.

David Chandler said...

@akash, thanks for the info. It may be that download.eclipse.org was having issues at the time you tried it; however, Google has no control over that server. There are many thousand successful installs of GPE for Indigo, so it's highly unlikely that there is an error with the GPE update site. If you continue to have problems, I would try a fresh install of Eclipse on a clean machine with no proxies to rule out malware or network issues as a cause.

Tom said...

I've just upgraded to Indigo and GPE 2.3.2. Now when I do a clean build of my GWT project (I don't mean running gwtc), Eclipse stalls for tens of minutes claiming it is "Analyzing sources". Is GPE doing something at this stage? I have found that if I unplug my network cable it only takes seconds. watching netstat I can see java opening and slowly closing lots of connections. I wonder if they're timing out. I am behind a proxy but connectivity in Eclipse seems to be working - I can install plugins and updates etc. Any ideas what's going on? It's a very annoying problem. Thanks.

Coder4Ever said...

Hi guys,

I was using eclipse Indigo (and even the earlier versions of eclipse) but after installing GWT and GPE plugins and after following the project instructions (how to develop my first app), I tried to Deploy it on Google App Engine. Since it needs sign in, I am getting this error message and couldnt find any solutions for it ... The problem is with the "sign in thing". Even the button, on the left bottom side doesnt work and displays
Message: "couldn't sign in"

com.google.api.client.http.HttpResponseException: 400 Bad Request
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:209)
at com.google.api.client.auth.oauth.AbstractOAuthGetToken.execute(AbstractOAuthGetToken.java:64)
at com.google.gdt.eclipse.login.GoogleLogin.authorizeStep1(GoogleLogin.java:535)
at com.google.gdt.eclipse.login.GoogleLogin.logIn(GoogleLogin.java:416)
at com.google.gdt.eclipse.login.GoogleLogin.logIn(GoogleLogin.java:379)
at com.google.gdt.eclipse.login.ui.LoginTrimContribution$1.mouseUp(LoginTrimContribution.java:90)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:219)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

FYI: I am using JDK 1.6 Windows 7 (64 bit) ... can anybody help me please???

RIJN said...

@coder4ever

same problem issued for me also;
let me say a shortcut for u let wot i made with that error;
install this beta
http://dl.google.com/eclipse/inst/d2gwt/beta/3.7

and try again to sign in;
i think ther may be some install error but u can deploy ur project;

Plz replay if it works

RIJN said...

@coder4ever;

i think ur above problem is with gwt designer module; try new copy without installing gwt designer

Unknown said...

@Tom Replying to my own comment above...

Over the weekend my build times have reduced! Perhaps we were having some network issues which were exacerbating the problem. However, it is still slow. I have tracked the cause down to repeated requests for the DTD document http://dl.google.com/gwt/DTD/xhtml.ent that is referenced by each UI Binder template. I have 80 XML template files and the DTD doc is request 178 times during a clean build. The best workaround I have found is to download and store this document locally and add it to the Eclipse XML Catalog. Doing this reduces my build time from approx. two minutes to under 15 seconds.

Wouldn't it be sufficient to fetch such things once per build?

Would be interesting to know if the previous GPE and Helios request this DTD so many times. (I used Wireshark to watch what was going on.)

Sali 2200 said...

I am facing the exact same problem Like Feng Li the error is "Unable to read repository at http://dl.google.com/eclipse/inst/d2gwt/beta/3.7/content.xml." I don't how to proceed Please Help me

John Clonts said...

Similar problem here. Trying to install eclipse plugin (Indigo 64bit). It always times out at the same place: 3.39k of 5.06MB at 0k/s. The error message is:
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at http://dl.google.com/eclipse/plugin/3.7/plugins/com.google.gwt.eclipse.core_2.4.2.relr37v201110112027.jar.
Read timed out

Nicky said...

Sorry to bother you. Is it possible to install this plugin with a .link file placed under the LINK folder of Eclipse?

Eric said...

I am also having this problem, trying to install the SDK.

An error occurred while collecting items to be installed
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at http://dl.google.com/eclipse/plugin/3.7/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.relr37v201110112027.jar.
Read timed out

Dipesh said...

Having problem while installing Google plugin for eclipse

I am trying to install Google plugin in Eclipse indigo 3.7

Help->Eclipse Marketplace

and find Google Plugin For Eclipse

and installation starts but it throw exception and install fails.

blockh34d said...
This comment has been removed by the author.
fire said...

My solution for problems installing Google Plugin for Eclipse on Windows 7 64-Bit: My stupid AVG-Antivirus has a link-scanner which blocks part of the update process.. this took me a day :-S
I hope this will help some of you..

fire said...

My solution for problems installing Google Plugin for Eclipse on Windows 7 64-Bit: My stupid AVG-Antivirus has a link-scanner which blocks part of the update process.. this took me a day :-S
I hope this will help some of you..

Gavin said...

Thanks for the useful hint. Stopped AVG and all went smoothly after that

KoffeeAddict4Eva said...

Super awesome note! I have been messing with this for hours! BAD AVG! BAD! Turned it off and problem fixed in 5 minutes!

Jonathan Ide said...

This is the error I get when trying to download. Any help appreciated.

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at http://googleappengine.googlecode.com/svn/trunk/java/updatesite/plugins/com.google.appengine.eclipse.sdkbundle_1.7.0.jar.
Read timed out

asianuxxx said...

Thanks @fire, that solved my problem. I use Kaspersky.

Chethan Bhounsley said...

java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:75)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:378)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:473)
at sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:270)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:327)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:931)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1090)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
at com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:84)
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:991)
at com.google.api.client.auth.oauth2.TokenRequest.executeUnparsed(TokenRequest.java:299)
at com.google.api.client.googleapis.auth.oauth2.GoogleRefreshTokenRequest.execute(GoogleRefreshTokenRequest.java:130)
at com.google.gdt.eclipse.login.GoogleLogin.fetchOAuth2Token(GoogleLogin.java:273)
at com.google.appengine.eclipse.core.deploy.ui.DeployProjectHandler.execute(DeployProjectHandler.java:99)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
i am getting this error while deploying to app engine



musi