Community
Participate
Working Groups
Import project set fails if EGit was not loaded/initialized before Test Case: 1. install 3.8 M4 plus EGit 1.2 2. start with new workspace 3. import team project set from attachment 208048 [details] ==> fails Note that the logged exception is misleading (see bug 367749). The real problem is that org.eclipse.egit.core.GitProjectSetCapability.addToWorkspace(String[], ProjectSetSerializationContext, IProgressMonitor) throws an exception: org.eclipse.jgit.errors.TransportException: ssh://dmegert@git.eclipse.org/gitroot/platform/eclipse.platform.git: UnknownHostKey: git.eclipse.org. RSA key fingerprint is .... If one triggers loading of EGit, e.g. by opening the 'Git Repositories' view, then the import works.
Reducing severity as there's a workaround.
If org.eclipse.egit.core triggers an exception it must be loaded, right?
(In reply to comment #2) > If org.eclipse.egit.core triggers an exception it must be loaded, right? Probably Core, but not UI.
(In reply to comment #3) > (In reply to comment #2) > > If org.eclipse.egit.core triggers an exception it must be loaded, right? > > Probably Core, but not UI. I don't know whether the UI part would be loaded if there's no exception in Core.