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 /org.eclipse.egit.psf-feature/pom.xml | |
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 'org.eclipse.egit.psf-feature/pom.xml')
-rw-r--r-- | org.eclipse.egit.psf-feature/pom.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/org.eclipse.egit.psf-feature/pom.xml b/org.eclipse.egit.psf-feature/pom.xml new file mode 100644 index 0000000000..9ed02e1a7d --- /dev/null +++ b/org.eclipse.egit.psf-feature/pom.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (C) 2011, Mykola Nikishov <mn@mn.com.ua> + + All rights reserved. This program and the accompanying materials + are made available under the terms of the Eclipse Public License v1.0 + which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.html +--> + +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.eclipse.egit</groupId> + <artifactId>egit-parent</artifactId> + <version>1.1.0-SNAPSHOT</version> + </parent> + + <artifactId>org.eclipse.egit.psf</artifactId> + <packaging>eclipse-feature</packaging> + + <name>EGit Team Project Set Support</name> + +</project> |