torquebox/torquebox — pull request #101 by flyerhzm (2012-06-13 14:22:00+00:00)
Title: quote archive_path in jar cmd which allow directory path with whitespace

I run the "torquebox:remote:stage" rake task in a directory contains whitespace, it returns an error that archive file is wrong.

I found this is caused by jar cmd

jar cvf /home/richard/Deploying with jruby/twitalytics ......

I changed the code to add quote to direcoty

jar cvf '/home/richard/Deploying with jruby/twitalytics' ......

now it works well.