首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何查看哪个URL Tycho是镜像的?

如何查看哪个URL Tycho是镜像的?
EN

Stack Overflow用户
提问于 2022-09-28 02:34:55
回答 1查看 27关注 0票数 0

我正在跟踪博客带有Tycho的镜像Eclipse p2存储库来反映一些可安装的单元。此外,我还跟踪Tycho/目标平台/认证和镜像来配置settings.xml中的其他位置。启动mvn package -s ./settings.xml时,控制台显示:

代码语言:javascript
复制
[INFO] Mirroring to /path/to/eclipse/mirrors...
Mirroring: osgi.bundle,org.eclipse.swt.gtk.linux.aarch64.source,3.120.0.v20220530-1036 (Descriptor: canonical: osgi.bundle,org.eclipse.swt.gtk.linux.aarch64.source,3.120.0.v20220530-1036)
Mirroring: osgi.bundle,org.junit.platform.suite.commons,1.8.1.v20211018-1956 (Descriptor: canonical: osgi.bundle,org.junit.platform.suite.commons,1.8.1.v20211018-1956)
Mirroring: osgi.bundle,org.eclipse.xtext.ui.shared,2.27.0.v20220530-0416 (Descriptor: canonical: osgi.bundle,org.eclipse.xtext.ui.shared,2.27.0.v20220530-0416)
Mirroring: osgi.bundle,org.eclipse.jetty.io,10.0.9 (Descriptor: canonical: osgi.bundle,org.eclipse.jetty.io,10.0.9)
Mirroring: osgi.bundle,org.apache.batik.util,1.9.1.v20180703-1553 (Descriptor: canonical: osgi.bundle,org.apache.batik.util,1.9.1.v20180703-1553)
Mirroring: osgi.bundle,org.eclipse.pde.runtime.source,3.7.400.v20220317-2150 (Descriptor: canonical: osgi.bundle,org.eclipse.pde.runtime.source,3.7.400.v20220317-2150)
Mirroring: osgi.bundle,org.eclipse.emf.importer.java.source,2.11.0.v20200324-0723 (Descriptor: canonical: osgi.bundle,org.eclipse.emf.importer.java.source,2.11.0.v20200324-0723)
Mirroring: osgi.bundle,org.junit.platform.runner.source,1.8.1.v20211018-1956 (Descriptor: canonical: osgi.bundle,org.junit.platform.runner.source,1.8.1.v20211018-1956)
Mirroring: org.eclipse.update.feature,org.eclipse.swtbot,4.0.0.202206011610 (Descriptor: canonical: org.eclipse.update.feature,org.eclipse.swtbot,4.0.0.202206011610)
Mirroring: osgi.bundle,org.eclipse.emf.exporter,2.10.0.v20190321-1530 (Descriptor: canonical: osgi.bundle,org.eclipse.emf.exporter,2.10.0.v20190321-1530)
Mirroring: osgi.bundle,org.eclipse.epsilon.erl.dt,2.4.0.202203041826 (Descriptor: canonical: osgi.bundle,org.eclipse.epsilon.erl.dt,2.4.0.202203041826)
Mirroring: osgi.bundle,org.eclipse.equinox.launcher.cocoa.macosx.aarch64,1.2.500.v20220509-0833 (Descriptor: canonical: osgi.bundle,org.eclipse.equinox.launcher.cocoa.macosx.aarch64,1.2.500.v20220509-0833)
Mirroring: osgi.bundle,org.eclipse.ui.cheatsheets.source,3.7.300.v20210507-0822 (Descriptor: canonical: osgi.bundle,org.eclipse.ui.cheatsheets.source,3.7.300.v20210507-0822)
Mirroring: osgi.bundle,org.eclipse.pde.ua.ui.source,1.2.400.v20220317-0700 (Descriptor: canonical: osgi.bundle,org.eclipse.pde.ua.ui.source,1.2.400.v20220317-0700)
Mirroring: osgi.bundle,org.eclipse.emf.mwe.utils,1.7.0.v20220519-1115 (Descriptor: canonical: osgi.bundle,org.eclipse.emf.mwe.utils,1.7.0.v20220519-1115)
Mirroring: osgi.bundle,org.eclipse.ui.views.properties.tabbed,3.9.100.v20201223-1348 (Descriptor: canonical: osgi.bundle,org.eclipse.ui.views.properties.tabbed,3.9.100.v20201223-1348)
Mirroring: osgi.bundle,org.eclipse.pde.build.source,3.11.200.v20220503-0921 (Descriptor: canonical: osgi.bundle,org.eclipse.pde.build.source,3.11.200.v20220503-0921)
Mirroring: osgi.bundle,org.eclipse.core.net.win32.source,1.0.0.v20220312-1450 (Descriptor: canonical: osgi.bundle,org.eclipse.core.net.win32.source,1.0.0.v20220312-1450)
Mirroring: osgi.bundle,org.eclipse.emf.ecore.change.edit,2.8.0.v20180706-1146 (Descriptor: canonical: osgi.bundle,org.eclipse.emf.ecore.change.edit,2.8.0.v20180706-1146)
Mirroring: osgi.bundle,org.eclipse.equinox.registry,3.11.100.v20211021-1418 (Descriptor: canonical: osgi.bundle,org.eclipse.equinox.registry,3.11.100.v20211021-1418)
Mirroring: org.eclipse.update.feature,org.eclipse.emf.common,2.26.0.v20220325-0806 (Descriptor: canonical: org.eclipse.update.feature,org.eclipse.emf.common,2.26.0.v20220325-0806)

这个过程很慢,花了将近两个小时。也许我的settings.xml不起作用。我不知道Tycho被困在什么地方。也许我已经配置了以https://download.eclipse.org开头的URL来代替我的镜像URL,但是Tycho是从http://download.eclipse.org获取的,所以它忽略了我的镜像配置。也许Tycho无法在指定的镜像位置找到一些工件。我不知道。控制台应该像Maven镜像那样告诉我这一点。Tycho没有。是否需要额外的配置来打印Tycho取得了多少进展?镜像过程在黑匣子中运行,这让我感到焦虑--它应该什么时候结束?泰丘是怎么被困住的?我能做什么?想象一下等待Windows更新结束的感觉。我希望有一个调试选项来告诉我所有的进展。我需要得到充分的信息。感谢你的帮助!

这条信息中我可以看到Tycho0.16.0中有关于进度的控制台输出。后来的Tycho版本发生了什么变化,让用户陷入了黑暗之中?

代码语言:javascript
复制
[INFO] Fetching p2.index from
http://artifactory.myintranet.net:8080/p2-eclipse-releases-juno/ (0B of
128B at 0B/s)
EN

回答 1

Stack Overflow用户

发布于 2022-09-28 12:37:30

命令行选项-X (或--debug,产生执行调试输出)已经给出了答案。

为什么Tycho忽略settings.xml中的镜像配置?答:不,Tycho不忽略配置。但是tycho-p2-extras-plugin只是不支持镜像配置。这些配置只对在<repositories>标记下在pom.xml中编写的存储库生效。Tycho尚未支持使用镜像镜像存储库。(对于大多数开发人员来说,这听起来可能有些奇怪。)Tycho支持的只是从镜像存储库中提取Maven项目的依赖项。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/73875602

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档