[Buildbot-devel] Confusion about WithProperties on Windows

Chris Ball s0454615 at sms.ed.ac.uk
Thu Jul 12 00:21:25 UTC 2012


Hi,

I have a buildslave running on Windows. As part of a ShellCommand, 
I include this:
 env={'PYTHONPATH':WithProperties("%(workdir)s\\X")})

The path to my workdir is "C:\Users\username\npslavetest\Windows7_x64-mingw32". 
However, in the web status I see this:
 PYTHONPATH=C:\Users\username\npslavetest/Windows7_x64-mingw32\X;

I wasn't expecting to see a forward slash in there. Have I misunderstood 
WithProperties? Does the forward slash not matter?

(My command is failing; I think it's because of PYTHONPATH being wrong, 
but I'm not at all sure yet...).

Thanks,
Chris

buildmaster: 0.8.6 (python 2.6) on linux
buildslave: 0.8.6p1 (python 2.7) on Windows





More information about the devel mailing list