i still got nothing uploaded, even setting the
"set :synchronous_connect, true". What is strange is the error
message:
*** [ita.imag.fr] uploading failed: No such file
where ita.imag.fr is supposed to be the destination of the upload, and
not the source.
to be clear: i want to upload from my local machine (the one where cap
capifile is executed from) to a machine whose role is 'gateway'. The
input file is in the target/ subdirectory,
and I want ot copy it in my home directory on the 'gateway' machine.
Given that, is this:
> role :gateway, "ita.imag.fr"
> set :jar, "my.jar"
> desc "Upload the jar on the frontend machine"
> task :upload_app, :roles=> :gateway do
> put "~/","target/#{jar}"
> end
still correct?
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---