zpi files change when nothing changed

Post any comments, suggestions, annoyances or ideas for future releases here. Please do not post bug reports or questions here.
Post Reply
Jack
Posts: 27
Joined: Tue Jul 09, 2019 2:06 pm

zpi files change when nothing changed

Post by Jack »

I recently updated from an old version of Zeus and there is a new very annoying behavior, The zpi files that Zeus creates now has a tag called <KeyCode> that appears to change every time I close a project. This is a problem because I have the zpi files under source control with SVN. Now, Tortoise SVN always shows these files as out or date. Is there any way around this? It seems strange that the file changes when nothing really changed.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Re: zpi files change when nothing changed

Post by jussij »

Modern editors like Visual Studio Code no longer have the concept of a project, but instead work of a single folder location.

While Zeus has not gone that far (it retains the concepts of project and workspace files) it's now possible to have Zeus auto synchronize those project files and that is the behaviour you are seeing.

To stop this behaviour just edit the zpi file in an editor and change the project attributes found in the header as shown below (i.e. set those attributes to Yes or No to suit the behaviour required):

Code: Select all

    <Project name="MainLib" sorted="Yes" autosynch="Yes" folder_based="No" type="C++" filename="MainLib.vcxproj" st_mtime="1641097685">
        ....
    </Project>
Cheers Jussi
Jack
Posts: 27
Joined: Tue Jul 09, 2019 2:06 pm

Re: zpi files change when nothing changed

Post by Jack »

Hi Jussi,

I have tried all 4 combinations of settings auto_sync and folder_based, but the KeyCode field continues to change every time I close a project. I left the filename and st_mtime fields as empty strings. Do you have any other suggestions?
Thanks!
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Re: zpi files change when nothing changed

Post by jussij »

This suggests it might be a bug. To have any chance of fixing this you need to send through the zpi file as an e-mail attachment.

Cheers Jussi
Post Reply