Hi Etienne,

You need to run against HEAD to use project.triggered_by.  Version 1.1 
doesn't have it.

--Rolf







"Etienne Charignon" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
09/25/2007 04:52 AM

To
[email protected]
cc

Subject
[Cruisecontrolrb-users] project.triggered_by






Hello,

I've been using CruiseControl.rb for a few month now, with great 
satisfaction.

This morning, I discovered the option project.triggered_by on the online 
manual.

Unfortunatly this does not seems to work. 

I've downloaded and installed cruisecontrolrb-1.1.0.tgz

Here is an extract of my build log :

Build Log
Could not load project configuration: undefined method `triggered_by' for 
#<Project:0x37983dc> in ./script/../config/../app/models/project.rb:100:in 
`method_missing'

Project Settings

# Project-specific configuration for CruiseControl.rb 

Project.configure do |project| 
case project.name 
when 'DataCollectFunctionalTests' 
  project.build_command = 'ruby RubyLib/runFunctionalTestOnServer.rb' 

when 'oneShopTest' 
  project.triggered_by 'DataCollectFunctionalTests' 
  project.build_command = 'ruby RubyLib/testOneRetailerShop.rb' 

when 'OneWeek_4Retailers_Production' 
  project.triggered_by 'DataCollectFunctionalTests' 
  project.build_command = 'ruby RubyLib/runServerTests.rb' 

else raise "Don't know what to build for project #{project.name.inspect}" 
end 
end

-- 
Étienne Charignon
http://etienne.charignon.free.fr 
_______________________________________________
Cruisecontrolrb-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

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

Reply via email to