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.
This is how I add a bundle to the target platform.
- I switch to another workspace, which does use a bundle directory with jars.
- I add the bundle jar to that directory.
- I add the bundle to my 'third party' feature
- I export the feature, and upload it to our server, deleting the old one
- I switch back to my normal workspace, and reload the target platform link.
Sometimes eclipse gets a bit confused and keeps using a cached version, but in general this approach works.
My question:
Is there a easier way? Is there a more 'incremental' way? I rebuild the p2 repository, instead of adding a feature with a new version.