In general, the server should run the server program in java for the primitive messenger. In the Intellij development environment, it is possible to automatically download and update the jar file on the server when commiting. Is there any way to configure it to start remotely and not connect to the server via the console via ssh. Thanks in advance for your help.
1 answer
As it turned out, in Intellij IDEA there is a function for adding a terminal command for a remote server, which is located on the path File-> Settings-> Tools-> Remote SSH External Tools, in which you can write the desired command. As I understand it, it is important to add a remote server not through the project settings, but through File-> Default settings-> Build, ..-> Deployment, otherwise the required server will not be visible in the command settings.
Detailed answer to the link: https://stackoverflow.com/questions/42380496/deploy-debug-java-code-on-a-remote-server-using-intellij/42392922#42392922
|
exec-maven-plugin- GVArt