imedo Development Blog

there is no charge for awesomeness

CruiseControl.rb and changing SVN paths

without comments

When you move around some code in your SVN repository or like change the repository URL, CC.rb will start to complain because it isn’t able to find your code where it used to be. The message will be something like this:

svn: Cannot replace a directory from within

To fix this you can use

svn switch file:///this/is/the/path/to/my/new/svn/repo

But CC.rb will still complain and won’t build your project. In order to fix this, you have to commit once and CC.rb will pick up the changes and start building your project again.

We had this exact problem recently and it took some time to figure out how to solve it. So maybe this post will save someone some time.

Popularity: 1% [?]

Written by hvolkmer

August 28th, 2008 at 9:38 am

Leave a Reply