This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

revision controlling uvision projects

Hi, we use SVN for keeping track of our uvision projects.

We have an issue with the uvproj and uvopt files.

We keep them revision controlled as new developers need these files to work on a project, but these files get changed every time a new user opens them. They seem to have user specific settings. However this means that whenever we need to commit some code we need to make sure that we don't commit the uvproj and uvopt files which is an inconvenience.

I've worked with microsoft visual studio projects and they have required project files which do not change unless we modify project options (so we can keep these revision controlled), and then user specific files which aren't mandatory and don't need to be revision controlled(if these files don't exist they get created the first time the project is opened).

So I'm wondering which uvision files should be revision controlled?

Thanks in advance,
Alex

Parents
  • I normally throw away these two files and check them out again. Then make a build - if this binary is usable then no checkin of the files.

    If I need to add more files or change options, I do the same. Throw them away. Check out current value from source repository. Make specific change and then commit the project files.

    I make sure I don't select any source window to minimize what gets touched in the project files.

    And yes - I hate Keil a lot whenever I do a diff in the project directories and see all the random changes introduced. Just because Keil don't separate project and desktop information properly.

Reply
  • I normally throw away these two files and check them out again. Then make a build - if this binary is usable then no checkin of the files.

    If I need to add more files or change options, I do the same. Throw them away. Check out current value from source repository. Make specific change and then commit the project files.

    I make sure I don't select any source window to minimize what gets touched in the project files.

    And yes - I hate Keil a lot whenever I do a diff in the project directories and see all the random changes introduced. Just because Keil don't separate project and desktop information properly.

Children