I would like to:
1. stop tomcat server on remote machine (Windows Server 2012)
2. delete/clean war on the server (from webapps tomcat folder)
3. deploy war file on Tomcat (copy it in webapps tomcat folder)
4. copy client jar file and jnlp file into webapps tomcat folder
5. start Tomcat
My idea is to use ftp for copying files (I have enabled this on Windows Server 2012). But I don't know how to do this using gradle? And it leaves unknown to me how to stop/start Tomcat server?
What is recommanded way to do this with gradle?
Thnaks in advance.
Best regards,
mismas
cargo
extension. – Opal