diff options
author | Robin Stocker | 2011-08-16 15:34:09 +0000 |
---|---|---|
committer | Matthias Sohn | 2011-08-16 15:35:10 +0000 |
commit | 7fbeca4c218d7712abd6198ca9551f3c15904343 (patch) | |
tree | b22c8eced7ff904e11b4b23ed1d45fb5e22cf3e3 /egit.psf | |
parent | e17df54ee93c101302350df01cc5f8b13495aac6 (diff) | |
download | egit-7fbeca4c218d7712abd6198ca9551f3c15904343.tar.gz egit-7fbeca4c218d7712abd6198ca9551f3c15904343.tar.xz egit-7fbeca4c218d7712abd6198ca9551f3c15904343.zip |
Team project set support
This is based on the previous work by Mykola Nikishov in change
I800dd9f23953ad903f20289c442707e2dde08f75 ("Import a project set file").
This change includes export support, unit tests, and can handle the
situation where different branches of the same repository should be
imported.
A project reference string in the project set file looks like this:
1.0,git://egit.eclipse.org/egit.git,master,org.eclipse.egit
Based on an array of these reference strings, GitProjectSetCapability
does the following when importing:
- Clone a repository with CloneOperation for each combination of
repository URL and branch name.
- Import a project from each directory that is specified in the last
part of the string ("." if the repository itself is the .project).
- Add the repository to the Repositories View.
- Connect the projects using ConnectProviderOperation.
Due to Bug 244313, import and export of project set files requires the
org.eclipse.core.runtime.compatibility plug-in. The dependency is in a
separate optional feature, as proposed on the old change. It's required
for Eclipse < 3.7.
CQ: 5438
Bug: 296082
Change-Id: I1500cc376961117b39b8760e6de675a4885e5f72
Also-by: Mykola Nikishov <mn@mn.com.ua>
Signed-off-by: Robin Stocker <robin@nibor.org>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'egit.psf')
-rw-r--r-- | egit.psf | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/egit.psf b/egit.psf new file mode 100644 index 0000000000..320d294af3 --- /dev/null +++ b/egit.psf @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<psf version="2.0"> +<provider id="org.eclipse.egit.core.GitProvider"> +<project reference="1.0,git://egit.eclipse.org/jgit.git,master,org.eclipse.jgit"/> +<project reference="1.0,git://egit.eclipse.org/jgit.git,master,org.eclipse.jgit.console"/> +<project reference="1.0,git://egit.eclipse.org/jgit.git,master,org.eclipse.jgit.packaging/org.eclipse.jgit.feature"/> +<project reference="1.0,git://egit.eclipse.org/jgit.git,master,org.eclipse.jgit.junit"/> +<project reference="1.0,git://egit.eclipse.org/jgit.git,master,org.eclipse.jgit.packaging/org.eclipse.jgit.junit.feature"/> +<project reference="1.0,git://egit.eclipse.org/jgit.git,master,org.eclipse.jgit.pgm"/> +<project reference="1.0,git://egit.eclipse.org/jgit.git,master,org.eclipse.jgit.test"/> +<project reference="1.0,git://egit.eclipse.org/jgit.git,master,org.eclipse.jgit.ui"/> +<project reference="1.0,git://egit.eclipse.org/egit.git,master,org.eclipse.egit"/> +<project reference="1.0,git://egit.eclipse.org/egit.git,master,org.eclipse.egit.core"/> +<project reference="1.0,git://egit.eclipse.org/egit.git,master,org.eclipse.egit.core.test"/> +<project reference="1.0,git://egit.eclipse.org/egit.git,master,org.eclipse.egit-feature"/> +<project reference="1.0,git://egit.eclipse.org/egit.git,master,org.eclipse.egit.ui"/> +<project reference="1.0,git://egit.eclipse.org/egit.git,master,org.eclipse.egit-updatesite"/> +</provider> +</psf> |