Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Stocker2011-08-16 15:34:09 +0000
committerMatthias Sohn2011-08-16 15:35:10 +0000
commit7fbeca4c218d7712abd6198ca9551f3c15904343 (patch)
treeb22c8eced7ff904e11b4b23ed1d45fb5e22cf3e3 /org.eclipse.egit-feature/feature.xml
parente17df54ee93c101302350df01cc5f8b13495aac6 (diff)
downloadegit-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 'org.eclipse.egit-feature/feature.xml')
-rw-r--r--org.eclipse.egit-feature/feature.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/org.eclipse.egit-feature/feature.xml b/org.eclipse.egit-feature/feature.xml
index d6d4b6b864..a3da9610e5 100644
--- a/org.eclipse.egit-feature/feature.xml
+++ b/org.eclipse.egit-feature/feature.xml
@@ -23,6 +23,11 @@
<discovery label="%updateSiteName" url="http://download.eclipse.org/egit/updates"/>
</url>
+ <includes
+ id="org.eclipse.egit.psf"
+ version="0.0.0"
+ optional="true"/>
+
<requires>
<import plugin="org.eclipse.core.runtime" version="3.4" match="compatible"/>
<import plugin="org.eclipse.core.resources" version="3.4.0" match="compatible"/>

Back to the top