Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "LTS/HowTos"
m (LTS/Trial Forge moved to LTS/Trial: Using a simpler and easier to remember path) |
(→Known Issues) |
||
Line 9: | Line 9: | ||
= Known Issues = | = Known Issues = | ||
+ | |||
+ | == Error assembling JAR: Could not find a common basedir == | ||
+ | |||
+ | In git version 1.7.8 and newer, git changed it's behaviour with respect to submodules https://raw.github.com/gitster/git/master/Documentation/RelNotes/1.7.8.txt | ||
+ | |||
+ | The new behaviour causes Tycho Eclipse-SourceReference provider for git to be unable to calculate the basedir correctly. There is a open Tycho bug that includes a patch for getting this resolved https://bugs.eclipse.org/bugs/show_bug.cgi?id=393752 | ||
+ | |||
+ | Workaround: Use a git version 1.7.7 or earlier. | ||
+ | |||
== Fail to clone submodules using msysgit == | == Fail to clone submodules using msysgit == | ||
Line 15: | Line 24: | ||
See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=376400#c4 | See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=376400#c4 | ||
+ | |||
+ | Workaround: Put your repo in the root of a drive and give it a short name. For example: C:\z | ||
== Cannot git clone via ssh:// protocol (Resolved) == | == Cannot git clone via ssh:// protocol (Resolved) == | ||
The issue with this is that most user accounts on the Forge will not have shell access to the forge and the ssh:// protocol requires shell to operate. The solution we decided to go with was we provisioned a https:// protocal instead which we will recommend users to use instead.<br> | The issue with this is that most user accounts on the Forge will not have shell access to the forge and the ssh:// protocol requires shell to operate. The solution we decided to go with was we provisioned a https:// protocal instead which we will recommend users to use instead.<br> |
Revision as of 10:54, 7 November 2012
Contents
Howtos
Using TortoiseGit to "git submodule update"
- Navigate to your git repository which you cloned (eg. eclipse.platform.releng.aggregator)
- Right click > TortoiseGit > Submodule Update
- Select to Initialize Submodules
- Click OK
Known Issues
Error assembling JAR: Could not find a common basedir
In git version 1.7.8 and newer, git changed it's behaviour with respect to submodules https://raw.github.com/gitster/git/master/Documentation/RelNotes/1.7.8.txt
The new behaviour causes Tycho Eclipse-SourceReference provider for git to be unable to calculate the basedir correctly. There is a open Tycho bug that includes a patch for getting this resolved https://bugs.eclipse.org/bugs/show_bug.cgi?id=393752
Workaround: Use a git version 1.7.7 or earlier.
Fail to clone submodules using msysgit
Per Bug 376400 we discovered that msysgit has a max character limit somewhere around 256 which causes cloning files with a path longer than that to fail.
See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=376400#c4
Workaround: Put your repo in the root of a drive and give it a short name. For example: C:\z
Cannot git clone via ssh:// protocol (Resolved)
The issue with this is that most user accounts on the Forge will not have shell access to the forge and the ssh:// protocol requires shell to operate. The solution we decided to go with was we provisioned a https:// protocal instead which we will recommend users to use instead.