Page 1 of 1

Backslash issues with workspace/project files

Posted: Wed Jan 28, 2009 4:11 am
by Roey
Hi,

I've created a workspace\project on Windows, then when trying to open it on a mac I had a few issues since the XML files of the workspace\project contained backslashes.

This was fixed by changing all backslashes to forward-slashes.

I believe that in order to have a better UNIX/Windows compatibility, CodeLite should only use forward-slashes in its files...

Re: Backslash issues with workspace/project files

Posted: Wed Jan 28, 2009 10:30 am
by eranif
Roey wrote:I believe that in order to have a better UNIX/Windows compatibility, CodeLite should only use forward-slashes in its files...
codelite uses wxFileName which uses the native paths.

A quick workaround is run the script le_dos2unix.sh

grab a copy from here:
http://codelite.svn.sourceforge.net/vie ... vision=937

and then run it from the root dir of your workspace - it will fix each project/workspace file it can find and replace / with \ also it will replace .lib->.a and .dll->.so

Eran