I want to be able to automatically deploy a Java application to a tomcat server.
Current situation:
- A Java project is under developement in Eclipse
- A Tomcat Server is running on another machine, serving a WAR file of that project
My goal: An easy possibility to compile and deploy the project into the remote Tomcat server. I don’t mind if that would be a console command/script or by using the Eclipse GUI.
Is that possible? If yes, how? (If there are possibilites, which need changes on my setup, feel free to give me advice for a better suiting setup)
Update
Yes, i use Maven.
If you use Maven I will suggest to use Cargo plugin which supports all Tomcat’s version and have ability to deploy to local and remote servers.