简体   繁体   English

是否可以在不使用tycho插件的情况下生成artifact.xml和content.xml?

[英]Is it possible to generate the artifact.xml and content.xml without using tycho plugin

I am searching for a way to generate the artifact.xml and the content.xml manually without using the eclipse tycho-plugin . 我正在寻找一种无需使用eclipse tycho-plugin即可手动生成artifact.xmlcontent.xml方法。 Currently I have all the OSGi bundles and the features(with all the dependant bundles) to be installed in to the p2-repo in a seperate location. 目前,我已经将所有OSGi捆绑软件和功能部件(包括所有从属捆绑软件)安装在单独的位置中的p2-repo中。 By looking at the content of the artifact.xml and content.xml files, I observed that they contain most of the meta data available in the existing bundles and features plus few additional meta data. 通过查看artifact.xmlcontent.xml文件的内容,我观察到它们包含现有捆绑软件和功能部件中可用的大多数元数据以及少量其他元数据。 Is it possible to generate the above two files without using the Tycho plugin . 是否可以在不使用Tycho plugin情况下生成上述两个文件。

Thank you 谢谢

Might the Eclipse Features and Bundles Publisher be what you are looking for? 您可能正在寻找Eclipse Feature and Bundles Publisher吗?

Eclipse brings with it some helper applications that can be run on the command line. Eclipse附带了一些可以在命令行上运行的帮助程序。 One of it is the Features and Bundles Publisher . 其中之一就是功能和捆绑发布商 From the documentation: 从文档中:

The features and bundles publisher application (org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher) is a command line application that is capable of generating metadata (p2 repositories) from pre-built Eclipse bundles and features. 功能和捆绑包发布者应用程序(org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher)是一个命令行应用程序,能够从预构建的Eclipse捆绑包和功能生成元数据(p2存储库)。

You can find more information including sample calls in the respective Eclipse documentation . 您可以在相应的Eclipse文档中找到更多信息,包括样本调用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 更新站点后缀为content.xml的显式 - Update Site Explicitly suffixing content.xml sonatype nexus p2 repo无法从本地存储中检索artifacts.xml和content.xml - sonatype nexus p2 repo cannot retrieve artifacts.xml & content.xml from local storage 无法读取https://spotbugs.github.io/eclipse/content.xml中的存储库 - Unable to read repository at https://spotbugs.github.io/eclipse/content.xml 无法读取位于 https://download.jboss.org/jbosstools/photon/stable/composite/4.17.0/content.Z0F635D0E0F3874FFF8B581C1372 的存储库 - Unable to read repository at https://download.jboss.org/jbosstools/photon/stable/composite/4.17.0/content.xml 通过category.xml包含IU,而不使用Tycho对其进行分类 - Include IUs via category.xml without categorizing them with Tycho 使用不带plugin.xml的Eclipse装饰器 - Using Eclipse Decorators without plugin.xml 虽然有一个category.xml,但Tycho构建失败并且“没有为p2存储库指定内容” - Tycho build fails with “No content specified for p2 repository” although there is a category.xml 无法使用pom.xml中的T​​ycho 1.0.0解决“ eclipse-plugin”打包类型 - Unable to resolve “eclipse-plugin” packaging type with Tycho 1.0.0 in pom.xml 不使用 m2eclipse 插件自动格式化 pom.xml - Autoformat pom.xml without using m2eclipse plugin Eclipse Tycho:使用java.xml.bind模块时编译错误? - Eclipse Tycho: Compile error when using the java.xml.bind module?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM