p2

Eclipse RCP - Update

只谈情不闲聊 提交于 2019-12-12 19:35:10
问题 While creating the sample, I noticed very strange behavior and due to which I am somewhat stuck. I will explain the problem in 2 scenarios Scenario 1. Create two Plug-ins. Create two features. Create one product & include only one feature. Create a category and include both the features. Export the product and test it using the generated launcher. Everything works fine. Now export the deployable feature and copy the generated files into webserver. Open install new software option and install

Tool for downloading eclipse plugins from update sites

有些话、适合烂在心里 提交于 2019-12-12 08:36:02
问题 I need to install an eclipse plugin to a machine not connected to the Internet and I cannot find a dist to use for a local install. Is there a tool for downloading a plugin from an update site and create a local installation archive (or a local update site)? Rumors says you can do this with eclipse, but I cant find any info on how to do it. 回答1: You can use P2 mirror tool (or P2 mirror in Galileo documentation) to mirror remote metadata and artifacts repository. Here is sample command to

Failed to Resolve Target Definition on OpenShift

半世苍凉 提交于 2019-12-12 01:36:57
问题 I'm trying to get a Tycho build to work on an OpenShift server. Locally resolving the target definition and building works fine, but when deploying I get the following error: Unable to read repository at http://download.eclipse.org/rt/rap/2.2/content.xml. Permission denied I'm not sure if its a problem in the Tycho configuration (but as far as I can remember, I didn't do anything outside the build reactor to make Tycho work) or the one of OpenShift. Could someone tell me what the problem is

Running p2.process.artifacts in Jenkins

孤人 提交于 2019-12-11 16:27:51
问题 I read the SO post Running P2 Ant tasks outside Eclipse, which was a great help. I am trying to call p2.process.artifacts, however I am not sure what arguments should I pass to java task call. What should value for application argument be and how can I pass augment for jar signing (p2.process.arifacts:sign) to this call which is nested in p2.process.artifacts element? Thanks, Alex 回答1: If you want to run with Java calling Eclipse's AntRunner to run an ant script (eg., build.xml) containing

Help installing Spring plugin on Eclipse Indigo

一笑奈何 提交于 2019-12-11 16:15:56
问题 I have been trying for weeks to install spring plugin with Eclipse 3.7 It seems very slow and it keeps timing out with certain jars it is trying to get as dependancies tptp jars are the usual problems, Is there any way to manually install these dependancies and the plugin or do i have to keep trying over and over watching it re-download the same files over and over? I did leave it once all day Friday through to end of day Monday and it only got 48% through installing. Repository in use is the

UI not listing contents of Eclipse software site

落花浮王杯 提交于 2019-12-11 14:59:03
问题 When trying to add a Software Site (p2 plugin repository - either one generated by p2 Publisher or Nexus with p2 support) to a target definition via the "Target Definition Wizard" there seem to be "no items available" preventing the site to be added. The same problem has been reported e.g. here: https://docs.sonatype.org/display/Nexus/Nexus+OSGi+Experimental+Features+-+P2+Repository+Plugin?focusedCommentId=12943363#comment-12943363 Tycho and the https://github.com/ifedorenko/p2-browser are

插头$DP$初步

旧时模样 提交于 2019-12-11 12:31:01
之前学的全忘了,到头来又要重炒一遍板子,不过因为码力增强( 认真抄 ),感觉思路清晰一点了。 邮递员:   放个注释的板子    1 #include<cstdio> 2 #include<iostream> 3 #include<cstdlib> 4 #include<cstring> 5 #define LL __int128 6 using namespace std; 7 int n,m; 8 LL ans=0; 9 struct HASH_MAP{ 10 #define mo 2601 11 struct nnode{ 12 int nt,key; 13 LL val; 14 }e[mo*20];int hd[mo],itot; 15 void init(){ 16 itot=0; 17 memset(hd,0,sizeof(hd)); 18 return ; 19 } 20 LL &operator [](const int &key){ 21 const int u=key%mo; 22 for(int i=hd[u];i;i=e[i].nt) 23 if(e[i].key==key)return e[i].val; 24 e[++itot].key=key,e[itot].val=0; 25 e[itot].nt=hd[u],hd[u]=itot; 26

How do I create a mirror for Eclipse Indigo SR2 (3.7.2)?

亡梦爱人 提交于 2019-12-11 06:45:55
问题 When I tried to update Eclipse to the latest SR2, I got a download rates around 10kb/s - which means I couldn't even get the content.jar . Which means I need to setup a mirror for the other 10 developers. What is the most simple (= less than one day of work) and reliable (= automatic, scripted) way to do this? Note: Answers which point to the p2 mirror Ant task won't be accepted unless they come with a complete build script which contains all the IUs and versions necessary to mirror only 3.7

How to host a p2 repository on artifactory oss

a 夏天 提交于 2019-12-11 05:56:33
问题 I know that artifactory oss version does not support hosting p2 repositories natively. Is it hovewer possible to do it somehow without such support? I think you cannot get a pro version for free for open source projects? 回答1: If you want to have p2 or npm repositories natively you need the Artifactory Pro version. There are not option to have a free Artifactory pro version without support for opensource projects. If you don't want to buy Artifactory PRO, there are free alternatives. 来源: https

Installing an additional feature during product build for some Eclipse versions only

被刻印的时光 ゝ 提交于 2019-12-10 11:45:02
问题 When building a product based on Eclipse 3.7+, I want to include a marketplace feature (org.eclipse.epp.mpc). I don't want to explicitly add this feature to one of the product features because I am also building for Eclipse 3.5. Is there a way to add this feature during the build? 回答1: It is currently not possible to create a product distribution which contains additional features, i.e. features which are not directly or indirectly referenced from the product. This enhancement was requested