Unable to mirror Eclipse 3.5 update site

65 views
Skip to first unread message

Robert Munteanu

unread,
Dec 11, 2009, 2:47:38 PM12/11/09
to Google Web Toolkit
Hi,

I'm not able to update using the Eclipse update manager ( No
repository found containing: ... ) , and I've tried to mirror the
update site, using

java -jar /opt/eclipse/plugins/
org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -application
org.eclipse.update.core.standaloneUpdate -command mirror -from
http://dl.google.com/eclipse/plugin/3.5 -to .

and it fails from 2 different locations with the same error ( below ).
I know about http://dl.google.com/eclipse/plugin/3.5/zips/gpe-e35-latest.zip
but I'd rather use a zipped update site than dropins.

Any ideas why this is happening?

Thanks,

Robert

-----

!SESSION 2009-12-11 21:25:19.576
-----------------------------------------------
eclipse.buildId=M20090917-0800
java.version=1.6.0_17
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments: -application
org.eclipse.update.core.standaloneUpdate -command mirror -from
http://dl.google.com/eclipse/plugin/3.5 -to .
Command-line arguments: -application
org.eclipse.update.core.standaloneUpdate -command mirror -from
http://dl.google.com/eclipse/plugin/3.5 -to .

!ENTRY org.eclipse.update.core 4 0 2009-12-11 21:25:21.784
!MESSAGE Unable to retrieve remote reference "http://dl.google.com/
eclipse/plugin/3.5/features/
com.google.gwt.eclipse.sdkbundle.e35.feature.
2.0.0._2.0.0.v200912062003.jar". [Server returned HTTP response code:
"404 Not Found" for URL:
http://dl.google.com/eclipse/plugin/3.5/features/com.google.gwt.eclipse.sdkbundle.e35.feature.2.0.0._2.0.0.v200912062003.jar.]
!STACK 0
org.eclipse.update.internal.core.FatalIOException: Server returned
HTTP response code: "404 Not Found" for URL:
http://dl.google.com/eclipse/plugin/3.5/features/com.google.gwt.eclipse.sdkbundle.e35.feature.2.0.0._2.0.0.v200912062003.jar.
at
org.eclipse.update.internal.core.UpdateManagerUtils.checkConnectionResult
(UpdateManagerUtils.java:468)
at org.eclipse.update.core.ContentReference.getInputStream
(ContentReference.java:149)
at
org.eclipse.update.core.FeatureContentProvider.asLocalReference
(FeatureContentProvider.java:264)
at
org.eclipse.update.internal.core.FeaturePackagedContentProvider.getFeatureEntryArchiveReferences
(FeaturePackagedContentProvider.java:157)
at
org.eclipse.update.internal.core.FeaturePackagedContentProvider.getFeatureManifestReference
(FeaturePackagedContentProvider.java:83)
at
org.eclipse.update.internal.core.FeaturePackagedFactory.createFeature
(FeaturePackagedFactory.java:39)
at org.eclipse.update.core.Site.createFeature(Site.java:536)
at org.eclipse.update.core.FeatureReference.createFeature
(FeatureReference.java:124)
at org.eclipse.update.core.FeatureReference.getFeature
(FeatureReference.java:112)
at org.eclipse.update.core.FeatureReference.getFeature
(FeatureReference.java:99)
at
org.eclipse.update.internal.mirror.MirrorSite.mirrorAndExposeFeatures
(MirrorSite.java:145)
at
org.eclipse.update.internal.mirror.MirrorSite.mirrorAndExpose
(MirrorSite.java:85)
at org.eclipse.update.internal.mirror.MirrorCommand.run
(MirrorCommand.java:91)
at org.eclipse.update.standalone.ScriptedCommand.run
(ScriptedCommand.java:66)
at
org.eclipse.update.standalone.StandaloneUpdateApplication.run
(StandaloneUpdateApplication.java:49)
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.internal.app.EclipseAppContainer.callMethodWithException
(EclipseAppContainer.java:574)
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:368)
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:
559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

Rajeev Dayal

unread,
Dec 14, 2009, 11:57:21 AM12/14/09
to google-we...@googlegroups.com
Hi Robert,

On Fri, Dec 11, 2009 at 2:47 PM, Robert Munteanu <robert....@gmail.com> wrote:
Hi,

I'm not able to update using the Eclipse update manager ( No
repository found containing: ... ) , and I've tried to mirror the
update site, using

