Build with Rake

Version 1 by Robin Shen
on Aug 06, 2009 05:20.


 
compared with
Current by Robin Shen
on Aug 07, 2009 05:33.


 
Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 1 changes. View first change.

 QuickBuild supports [Ruby Rake|http://rake.rubyforge.org/] based build through the Rake build step. Rake build step can be added by selecting menu item _Build -> Rake_ from the step menu.
  
 QuickBuild calls the command _rake_ to run Rake build script. If this command is not in system path, you will need to specify its location in plugin setting of the Ruby Rake plugin through [plugin management] page.
 Further more, rake command location can be specified on a per-node basis by following below steps:
 # Open Ruby Rake plugin setting page and set the property _Rake Executable Path_ as:
 {code}
 ${node.getAttribute("rakePath")}
 {code}
  # For each node that does not have command _rake_ on system path, [define the user attribute|manage build grid#define user attributes] _rakePath_ to point to the actual rake command path, for example:
  # For each node that does not have command _rake_ on system path, [define the user attribute|Working with Build Grid#define user attributes] _rakePath_ to point to the actual rake command path, for example:
 {code}
 rakePath=/home/robin/bin/rake
 {code}
 In case of user agent node, the user attribute need to be defined [in this way|Manage User Agent#define user attributes].
  
 Please note that in above example, the _rakePath_ user attribute is just for demonstration purpose. You can use any other user attribute name.