Hi Franck,

On Tue, 6 May 2008 11:37:56 +0200
Franck Dehay <[EMAIL PROTECTED]> wrote:

> 
> Dear all,
>  
> I am a recent user of this great tool for rails development and I
> have an issue with version 1.3.0. Sorry if I duplicate the question
> but I have been over the whole mailing list archives and could not
> find any answer. I have set up cruisecontrolrb on my home server
> (which runs WinXP, sorry, but it is better for the girlfriend to use
> than some linux distrib which I use on my laptop) to check on the dev
> of my ROR apps. I have set up the cruisecontrolrb not to use the
> personal folder as it had right access problems so I set up the
> CRUISE_ROOT_DATA to d:\work\ccror My project's builds do fail because
> I have been a bad boy and did not write too many tests and some
> migrations fail as well. I am setting cc to fix that! The problem
> then is that I clicked on the Build now button to have it started and
> as expected, the build fails after 10 seconds but ccrb keeps on
> building it again an again (got 2900 builds overnights:)). While
> investigating, I found a "build_requested" file in my project folder
> which I guess was created when I clicked the "build now" button. It
> seems that the default behaviour is for this file not to be deleted
> when the build fails. Is there a way to change this? I can stop the
> neverending build loop by deleting the "build_requested" file

It es meant to be deleted by it seems not to work under windows. I had
the same problem and as a workaround modified app\models\project.rb
(around line 463):

  def remove_build_requested_flag_file
    #!!! MU change: build_requested_flag_file partially contains '\' instead of 
'/' under windows 
    #FileUtils.rm_f(Dir[build_requested_flag_file])
    FileUtils.rm_f(Dir[build_requested_flag_file.gsub('\\','/')])
  end

There are also other areas where path names contain a mixture of '\'
and '/' under windows.

HTH,
Manfred
_______________________________________________
Cruisecontrolrb-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

Reply via email to