Hi

which version are you using?

I already opened a bug report
http://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

Reply via email to