Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5366

Project File Pathname

$
0
0

In the [Project Header] section of a .prj file there is "Pathname" component that is equal to the absolute path to the .prj file. What is this used for? I have noticed that if I copy the entire folder structure that contains my project and all of its included files to a different location, the old .prj file still works just fine for the purpose of building (even though the "pathname" attribute no longer is the path to the .prj file). When I build, it even uses the included files from the new (copied) folder structure (assuming they are included using relative paths).

 

What is "Pathname" used for?

When in section [File 0001] of the .prj file, "Path Is Rel = True" and "Path Rel To = "Project""  what location is used for the "Project" path, because it is not the "Pathname" in my case.

How can you choose when you are including a file what the path should be relative to?

 

For background, I am moving large projects into a Subversion repo. All the included files for a project are going to be in the repo, and we will checkout the entire file structure, so relative paths will work fine. But I am not sure what to do about this "Pathname" attribute of the .prj file.

 

Thanks


Viewing all articles
Browse latest Browse all 5366

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>