Community
Participate
Working Groups
Build Id: Indigo Steps to reproduce: 1. Create a new (plug-in) project (didn't test with plain projects) 2. Start to share the project (i.e. select Team -> Share from the context menu) 3. create a new repository (e.g. foo) , the project to share is preselected in the table 4. Click 'Finish' 5. Disconnect the project 6. Delete the just created reprository from the file system 7. Share the project again 8. in the 'Configure Git Repository' dialog, create a new repository with the same name as before (foo) and select the project from the table 9. Click 'Finish' -> The following error occurs (displayed in an error dialog and loged to the error log) Failed to initialize Git team provider. Errors occurred while refreshing resources with the local file system. The project description file (.project) for 'git.test' is missing. This file contains important information about the project. The project will not function properly until this file is restored. -> After that, the entire content of the project is deleted. The repository contains an empty 'bin' folder and the '.project' file. All other artefacts are gone for good.
I realized my mistake: disconnecting the project does not move it back to the location where it has been before it was shared. Thus, deleting the repository, also deletes the project.