Community
Participate
Working Groups
When trying to import a project referenced with a SCM URL like this: "scm:git:git://git.eclipse.org/gitroot/platform/eclipse.platform.releng.git;path="bundles/org.eclipse.releng.tools";tag=v20111215-1442 the GitProjectSetCapability will fail. For some reason, "v20111215-1442" is treated as a branch reference and passed to CloneCommand as the initial branch to check out. However, this doesn't work: Failed to read project description file from location 'D:\workspace\eclipse\_runtimes\runtime-EclipseApplication\eclipse.platform.releng\bundles\org.eclipse.releng.tools\.project'. Failed to read project description file from location 'D:\workspace\eclipse\_runtimes\runtime-EclipseApplication\eclipse.platform.releng\bundles\org.eclipse.releng.tools\.project'. D:\workspace\eclipse\_runtimes\runtime-EclipseApplication\eclipse.platform.releng\bundles\org.eclipse.releng.tools\.project (The system cannot find the path specified.) Checkout fails so the "eclipse.platform.releng" folder contains only ".git" subfolder, no sign of "bundles" and "org.eclipse.releng.tools".
I guess checking out a tag when cloning is done can be implemented as a org.eclipse.egit.core.op.CloneOperation.PostCloneTask
Exporting in such case doesn't work either, see bug 367711.
In Eclipse SDK 4.2.1 and EGit nightly, I can only import from master. "Import the indicated version" is grayed in the "Import Plug-ins and Fragments" wizard.
(In reply to comment #3) > In Eclipse SDK 4.2.1 and EGit nightly, I can only import from master. > "Import the indicated version" is grayed in the "Import Plug-ins and > Fragments" wizard. I think that's not yet implemented
This applies to both "Import from Project Set" and "Import from Plug-Ins View" using the Eclipse-SourceReferences header (scmurl) in META-INF/MANIFEST.MF .
*** This bug has been marked as a duplicate of bug 398513 ***