Hi Ruben, Thanks for looking at this. I am using CCNet version 1.4.4.83
Another odd thing I noticed, is CCNet also seems to be converting the first character to uppercase in the path. For example: "C:\Documents and Settings" becomes "C:\DocumentsAndSettings" thanks Michael On Aug 3, 12:37 pm, Ruben Willems <[email protected]> wrote: > Hi > > which version are you using? > > I already opened a bug > reporthttp://jira.public.thoughtworks.org/browse/CCNET-1662 > > with kind regards > Ruben Willems > > On Sat, Aug 1, 2009 at 11:49 PM, Michael <[email protected]> wrote: > > > Hi, > > I'm trying to use the stateFileLabeller to synch the label between two > > projects. I'm getting an error when the 'project' element value has > > spaces in the path name. It looks like CCNet removes the spaces before > > trying to resolve the path to the .state file, thus causing an invalid > > path name. > > > My code looks like this: > > > <labeller type="stateFileLabeller"> > > <project>C:\Documents and Settings\michael\My Documents\Products > > \Project1\log\Project1.Build</project> > > </labeller> > > > And the resulting error message looks like this: > > > ThoughtWorks.CruiseControl.Core.CruiseControlException: Unable to read > > the specified state file: C:\DocumentsAndSettings\michael\MyDocuments > > \Products\Project1\log\Project1.Build.state. The path may be invalid. > > ---> System.IO.DirectoryNotFoundException: Could not find a part of > > the path 'C:\DocumentsAndSettings\michael\MyDocuments\Products > > \Project1\log\Project1.Build.state'. at System.IO.__Error.WinIOError > > (Int32 errorCode, String maybeFullPath) > > > If I use a path with no spaces, it finds the Project1.Build.state > > file, no problem. > > > Any suggestions? > > > thanks > > Michael
