Best way to fast-deploy app when debugging?
I am creating a Spring Web MVC project, and debugging it in a Tomcat 6.0 server which I have added to my Servers tag. It has all the libraries required to run a Spring project, in fact, I copied all .jars in tc_server/lib and tc_server/lib/ext to my tomcat installation.
About my project, it is a Maven Project, I am using SpringSource TS (latest version), Spring 3.
I am finding it hard to debug my @Controllers: in order to see the changes in code (or XML configuration files), I have to:
- Remove the application from the server
- "Clean" the server (using the Clean option when right-clicking on it)
- Cleaning the Tomcat working directory
- Run As -> Maven Clean
- Run As -> Maven build
- Run As -> Maven install
- and finally Run As -> Run on server
Do I really need to go through all of those steps every time I change a single thing?
How do you guys do it? Maybe I am missing something here, because this way can be hell!