Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Deleted project files resurrected
icon4.gif  Deleted project files resurrected [message #1759350] Mon, 10 April 2017 18:22 Go to next message
Gordon Smith is currently offline Gordon SmithFriend
Messages: 2
Registered: April 2017
Junior Member
I am seeing project files that have been deleted from a project reappear in the project.

This occurs after a git checkout from an older branch that has the files in the project to a newer branch that does not. The .cproject and .project files are tracked in source code control, the workspace is not.

Running clean before or after checkout of the new branch does not help.

I am using the same workspace in both branches.

I do not expect to have files reappear that do not exist in the .cproject or .project files. Have I missed something about project settings?

Luna SR2 (4.4.2)
C/C++ version 8.5.0.201409172108

[Updated on: Thu, 13 April 2017 13:13]

Report message to a moderator

Re: Deleted project files resurrected [message #1759648 is a reply to message #1759350] Fri, 14 April 2017 13:01 Go to previous message
Jonah Graham is currently offline Jonah GrahamFriend
Messages: 416
Registered: June 2014
Senior Member
Are you seeing files on disk appearing unexpectedly? Or Eclipse linked files that are linked settings in .project file?

If it is the former I have no idea, is it reproducible 100% of the time? Are you using egit or command line git?

If it is the latter, I have found that newer versions of Eclipse have continuously improved at reloading meta data (like .project files) when changing branches. Perhaps you could try a newer Eclipse install. You are using 4.4.2 (code name LunaSR2), newest release is 4.6.3 (code name Neon.3).
Re: Deleted project files resurrected [message #1759659 is a reply to message #1759648] Fri, 14 April 2017 08:01 Go to previous message
Gordon Smith is currently offline Gordon SmithFriend
Messages: 2
Registered: April 2017
Junior Member
Just file links in the Eclipse projects are reappearing.

The Eclipse version is tied to a third party branded product. I'll look into updating it if possible but I may be stuck.
Previous Topic:Integrating Semihosting(STM32F407) and STM32CubeMX generated code
Next Topic:Zumo 32U4 Arduino
Goto Forum:
  


Current Time: Fri Apr 26 20:45:46 GMT 2024

Powered by FUDForum. Page generated in 0.02778 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top