Code::Blocks Forums

User forums => Help => Topic started by: LETARTARE on May 18, 2022, 12:08:07 pm

Title: Position of 'cb-xxx.cbp' in 'cb-xxx.workspace' files
Post by: LETARTARE on May 18, 2022, 12:08:07 pm
In the file 'cb-xxx.workspace' of the nightly deliveries from 'r-12813' I noticed that 'cb-xxx.cbp' was in the last position, whereas previously it was in the first position.
Why such a change?
Title: Re: Position of 'cb-xxx.cbp' in 'cb-xxx.workspace' files
Post by: AndrewCot on May 18, 2022, 12:56:59 pm
The https://sourceforge.net/p/codeblocks/code/HEAD/tree/trunk/src/CodeBlocks_wx31_64.workspace (https://sourceforge.net/p/codeblocks/code/HEAD/tree/trunk/src/CodeBlocks_wx31_64.workspace) file has the CodeBlocks_wx31_64.cbp as the first entry:

Code
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
 <CodeBlocks_workspace_file>
 <Workspace title="CodeBlocks Workspace wx3.1.x (64 bit)">
 <Project filename="CodeBlocks_wx31_64.cbp" active="1" />
 <Project filename="tools/Addr2LineUI/Addr2LineUI_wx31_64.cbp" />
Title: Re: Position of 'cb-xxx.cbp' in 'cb-xxx.workspace' files
Post by: Miguel Gimenez on May 18, 2022, 01:43:01 pm
Probably you are looking at the dependency of the last project:
Code
        <Project filename="plugins/contrib/ToolsPlus/ToolsPlus_wx31.cbp">
            <Depends filename="CodeBlocks_wx31.cbp" />
        </Project>
    </Workspace>
</CodeBlocks_workspace_file>
Title: Re: Position of 'cb-xxx.cbp' in 'cb-xxx.workspace' files
Post by: LETARTARE on May 18, 2022, 02:13:07 pm
Here is mine :
Code
		<Project filename="plugins/contrib/symtab/symtab_wx31_64.cbp" />
<Project filename="plugins/contrib/ThreadSearch/ThreadSearch_wx31_64.cbp">
<Depends filename="plugins/contrib/wxContribItems/wxContribItems_wx31_64.cbp" />
</Project>
<Project filename="plugins/contrib/ToolsPlus/ToolsPlus_wx31_64.cbp" />
<Project filename="CodeBlocks_wx31_64.cbp" />
</Workspace>
</CodeBlocks_workspace_file>
I don't know where this anomaly comes from, I just checked with 'cb-12814' : it is correct.
Title: Re: Position of 'cb-xxx.cbp' in 'cb-xxx.workspace' files
Post by: Miguel Gimenez on May 18, 2022, 05:08:43 pm
If you modified the workspace in the past, "svn update" will not overwrite it; this may explain why yours is different. Use "svn status" and it will tell you if there are more files in this situation.