Eclipse p2:category.xml和site.xml之间的区别 [英] Eclipse p2 : Difference between category.xml and site.xml

查看:162
本文介绍了Eclipse p2:category.xml和site.xml之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

p2存储库创建蚂蚁任务像eclipse.publish.featuresAndBundles似乎采取一个site.xml或category.xml文件来指定类别信息。



我看到eclipse生成的site.xml和category.xml的内容与标签完全一样。



那么两者之间有什么区别?



编辑 - 要清楚:

category.xml中存在什么添加/减法,将其与site.xml区分开来除了文件名?

解决方案

与site.xml的主要区别在于提供更新站点和其他repo的信息信息可以被构造,并且它是更新站点的一部分,但是从3.4开始,它已被content.xml和artifacts.xml替换。



在类别中是描述类别的XML文件,它可以在p2构建期间使用,并生成在其中看到的类别帮助>安装新软件对话框。但是再次使用p2,categories.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.

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?

Edit - To be clear :
What additions/subtractions are present in category.xml that differentiate it from a site.xml apart from the filenames?

解决方案

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

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之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