[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] p2 export/import features

Hi all,

Do you have the experience to install lots of frequently used features in different eclipse instances? They might be your home and office workstations. You need set up very similar development environments on Windows and Linux.

You have to manually search the location of repository, then add it into eclipse, install them one by one. I think it's a pain for me, installing the same CDT, Mylyn, Subversion, Clearcase and so on for my multiple eclipse on different machines.

I implemented a plug-in[1] to export the list of installed feature to a file, then other eclipse could quickly install the all/part of features listed in that file.

The exported configuration file is simple, which records the id of top IU of exported features and the repository location of those features.

The plug-in would load those repository location firstly then install those top IUs when importing the configuration file in another eclipse instance.

The plug-in also could import the installed features of another eclipse that could save a lot of time to download the artifacts especially the network is slow and unstable.

Meanwhile I see the similar topic in bugzilla[2]. I think it might be a common requirement, I would like to contribute this feature to p2 itself. And I would like to hear more comments from p2 community. :)

[1] http://marketplace.eclipse.org/content/p2-installation-replication
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=282419


Best Regards
Meng Xin Zhu