Reputation: 10208
I have a Ruby On Rails 3 app that is installed under a Tomcat in Windows XP. I used jruby and warbler to create the war file.
I need to make an installer (Which means getting the code from a git repository, configuring, executing warbler, configure warbler and copy the output to Tomcat.
Can you help me with that? What is the correct approach for this requirement? A batch file and a EXE that executes it?
Upvotes: 1
Views: 114
Reputation: 3381
Simple question: You really have to use Tomcat under Windows?
This question because with Torquebox you could solve your problem in a super simple way. All rake tasks for deploying are there, you could deploy as a war or exploded folder. Otherwise you could use Stompbox to deploy the Heroku style with git.
Look at the documentation for more details: http://torquebox.org/documentation/current/deployment.html
Upvotes: 2