Eclipse p2 : Difference between category.xml and site.xml(Eclipse p2:category.xml 和 site.xml 之间的区别)
问题描述
像 eclipse.publish.featuresAndBundles 这样的 p2 存储库创建 ant 任务似乎需要一个指定类别信息的 site.xml 或 category.xml 文件.
p2 repository creation ant tasks like eclipse.publish.featuresAndBundles seem to take a site.xml or category.xml file which specifies the category information.
我看到 eclipse 生成的 site.xml 和 category.xml 的内容在标签上都是完全相同的.
I see that the contents of site.xml and category.xml that eclipse generates are exactly the same right down to the tags.
那么这两者有什么区别呢?
So what is the difference between the two?
编辑 - 明确:
除了文件名之外,category.xml 中有哪些与 site.xml 不同的加法/减法?
Edit - To be clear :
What additions/subtractions are present in category.xml that differentiate it from a site.xml apart from the filenames?
推荐答案
主要区别在于site.xml提供了更新站点和其他repo信息可以结构化的信息,它是更新站点的一部分,但从 3.4 开始,它已被替换为 content.xml 和 artifacts.xml
The main difference between the to that the site.xml provides information where the update site and other repo information can be structured, and it is part of the update site, but as of 3.4 it has been replaced with content.xml and artifacts.xml
类别中是一个描述类别的 XML 文件,它可以在 p2 构建期间使用并生成在帮助">安装新软件"对话框中看到的类别.但是对于 p2,categories.xml 可以替换为包含您期望的信息的复合 repo 中的子 repo.
In the categories is an XML file describing categories, it can be consumed during a p2 build and produces the categories seen in the Help>Install New Software dialog. But again with p2, categories.xml can be replaced with a child repo in a composite repo containing the information you would expect.
这篇关于Eclipse p2:category.xml 和 site.xml 之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Eclipse p2:category.xml 和 site.xml 之间的区别
基础教程推荐
- RabbitMQ:消息保持“未确认"; 2022-01-01
- 问题http://apache.org/xml/features/xinclude测试日志4j 2 2022-01-01
- 使用堆栈算法进行括号/括号匹配 2022-01-01
- REST Web 服务返回 415 - 不支持的媒体类型 2022-01-01
- 修改 void 函数的输入参数,然后读取 2022-01-01
- 存储 20 位数字的数据类型 2022-01-01
- 无法复制:“比较方法违反了它的一般约定!" 2022-01-01
- Spring AOP错误无法懒惰地为此建议构建thisJoinPoin 2022-09-13
- 如何对 Java Hashmap 中的值求和 2022-01-01
- Struts2 URL 无法访问 2022-01-01
