Capistrano still lacks a good way to reference the top-level
namespace. I'll try and work that into the next release. In the
meantime, you can build your own reference, thus:
top = self
namespace :em do
task :deploy do
top.deploy.update
end
end
- Jamis
On 8/10/07, Ladislav Martincik <[EMAIL PROTECTED]> wrote:
> Hey,
>
> Example:
>
> namespace :em do
>
> desc "Update Events manager"
> task :deploy do
> deploy.update
> mongrel.restart
> end
>
> end
>
> When I call "cap em:deploy" there's infinite calling of "deploy". Is there
> any way to distinguish namespace from task?
>
>
> Thankx, Ladislav M.
> >
>
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---