p2

Is it possible to resolve dependencies in maven plugin from p2 repo

谁都会走 提交于 2019-12-23 07:05:56
问题 I am developing one maven plugin which will be used to override the default maven lifecycles and will use my code instead. I have multiple jar dependencies (eclipse and my another application plugins) for the same. I have p2 repo for those jars. How can I integrate this two to resolve all dependencies? Tycho can not be used as it can only be used for RCP application (my understanding / misunderstanding). Similar to this - question Any other workaround? 回答1: Have you had a look at this git ?

How do I easily query a running Eclipse for its installed Features?

我是研究僧i 提交于 2019-12-23 03:42:36
问题 I'm building an Eclipse Feature that has a requirement that amounts to this... The Feature must be able to be uninstalled automatically if the user has his license revoked. If you want more background information about that, Here is another question that I've asked on this topic. Thanks to the answers on that question, I've been trying to learn the Eclipse p2 director api. I've found some classes that look useful here I've been trying to instantiate one of these classes in my code, but with

What is 'the' way to add a bundle jar to a p2 based Eclipse target platform?

拥有回忆 提交于 2019-12-22 19:13:07
问题 I'm wondering: What is the best way of adding a bundle to a p2 based target platform? I don't want to use local directories, I want to have a target platform that works 'out of the box' for all our team members. Right now I manage, but I have a feeling I'm missing a more straightforward way of doing this. My situation is as follows: My target platform has a bunch of p2 locations, hosted at our on-site server. Most are mirrored repositories, but I have one I use for 'miscellaneous' bundles.

What is 'the' way to add a bundle jar to a p2 based Eclipse target platform?

穿精又带淫゛_ 提交于 2019-12-22 19:13:03
问题 I'm wondering: What is the best way of adding a bundle to a p2 based target platform? I don't want to use local directories, I want to have a target platform that works 'out of the box' for all our team members. Right now I manage, but I have a feeling I'm missing a more straightforward way of doing this. My situation is as follows: My target platform has a bunch of p2 locations, hosted at our on-site server. Most are mirrored repositories, but I have one I use for 'miscellaneous' bundles.

Configure a p2 update repository programmatically

时光毁灭记忆、已成空白 提交于 2019-12-22 09:57:26
问题 There is an article in the Eclipse wiki how to configure user's p2 default repositories of an RCP application by adding a static conf file to your product: Equinox/p2/Adding Self-Update to an RCP Application - Configuring the user's default repositories I want to do the same programmatically in a Java class when the user changes some configuration details. I could not find appropriate p2 API documentation for that. 回答1: Use this solution for Eclipse 3.7 based applications: final

How to enable Software Update in an Eclipse product?

血红的双手。 提交于 2019-12-22 08:30:09
问题 In my Eclipse project, I defined a simple plugin (bundle), a feature that includes the plugin and a product that includes the feature. When I export the poduct (via the "Eclipse Product export wizard" of the product editor), it does build the product. I can launch the product, everything works fine (the plugin is there and doing what it is supposed to do). The only problem is that the user of the product cannot install additional Eclipse features using the Software Update menu (Help ->

Can Apache Ivy handle dependencies in p2 repositories?

女生的网名这么多〃 提交于 2019-12-22 08:19:59
问题 I considered using SBT (which resolves dependencies using Ivy) to build an Eclipse RCP application. Is it possible? 回答1: If you can access the p2 repository via the standard ivy resolvers(listed here: http://ant.apache.org/ivy/history/latest-milestone/settings/resolvers.html) then it should be possible. 来源: https://stackoverflow.com/questions/6256963/can-apache-ivy-handle-dependencies-in-p2-repositories

Eclipse p2 : Difference between category.xml and site.xml

元气小坏坏 提交于 2019-12-22 04:10:20
问题 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? 回答1: The main difference between

Eclipse p2 : Difference between category.xml and site.xml

孤者浪人 提交于 2019-12-22 04:10:09
问题 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? 回答1: The main difference between

Eclipse p2 director application without updates

江枫思渺然 提交于 2019-12-22 01:14:44
问题 I'm installing artefacts through the p2 director application from a command line and all of their repositories will get added to the Software Updates. Is there a way not the get the repositories added, or remove/disable them afterwards? 回答1: The p2 director stores the locations of the repositories in the two files org.eclipse.equinox.p2.artifact.repository.prefs org.eclipse.equinox.p2.metadata.repository.prefs in each of the following two directories: p2/org.eclipse.equinox.p2.engine/