06-27-2013 08:03 AM
I am using GIT on my design. When I change to a branch that has fewer files I get this warning:
WARNING:ProjectMgmt - File /home/kpeters/sideshow/sideshow_verilog/interFIFO.v is missing.
How do I get rid of that warning?
06-27-2013 11:44 AM
@petersk wrote:
I am using GIT on my design. When I change to a branch that has fewer files I get this warning:
WARNING:ProjectMgmt - File /home/kpeters/sideshow/sideshow_verilog/interFIFO.v is missing.
How do I get rid of that warning?
Remove the file from the project list?
Make sure the file exists?
06-28-2013 08:09 AM
so, every time I switch branches, I have to go through and modify the project file? That seems a little awkward since the prj is in a totally different directory.
07-01-2013 04:35 PM
@petersk wrote:
so, every time I switch branches, I have to go through and modify the project file? That seems a little awkward since the prj is in a totally different directory.
You probably need to have a separate project file for each branch. And the project file should be in your repository!
Remember that the project file tells each of the tools what its inputs are. As such, the project file should include all files used by the design. In your case, you've got a project file that points to a source file which isn't actually used in the design. Hence, the complaint.
So, again, your choices are:
a) have a separate project file for each branch (which is what I would do). The branch should include only the files actually used by the design.
or
b) make sure that the unused file exists in all branches that use the same project file. This means you have some crufty stuff lying about in your source directory.
I think you're using GIT incorrectly, but that's just my opinion.
08-03-2013 04:22 AM