Community
Participate
Working Groups
Created attachment 222577 [details] working Set problem If I share the project to the Git Repository the project gets removed from the working set. I have to reselect it. See attachment. I would expect the project not to be removed from working set as it still is the same project.
This doesn't look like a JDT problem. The problem is probably in EGit, or maybe in the Project Explorer (Platform/IDE). Mandy, you should be more specific about - what working set type you are using (Resource, Java, ...) - how you share the project: Into an existing or new repo? Where was the project relative to the workspace? Where was the repo? Moving to EGit. Note: If EGit copies files and folders outside of Eclipse and then re-creates the project, that could lead to the observed effects. The correct way to move/rename projects is via IProject#move(..).
(In reply to comment #1) > Moving to EGit. Note: If EGit copies files and folders outside of Eclipse > and then re-creates the project, that could lead to the observed effects. > The correct way to move/rename projects is via IProject#move(..). We use org.eclipse.ui.ide.undo.MoveProjectOperation, which in turn uses IProject.move.