[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[p2-dev] p2 export/import features
- From: Meng Xin Zhu <kane.zhu@xxxxxxxxxxxxx>
- Date: Thu, 10 Feb 2011 19:38:30 +0800
- Delivered-to: email@example.com
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:220.127.116.11) Gecko/20101208 Thunderbird/3.1.7
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 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
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. 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. :)
Meng Xin Zhu