Many times when working with Eclipse RCP
I had to generate ad-hoc updatesites (usually containing some 3rd party
plug-ins). What I usually did to achieve this (with Eclipse IDE):
- create new feature project
- add plug-ins to the feature
- create new updatesite project
- add the feature to the updatesite (pre-p2 style – site.xml)
- export newly created updatesite (letting Eclipse to deal with creating p2
meta data)
Since I needed to automate this process
I started researching on p2 capabilities and found out that it can be done from
command line using FeatureAndBundlesPublisher application. Sample command line
invocation to do it:
%ECLIPSE_EXE% -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -metadataRepository file:/%P2_TARGET% -artifactRepository file:/%P2_TARGET% -source %P2_SRC% -compress -configs win32.win32.x86 -publishArtifacts
Where:
- ECLIPSE_EXE – points to Eclipse executable;
- P2_TARGET – path to an empty directory where p2 repository should be
created;
- P2_SRC – path to the directory with /plugins subdirectory and plug-ins to be
published (jar files) inside;
-
-compress
parameter is optional. It compresses artifacts.xml and
content.xml to jar (zip) files.
分享到:
相关推荐
Generate MD5 value from big data
Chapter 3 Towards a Big Data Benchmarking and Demonstration Suite for the Online Social Network Era with Realistic Workloads and Live Data Chapter 4 On Statistical Characteristics of Real-Life ...
Generating Data with DO Loops Processing Variables with Arrays Improving Program Efficiency with Macro Variables Reading Various Types of Raw Data Reading Raw Data in Fixed Fields Reading ...
displaying spatial-temporal displays with Google Earth, and generating code from descriptions of data structures to read and write data. These topics demonstrate the rich possibilities and ...
The second mode is the Prototype mode which is used solely for generating MEGA Analysis Options (.mao) files that specify analysis settings when using MEGA from a command shell The command-line ...
Generating virtual ratings from chinese reviews to augment online recommendations
BigOP: Generating Comprehensive Big Data Workloads as a Benchmarking Framework
Analyses of the information contained in these data sets have already led to major breakthroughs in fields ranging from genomics to astronomy and high-energy physics and to the development of new ...
Generating Functionology
从连续空间生成句子 基于的代码的LSTM变分自动编码器的。 完全重写。 并非完全遵循本文,但主要思想已实现... title = { Generating Sentences from a Continuous Space, Keras implementation. } , year = { 2018 } ,
showing how functional approaches allow us to see new things, especially by exploiting the smoothness of the processes generating the data. The data sets exemplify the wide scope of functional data ...
Surfer100 Generating Surveys From Web Resources on Wikipedia-style_Surfer100根据维基百科风格的Web资源生成调查.pdf
Generating and restoring an image from the CompactFlash Card of your control system to save data. Writing images to a CompactFlash Card. Loading commissioning files directly to the control system ...
Generating Artifacts问题三种解决办法
颜色分类leetcode 生成数据 介绍 数据分析通常需要分析师使用某种类型的数据来测试算法的效率/性能。 在这种情况下,重点不是像我们之前看到的那样回答一些分析问题,而是测试一些机器学习假设,例如,比较两种不同...
demonstrated for text (where the data are discrete) and online handwrit- ing (where the data are real-valued). It is then extended to handwriting synthesis by allowing the network to condition its ...
adv Generating a Map Application源码
adv Generating a Map Application 题目
scatterplot matrices, heat maps, and sizing.In the second module, you'll start with getting your data into Tableau, move onto generating progressively complex graphics, and end with the finishing ...
We will then implement example solutions using real-world data from the domain of software engineering, and we will spend time learning how to understand and interpret the results we get. By the end...