What actually happens when running artifact deployment on a server inside IDEA?

The way to run a WAR outside IDEA is to build it and put it in the container (tomcat/jboss) and run it.

But what actually happens when you choose to Run dropdown, choose the server (tomcat/jboss) and add your gradle artifact there, and press run? Do Intellij automatically put the WAR inside the server directory? Can I actually see the war inside the server directory?

1 comment
Comment actions Permalink

Hello,

Basically we do not put artifacts inside server directory in case local configuration. There are  your_project_dir/out/artifacts or  your_project_dir/target directories (depending on your project configuration) where artifacts are stored and used by application servers.

Regards,
Nikolay

0

Please sign in to leave a comment.