Mac server problems was a red herring.
Turns out that a text file containing the list of projects to be built had been corrupted with extra cr characters in each cr/lf "pair" and the extra cr was being included as part of the file name. It's hard to see cr characters :-)
|