Unfortunately, the Nick method does not work. The file is actually copied to WEB-INF / META-INF / context.xml.
I finally found a way to copy context.xml to META-INF:
- create META-INF / context.xml under your rails application root folder
uncomment and change the following line in config / warble.rb
config.public_html = FileList["public/**/*", "doc/**/*", "META-INF/context.xml" ]
Basically handle META-INF as public_html and it will be copied to webapps / youapp / META-INF.
source
share