Hi guys
am completely new to Capistrano and am using it in a limited fashion
to do some code deployment, the problem am facing is I want to re-
assign deploy_to variable in a task under a namespace called x.
Originally this is how the value is set:

set :stages, %w(a b c )
require 'capistrano/ext/multistage'

set :application, "d"

set :user, "ubuntu" # Remote user name. Must be able to log in via
SSH.
#set :use_sudo, false # Remove or set the true if all commands should
be run through sudo.
set :local_user, "userl"

set :scm, :subversion  # no scm used. Instead fetch the jar from team
city
set :deploy_via, :copy # Copy the files across as an archive rather
than using Subversion on the remote machine.

set :deploy_to, "/mnt/temp"

set :copy_remote_dir, "/tmp/cap" # Directory on the remote machine
where the archive will be copied. Defaults to /tmp.

I have a task t in namespace x, and in that task am changing the
values of copy_remote_dir and deploy_to , copy_remote_dir value is
changed but deploy_to is not changed and the code is checked out in
the wrong directory, am doing all this because I wnat the code to be
checked out when I call this task t.

Can anyone please help me.

Thanks

-- 
* 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