Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Stocker2011-08-16 11:34:09 -0400
committerMatthias Sohn2011-08-16 11:35:10 -0400
commit7fbeca4c218d7712abd6198ca9551f3c15904343 (patch)
treeb22c8eced7ff904e11b4b23ed1d45fb5e22cf3e3 /egit.psf
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 'egit.psf')
-rw-r--r--egit.psf19
1 files changed, 19 insertions, 0 deletions
diff --git a/egit.psf b/egit.psf
new file mode 100644
index 000000000..320d294af
--- /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>

Back to the top