I'm trying to use Capistrano to simplify our Java build and deploy
process, but I'm running into a problem where I get either no
backslashes or two backslashes, but never one.

An example of the commands we are using is:

run "export JAVA_HOME='c:\Program\ Files\Java\jdk1.5.0'"

As expected, no backslashes are shown via puts or in the run output.
If I escape the backslashes, puts displays one backslash, but run
displays two causing the build to fail.

I may need to migrate the build server to a unix box, but hopefully
there is something I'm missing to make this work in the short term.
It's unknown whether the problem is with cap or the ssh gem.  Cygwin
does not appear to be a problem since this is currently working from a
bash script.

Any ideas?

Happy New Year,

Kevin
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to