I have a JRuby/Rails application which I deploy to a Tomcat using the Warbler gem.
In the JRuby application, I have a bunch of scripts in $RUBY_ROOT/lib/tasks which are used for install scripts, cron jobs, Resque, etc.
When I develop/build the files, I set permissions for these scripts to executable
$lib/tasks> chmod a+x install.sh
However, when I distribute the war file to the Tomcat, and fire it up, the file under the exploded directory ( ...WEB-INF/lib/tasks/install.sh) shows install.sh does not have executable privileges.
Is there a way to tell warbler to leave lib/tasks/install.sh with executable privileges?