[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [p2-dev] Creating the p2 profile manually
- From: Saminda Wijeratne <samindaw@xxxxxxxx>
- Date: Tue, 23 Jun 2009 23:29:55 +0530
- Delivered-to: firstname.lastname@example.org
Problem in this method is that the p2 does not support uninstallation of such methods. Which is y we need an alternative. btw is there any plan to add the uninstallation of features in feature folder through the p2 conosle?
Any other ways which we can solve the original problem?
On Tue, Jun 23, 2009 at 6:35 PM, Saminda Wijeratne <samindaw@xxxxxxxx>
We are using p2 as the provisioning system for wso2 carbon. When creating carbon distributions, bundles related to some features are already present by default. We want to tell the p2 that to consider such features as already installed features in the distribution. As we understoof for that to happen the related information should be included in the p2 profile and the artifact.xml. We also have the feature jar file prior to creating the carbon distributions.
One way we thought of is to rather than creating the profile and artifact.xml manually we can put the feature jar in the features folder in which case p2 should pick it up and install. However for some reason it is not being picked up. Turns out i needed to have "...config.dir/org.eclipse.update/platform.xml" in place.
On Tue, Jun 23, 2009 at 5:29 PM, Henrik Lindberg <henrik.lindberg@xxxxxxxxxxxxxx>
What is it you are trying to do?
In general - you should use p2 to install things and this will create/update the profile. You can run the director or p2-installer to do this. If you have really special needs you can create your own special installer. Hacking the files directly is not recommended.
On Jun 23, 2009, at 8:21 AM, Saminda Wijeratne wrote:
Is it possible to create a p2 profile and the artifact.xml manually for a given set of features? Is there some spec publicly available which we can follow?
Looking at an existing profile the feature information seems to be taken from the content.xml of that particular repo which the feature is installed from. but the iusProperties tag is new.
p2-dev mailing list
p2-dev mailing list