Trailing backslash handling in the project creation dialog

Started by Romashka, May 31, 2009, 09:36:44 PM

Previous topic - Next topic

Romashka

These are tiny bugs with handling trailing \ I found (tested in 6.0 RC2):

1) when Location ends with \ you get "Unable to create 'E:\work\projects\foobar\'. Unable to create folder because it exists" (the folder really exists, but you don't get this error when there's no trailing backslash)

2) when Output or Result ends with \ you get full paths instead of relative paths in .ppj:
POC_PROJECT_OUTPUTDIR = E:\work\projects\foobar\output\#
POC_PROJECT_RESULTDIR = E:\work\projects\foobar\result\#

instead of
POC_PROJECT_OUTPUTDIR = output#
POC_PROJECT_RESULTDIR = result#


IMHO paths with trailing backslash should be handled in the same way as without it.

Pelle

Yes, sounds like a minor problem - I will only make a change if there are other (bigger) problems in the same area...
/Pelle