p2

eclipse commandline to install plugin from remote zip

时光总嘲笑我的痴心妄想 提交于 2019-12-21 17:28:05
问题 Hi All trying to install eclipse plugin from remote site using chef. Remote site has zip file which is accessible as url. I understand how to do it from local zip file. But this case is q mix of url and zip. Please see the following syntax that I am using eclipse\\eclipse \ -application org.eclipse.equinox.p2.director \ -noSplash \ -repository \ http://nikiclvm4.xxx.yyyy.com:8081/artifactory/simple/tools-local/chef_bin/ccollab_client_8_3_8301_001_update_site.zip \ -installIUs \ com.smartbear

What is a p2 repository?

你离开我真会死。 提交于 2019-12-21 04:13:08
问题 I'm working on a project now for a few months where we use "p2-repositories". I know that I get my dependencies from them. But now I want do dive deeper into the subject and I wonder what exactly is a p2-repository - the definition. I think it has something to do with OSGi and with Nexus. But where does it come from? Am I bound to Nexus when I use p2 repositories? Or is this the common standard from OSGi? Or Eclipse/Maven/Tycho? Why do I need p2-repositories, when I can have Maven? Or why can

In Equinox Is it possible to to mark an OSGi bundle as started from its containing feature's p2.inf?

丶灬走出姿态 提交于 2019-12-18 12:29:26
问题 I have an Eclipse feature which includes several bundles. I want to tell p2 to mark one of those bundles as started when the feature is installed. This is possible using the bundles own META-INF/p2.inf like so, instructions.configure = markStarted(started: true) but I want to do this at the feature-level rather than the bundle-level (the bundle in question is third-party, and I'd prefer not to modify it in any way, if possible). Some research has led me to this document which suggests that it

Running P2 Ant tasks outside Eclipse

别等时光非礼了梦想. 提交于 2019-12-18 11:34:32
问题 I got ant script running fine inside Eclipse Here is a piece of it : <p2.composite.repository failOnExists="true"> <repository location="file:/${basedir}/compRepo" name="Repository description goes here" /> <add> <repository location="http://url/Eclipse/repo/Galileo-3.5.1/" /> <repository location="http://another-url/Java/repo/4.0/" /> <repository location="${diag.location}" /> </add> </p2.composite.repository> But I would like Hudson CI server to be able to run it, but, no matter all the

OpenCV学习 day4 绘制形状与文字

自闭症网瘾萝莉.ら 提交于 2019-12-17 11:35:21
1. 绘制形状与文字 绘制线段:line() void MyLines() { Point p1(20, 30); Point p2; p2.x = 300; p2.y = 300; Scalar color = Scalar(0, 0, 255); line(bgImage, p1, p2, color, 2, LINE_AA); //LINA_AA 不要锯齿 } 绘制矩形:rectangle() void MyRectangle() { Rect rect = Rect(20, 30, 280, 270); //x y w h Scalar color = Scalar(0, 255, 0); rectangle(bgImage, rect, color, 3, LINE_AA); } 绘制椭圆:ellipse() void MyEllipse() { //Size axes1(bgImage.cols / 4, bgImage.rows / 8); //横轴 竖轴 //Size axes2; //axes2.width = bgImage.cols / 4; //axes2.height = bgImage.rows / 8; ellipse(bgImage, Point(bgImage.cols / 2, bgImage.rows / 2), Size(bgImage

Eclipse doesn't load plugins in the dropins folder

牧云@^-^@ 提交于 2019-12-17 10:27:03
问题 I just downloaded Eclipse SDK 3.5.1 and want to install some add ons such as GEF, EMF, etc. I downloaded all the zip files for everything I needed and decided to install them in the dropins folder. I read http://wiki.eclipse.org/Equinox_p2_Getting_Started and structured my dropin folder as specified: eclipse/ dropins/ emf/ eclipse/ features/ plugins/ gef/ eclipse/ features/ plugins/ ... etc ... When I start up Eclipse it does not recognize any of the features or plugins I have put into the

Try to generate a p2 site with mixed osgi and non osgi bundle

霸气de小男生 提交于 2019-12-13 07:24:03
问题 I try many thing to create a p2 repository with all transitive (OSGI and non OSGI) maven dependencies of my project, but tycho take only account of osgi.bundle ? The maven-dependency-plugin copy all the maven files, and tycho-p2-extras-plugin generate the metadata for p2 site. tycho-p2-repository-plugin generate the p2 repository using the /target/source/plugins dependencies previously downloaded. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema

Error when updating p2 enabled RCP application in multiuser environment

杀马特。学长 韩版系。学妹 提交于 2019-12-13 05:47:43
问题 Is that possible to implement the update of my own p2 enabled RCP application in a way that it will function in multiuser environment. What I want to do is identical to eclipse, I want to have my application installed in a location that is read-only to the user. When the user runs, he gets his own writable location, usually under his home directory. The user can install additional features that are stored under this writable location. How is that possible to do. I tested my application and it

p2 director command line parameter to find installable units does not return information

送分小仙女□ 提交于 2019-12-13 03:44:33
问题 I am attempting to use p2 director with a command line parameter to get a list of installable units from a p2 repository. I started with the steps from this post to use the -list parameter: Command line to find units in a p2 repository using p2 query language However, when I run p2 director, the command line returns nothing. My command line looks like this: "C:\IBM\IBM_DevelopmentPackage_for_Eclipse_Win_X86_32_6.5.5\eclipseDevelopmentPackage\eclipse"\eclipsec.exe -application org.eclipse

How to add a dependency to an Eclipse bundle in a Tycho build

梦想与她 提交于 2019-12-13 02:56:33
问题 I want to include org.eclipse.uml2.uml_4.0.0.v20120604-0919.jar in a Maven module. I've set up the p2 repository <repository> <id>juno</id> <layout>p2</layout> <url>http://download.eclipse.org/releases/juno</url> </repository> and configured the Tycho build extension. Which groupdId and artifactId do I have to use so that Tycho will include org.eclipse.uml2.uml_4.0.0.v20120604-0919.jar as a dependency? 回答1: In Tycho, you need to specify the dependencies of your plug-in in the OSGi manifest