Has anyone achieved hot-deployment of Java libraries (or even compiled Java classes) when using Trinidad?
My Rails application runs on Trinidad and depends on a Java backend that is packed as many jars under my-rails/lib/java
. When one of these jars changes, Trinidad server doesn't reload it. touch tmp/restart.txt
only reloads the app context.
Please note that my question is not related to config.autoload_paths
, because as far as I know this option is used only to reload Ruby files.
UPDATED
I failed to achieve hot-deployment of my java dependencies and gave up. The only help for me were unit tests which I was launching locally every time to check my code.