Bug #17512 2010-09-19 00:35

cryogen

Path case not consistent between platforms.

C::B's plug-in executable path is

\src\devel\share\CodeBlocks\...

on Windows and

\src\devel\share\codeblocks\...

Note the case difference between "CodeBlocks" and "codeblocks". This means that paths that are correct on Windows won't work on Linux when a project file is carried over. All current plug-ins appear to have this case difference in their projects.

The case should be consistent across platforms.

I suggest changing the Windows path to "codeblocks" as that will not break anything.

Category
Application::WrongBehaviour
Group
 
Status
Closed
Close date
2010-10-28 03:36
Assigned to
loaden
loaden 2010-10-19 06:50

This means that paths that are correct on Windows won't work on Linux when a project file is carried over.

---------------

Do not understand! On Windows, we use CodeBlocks.cbp, but on Linux, we use CodeBlocks-unix.cbp.

No effect each other.

So, could you give me more explain?

cryogen 2010-10-21 23:13

Hi loaden,

Yes, you're right, we do but that's irrelevant. You can, and should be able to, use a single project on any platform, as per the one in contrib (I forget which one). So, if you create a project on one platform and move it to the other, it won't work without corrections.

Say you do what I did, which is take a Windows project over to Linux and rename it with the intention of editing the other attributes to generate the UNIX version (which is what I would expect most people would do), you then spend time finding out that that path breaks it, the hard way.

On principle, pathing should be identical on all platforms. Anything else is anti-cross-platform.

See? :-)

Ciao.