Use fetch() - see the API docs…

set(:example, 'blah blah')
run "echo #{fetch(:example, 'fallback')}"

-- Lee

On 25 May 2011 20:19, Pawan <[email protected]> wrote:

> Hi All,
>
> I have declared some global variables in capfile. Is this possible if
> i can load these values of variables from keys of global.properties.
>
> set :user_home, "/opt/capistranoworks"
> set :workspace, "#{user_home}/#{cap_home}/workspace"
>
>
>
> Thanks
> Pawan
>
> --
> * You received this message because you are subscribed to the Google Groups
> "Capistrano" group.
> * To post to this group, send email to [email protected]
> * To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/capistrano?hl=en

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to