Community
Participate
Working Groups
I sometimes have a maven project where no .project file is checked in the code repository. Then I import it using the Smart project import and a .project is generated, after a while the project file might get missing (e.g. because I clean the git state or stack unversioned filed. Then one ends up with a closed project (what is fine), but can't reopen it because it shows an error: The project description file (.project) for '...' is missing. This file contains important information about the project. The project will not function properly until this file is restored. Of course I can't restore it because it is not versioned, instead it would be good to open the Smart project import here again so I can choose to import it as whatever type it was imported before.
You describe quite a corner case :) Maybe offer to generate a .project file? What about other metadata that can go missing?
(In reply to Wim Jongman from comment #1) > You describe quite a corner case :) > > Maybe offer to generate a .project file? What about other metadata that can > go missing? If other metadata is missing I can do "Project > Update Maven project" for a closed project this obviously do not work...
(In reply to Wim Jongman from comment #1) > Maybe offer to generate a .project file? By the way that's exactly what the wizard does generating a .project file (depending on detected type) + necessary metadata. So what i currently need to do is: 1) remove the closed project from the workspace 2) navigate to its location in git and choose "Import Projects"