Author Topic: Position of 'cb-xxx.cbp' in 'cb-xxx.workspace' files  (Read 2391 times)

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Position of 'cb-xxx.cbp' in 'cb-xxx.workspace' files
« 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?
CB-13483, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.1
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 678
Re: Position of 'cb-xxx.cbp' in 'cb-xxx.workspace' files
« Reply #1 on: May 18, 2022, 12:56:59 pm »
The 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" />

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1553
Re: Position of 'cb-xxx.cbp' in 'cb-xxx.workspace' files
« Reply #2 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>

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Re: Position of 'cb-xxx.cbp' in 'cb-xxx.workspace' files
« Reply #3 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.
« Last Edit: May 18, 2022, 02:15:32 pm by LETARTARE »
CB-13483, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.1
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1553
Re: Position of 'cb-xxx.cbp' in 'cb-xxx.workspace' files
« Reply #4 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.