Hi all,
With CC 1.1 running on FreeBSD:
I recently converted from using the default CC task (ie. purge, migrate,
test) to defining a cruise task that runs rcov over the tests and outputs
its data into Custom Build Artifacts.  It does a great job of generating and
displaying rcov output but the other elements of the CC build display have
disappeared (Build Changeset, Build Log, and Project Settings).
A further clue is in the new Build Log output:
-- Tear Here --
dir : /usr/home/maui/dve/cruisecontrolrb-1.1.0/projects/ideeli/work
command : ruby -e "require ''rubygems'' rescue nil; require
''rake''; load
''/usr/home/maui/dve/cruisecontrolrb-1.1.0/tasks/cc_build.rake'';
ARGV <<
''--nosearch'' << ''--trace'' <<
''cc:build''; Rake.application.run"
executed command : echo
/usr/home/maui/dve/cruisecontrolrb-1.1.0/projects/ideeli/work
maui$ ruby -e "require ''rubygems'' rescue nil; require
''rake''; load
''/usr/home/maui/dve/cruisecontrolrb-1.1.0/tasks/cc_build.rake'';
ARGV <<
''--nosearch'' << ''--trace'' <<
''cc:build''; Rake.application.run" >>
/usr/home/maui/dve/cruisecontrolrb-1.1.0/projects/ideeli/build-673.2/build.log
&& ruby -e "require ''rubygems'' rescue nil;
require ''rake''; load
''/usr/home/maui/dve/cruisecontrolrb-1.1.0/tasks/cc_build.rake'';
ARGV <<
''--nosearch'' << ''--trace'' <<
''cc:build''; Rake.application.run" >>
/usr/home/maui/dve/cruisecontrolrb-1.1.0/projects/ideeli/build-673.2/build.log
2>&1
exitstatus: 1
STDERR TAIL START
/usr/home/maui/dve/cruisecontrolrb-1.1.0/projects/ideeli/build-673.2/build.log
doesn''t exist
STDERR TAIL END
-- End --
The build.log file referenced above does exist now.  Unfortunately it
contains the output above.
In addition I get this for project settings:
-- Tear Here --
This project has no custom configuration. Maybe it doesn''t need it.
Otherwise, the manual <http://cc.ideeli.com/documentation/manual> can tell
you how.
-- End --
I do have a cruise_config.rb in the appropriate projects subdir but it
isn''t
reading it.
Here is me new rake task:
task :testing do
  puts "testing called"
  RAILS_ENV = ENV[''RAILS_ENV''] = ''test''
  abcs = ActiveRecord::Base.configurations
  case abcs["test"]["adapter"]
  when "mysql"
    ActiveRecord::Base.establish_connection(:test)
  else
    puts "Error, unable to establish connection to database"
    exit
  end
end
desc "This task runs tests against the cruisecontrol environment"
task :cruise  do
  Rake::Task["db:test:purge"].invoke
  Rake::Task["testing"].invoke
  Rake::Task["db:migrate"].invoke
  Rake::Task["test:coverage"].invoke
end
-- End --
Any ideas on why these files disappeared and what I need to do to fix this?
Thanks,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070507/a50b2447/attachment.html