[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] Missing webtools p2 update sites break tycho builds

Hi,Â

the m2e-wtp build (based on tycho 0.16.0) is currently broken because of the following :


08:39:53  [INFO] Adding repository http://download.eclipse.org/webtools/repository/juno
08:39:56  [ERROR] Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at http://download.eclipse.org/webtools/repository/juno. No repository found at http://download.eclipse.org/webtools/downloads/drops/R3.4.0/S-3.4.0M1-20110812160550/repository. -> [Help 1]
08:39:56  org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at http://download.eclipse.org/webtools/repository/juno.
08:39:56  	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
08:39:56  	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
08:39:56  	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
08:39:56  	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
08:39:56  	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
08:39:56  	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
08:39:56  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
08:39:56  	at java.lang.reflect.Method.invoke(Method.java:597)
08:39:56  	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
08:39:56  	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
08:39:56  	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
08:39:56  	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
08:39:56  Caused by: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at http://download.eclipse.org/webtools/repository/juno.
08:39:56  	at org.eclipse.tycho.p2.target.TargetPlatformBuilderImpl.addP2Repository(TargetPlatformBuilderImpl.java:247)
08:39:56  	at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.addEntireP2RepositoryToTargetPlatform(P2TargetPlatformResolver.java:314)
08:39:56  	at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.computeTargetPlatform(P2TargetPlatformResolver.java:203)
08:39:56  	at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:94)
08:39:56  	at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:82)
08:39:56  	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
08:39:56  	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
08:39:56  	... 11 more
08:39:56  Caused by: org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at http://download.eclipse.org/webtools/repository/juno.
08:39:56  	at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.addChild(CompositeMetadataRepository.java:186)
08:39:56  	at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.<init>(CompositeMetadataRepository.java:107)
08:39:56  	at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.load(CompositeMetadataRepositoryFactory.java:122)
08:39:56  	at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)
08:39:56  	at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:758)
08:39:56  	at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:651)
08:39:56  	at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
08:39:56  	at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
08:39:56  	at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(RemoteMetadataRepositoryManager.java:82)
08:39:56  	at org.eclipse.tycho.p2.target.TargetPlatformBuilderImpl.addP2Repository(TargetPlatformBuilderImpl.java:234)
08:39:56  	... 17 more
08:39:56  Caused by: org.eclipse.equinox.p2.core.ProvisionException: No repository found at http://download.eclipse.org/webtools/downloads/drops/R3.4.0/S-3.4.0M1-20110812160550/repository.
08:39:56  	at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:393)
08:39:56  	at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:675)
08:39:56  	at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
08:39:56  	at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
08:39:56  	at org.eclipse.tycho.p2.remote.RemoteMetadataRepositoryManager.loadRepository(RemoteMetadataRepositoryManager.java:82)
08:39:56  	at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.addChild(CompositeMetadataRepository.java:167)

The graphical P2 browser from https://github.com/ifedorenko/p2-browser confirms the canonical webtools repo references several missing repos. I don't know yet if we can make tycho not fail in cases like this, but in any case, the aggregate update site at http://download.eclipse.org/webtools/repository/juno (and possibly helios/indigo/...) should be cleansed.
Regards,
Fred Bricon

--
"Have you tried turning it off and on again" - The IT Crowd