View previous topic :: View next topic |
Author |
Message |
tolga.uzun
Joined: 22 Jan 2021 Posts: 3
|
[ProjectLog] in Project File |
Posted: Fri Jan 22, 2021 2:21 am |
|
|
Hello,
I am using CCS IDE V5.101
After creating the project, everytime I open the project file, it adds logs to the file in [ProjectLog] tag as the example lines below:
D22_L1=[40719]Project Opened.
D22_L2=[40726]Project Closed.
Since I am using VCS, those redundant changes in the files are not OK for me.
Is there a way to close that logging? |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19559
|
|
Posted: Fri Jan 22, 2021 4:59 am |
|
|
I don't think so. It is it's own control logging. Just exclude the project
file from the VCS. |
|
|
tolga.uzun
Joined: 22 Jan 2021 Posts: 3
|
|
Posted: Fri Jan 22, 2021 5:54 am |
|
|
Thanks for you answer Ttelmah,
There were no such thing at version near 5.010.
The project file also has information about other settings so I would not prefer to exclude it from VCS.
Maybe someone knows a solution :D |
|
|
jeremiah
Joined: 20 Jul 2010 Posts: 1358
|
|
Posted: Fri Jan 22, 2021 1:17 pm |
|
|
I would recommend contacting CCS support (via email) and asking for this feature. I have in the past, but I assume they need more folks asking in order to have some sort of gauge of if it is worth it to add.
One option you can do is save an archived copy in a separate folder from where you compile and then tell your VCS to ignore the file where the compiler puts the updated one. This just means that when someone pulls the code for the very first time, they need to copy the archived project file over to the build directory.
Though honestly there is very little the project file needs to remember that I cannot provide either in the source code or via command line, so I just tell my source control to ignore it outright and I don't bother.
I agree it should be an option though and I would use it if they added it if just to make it easier for people cloning the repo for the first time. |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19559
|
|
Posted: Sat Jan 23, 2021 1:46 am |
|
|
I'd still look at ignoring the file.
It is trivial to write a script to extract all the wanted stuff from the project
file into a temporary file, and then have your VCS look at this instead of
the main file.
Though perhaps it would be nice if CCS offered an option to not do this, long
term I can see them putting more and more into this file, so having a way to
actually handle this is really the better way to go. |
|
|
tolga.uzun
Joined: 22 Jan 2021 Posts: 3
|
|
Posted: Tue Jan 26, 2021 12:49 am |
|
|
Hello again,
Yesterday I contacted CCS Support and they said me: "There is no way to stop it now. We will add an option in the next release."
Looking forward to the next release.
Thanks for replies. |
|
|
|