Thank you very much Rolf.

I also received a private answer from Alexey explaining that the online help
is actually deployed with the edge (HEAD ? I guess near head !) version of
CC.rb on the site which explained why it is ahead of time.

Etienne

2007/9/25, Rolf Russell <[EMAIL PROTECTED]>:
>
>
> Hi Etienne,
>
> You need to run against HEAD to use project.triggered_by.  Version 1.1doesn'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<http://rubyforge.org/frs/download.php/19237/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*<http://acn033cgyret01:3333/projects/code/oneShopTest/app/models/project.rb?line=100#100>:in
> `method_missing'
>
> Project Settings
>
> # Project-specific configuration for CruiseControl.rb
>
> Project.configure do |project|
> case *project.name* <http://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* <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
>
>


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

Reply via email to