Remote tomcat on frame deactivation Update resources

Hi,

I'm wondering why the option 'Update resources' isn't available for 'on frame deactivation' like it is for local tomcat servers. How can I achieve the same result? Hot swapping classes works but when i change a jsp file i have to redeploy my application to see the result. This takes a lot of time and hurts my productivity.

Am I forgetting something, there has to be a way to automatically update (static) resources when they are changed.

Thanks, Edwin

3 comments
Comment actions Permalink

This option is available only for artifacts in exploded format. As far as I know remote deployment works only for archives (war), so you can't update resources without redeploying.

0
Comment actions Permalink

In the deployment tab of the remote tomcat run/debug configurations i have selected the exploded war artifact... I use a vagrant box as my development machine with a 'local or mounted folder' mapped to the remote tomcat webapps directory. The only thing Intellij IDEA should do is update my exploded war artifact whenever I change a resource (jsp, css, js etc) so the remote tomcat server can pick up the change, hot swapping of classes is already working.

0
Comment actions Permalink
There is opened youtrack 'IDEA-136381 Add "Update resources" for Remote Run/Debug configurations', please check the workaround described at https://youtrack.jetbrains.com/issue/IDEA-136381#comment=27-946100.
If you still need the functionality to work out of the box, you may vote on the issue
0

Please sign in to leave a comment.