SquareSquash/web — pull request #57 by bjeanes (2013-03-04 20:42:23+00:00)
Title: Start on JRuby WAR-building support

Work:

- [x] Create (optionally) self-executable WAR file
- [x] Bundle assets into WAR file (relies on SquareSquash/web#53)
- [ ] Make repo clone path (currently hardcoded to `tmp/repos`) configurable since this path is inside the WAR and doesn't accommodate multiple instances running simultaneously.
- [ ] Allow for configuration to be provided post-compilation so that production config details are not needed on developer/deployer machines or CI. This could be done a few ways (looking for input):
- Adding an initializer that provides Configoro with an additional directory of configs to load (though this doesn't account for `config/database.yml`)
- Adjusting Configoro's YAML loading to do ERB-interpolation (like Rails does) to provide config with Java properties or `ENV` vars
- Teach Configoro how to be overridden by Java properties or `ENV`
- Put an interface between config setting and config usage and have different adapters (`ENV` adapter, for example — useful for Heroku deployers)
- Something much simpler that I am yet to think of, since known of the above solutions are silver bullets or clearly improvements.
- [ ] `warbler` gem should only be in `:development` group only. See comment in `Gemfile` for why it currently is not.
- [ ] Get