Is there any more information for that error message in particular?  

Have you tried removing the site from the list of "Available Software Sites" and re-adding it?


java -jar /opt/eclipse/plugins/
org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -application
org.eclipse.update.core.standaloneUpdate -command mirror -from
http://dl.google.com/eclipse/plugin/3.5 -to .


I suspect that you may be running into problems with this because of an error in our site.xml file. There is an extra period in the URL field for the GWT SDK Bundle feature. In practice, this usually doesn't matter, because Eclipse 3.5 uses P2, which relies on the content.jar and artifacts.jar files instead of the site.xml file. It looks like the mechanism that you're using to mirror the update site may actually rely on site.xml itself instead of the jar files. We're going to push a fix out for this soon. As an FYI, there may be a P2-compatible way to mirror the update site which would get you around this problem with the site.xml file.

  

--

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Robert Munteanu

unread,
Dec 14, 2009, 3:55:25 PM12/14/09
to Google Web Toolkit


On Dec 14, 6:57 pm, Rajeev Dayal <rda...@google.com> wrote:
> Hi Robert,
>
> On Fri, Dec 11, 2009 at 2:47 PM, Robert Munteanu
> <robert.munte...@gmail.com>wrote:
>
> > Hi,
>
> > I'm not able to update using the Eclipse update manager ( No
> > repository found containing: ... ) , and I've tried to mirror the
> > update site, using
>
> Is there any more information for that error message in particular?
>
> Have you tried removing the site from the list of "Available Software Sites"
> and re-adding it?

This fixed the UI-based installation. Thanks!

>
> > java -jar /opt/eclipse/plugins/
> > org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -application
> > org.eclipse.update.core.standaloneUpdate -command mirror -from
> >http://dl.google.com/eclipse/plugin/3.5-to .
>
> I suspect that you may be running into problems with this because of an
> error in our site.xml file. There is an extra period in the URL field for
> the GWT SDK Bundle feature. In practice, this usually doesn't matter,
> because Eclipse 3.5 uses P2, which relies on the content.jar and
> artifacts.jar files instead of the site.xml file. It looks like the
> mechanism that you're using to mirror the update site may actually rely on
> site.xml itself instead of the jar files. We're going to push a fix out for
> this soon. As an FYI, there may be a P2-compatible way to mirror the update
> site which would get you around this problem with the site.xml file.

Right, I assumed the two failures were related. I was able to mirror
the site using the p2 director (
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/p2_director.html
).

Thanks for your help, Rajeev.

Robert

>
> > and it fails from 2 different locations with the same error ( below ).
> > I know about
> >http://dl.google.com/eclipse/plugin/3.5/zips/gpe-e35-latest.zip
> > but I'd rather use a zipped update site than dropins.
>
> > Any ideas why this is happening?
>
> > Thanks,
>
> > Robert
>
> > -----
>
> > !SESSION 2009-12-11 21:25:19.576
> > -----------------------------------------------
> > eclipse.buildId=M20090917-0800
> > java.version=1.6.0_17
> > java.vendor=Sun Microsystems Inc.
> > BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> > Framework arguments:  -application
> > org.eclipse.update.core.standaloneUpdate -command mirror -from
> >http://dl.google.com/eclipse/plugin/3.5-to .
> > Command-line arguments:  -application
> > org.eclipse.update.core.standaloneUpdate -command mirror -from
> >http://dl.google.com/eclipse/plugin/3.5-to .
>
> > !ENTRY org.eclipse.update.core 4 0 2009-12-11 21:25:21.784
> > !MESSAGE Unable to retrieve remote reference "http://dl.google.com/
> > eclipse/plugin/3.5/features/
> > com.google.gwt.eclipse.sdkbundle.e35.feature.
> > 2.0.0._2.0.0.v200912062003.jar". [Server returned HTTP response code:
> > "404 Not Found" for URL:
>
> >http://dl.google.com/eclipse/plugin/3.5/features/com.google.gwt.eclip...
> > .]
> > !STACK 0
> > org.eclipse.update.internal.core.FatalIOException: Server returned
> > HTTP response code: "404 Not Found" for URL:
>
> >http://dl.google.com/eclipse/plugin/3.5/features/com.google.gwt.eclip...
> > .
> > google-web-tool...@googlegroups.com<google-web-toolkit%2Bunsu...@googlegroups.com>
> > .
Reply all
Reply to author
Forward
0 new messages