【发布时间】:2021-04-29 09:11:41
【问题描述】:
我正在寻找一种方法来制作 p2 存储库的镜像 - 将其减少到所需的内容并仍然保持附加源。到目前为止,我一直在尝试使用 ant 任务来镜像存储库:
<target name="R2020-09-partial" description="Reduced 2020-09 update site only containing feratures and plugins directly or indirectly references by the update site">
<p2.mirror>
<repository location="${destinationFolder}${ant.project.invoked-targets}" />
<source>
<repository location="${destinationFolder}/R2020-09" />
</source>
<slicingOptions followStrict="false" />
<iu id="org.eclipse.platform.feature.group" />
<iu id="org.eclipse.rcp.feature.group" />
[...]
<iu id="org.eclipse.help.feature.group" />
</p2.mirror>
</target>
这工作正常并创建了一个镜像,但只有极少数原始资源仍然是镜像的一部分。不知何故,它不是 none 或 all,而只是 some。
如何让 p2.mirror 复制它所需要的 jar 的 所有 源?
我一直在读这个 https://rtist.hcldoc.com/help/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fp2_repositorytasks.htm 但我一直没能找到我要找的线索。
谢谢大家 妮可
PS。为澄清起见,destinationFolder 包含一个没有任何切片的 R2020-09 镜像。这也是我看到来源的地方。他们似乎在切片步骤中迷路了。
【问题讨论】:
标签: eclipse-rcp p2