Hi,
Actually, you won't be able to tell natively Fredistrano to split the
exported source code of a project into several target folders.
I
would suggest you to create two different projects in fredistrano: one
for cakePHP and another one for the rest of your application. It is
likely that your application (app/webroot) will require frequent
updates as opposed to the cakePHP core files.
As a consequence, fredistrano will output in
/home/siva/projects/acme/ both the content of app and webroot. Then, I
would use "after scripts" to rsync (or just copy) again the content
/home/siva/projects/acme/
webroot with its real target /var/www/acme/. Don't move or delete /home/siva/projects/acme/webroot otherwise Fredistrano will have to export at each deployment the whole content of webroot (losing time....).
If you come up with a better solution, don't forget to share it with us.
Regards,
Yann