-
Aug 26th, 2010, 06:15 AM
#1
Best way to fast-deploy app when debugging?
Hello all,
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!
Cheers,
Luis Serrano
Barcelona, Spain
Last edited by Moonwalker; Aug 26th, 2010 at 09:42 AM.
Reason: typo
-
Aug 27th, 2010, 10:31 AM
#2
Hi Luis,
You know, I just happen to be working on some enhancements in this area - but they aren't yet in a state for release in STS. However, I spoke to someone about your situation and they pointed me at the recent article/screencast:
http://blog.springsource.com/2010/07...vc-3-showcase/
You might want to watch that and see how Keith handles it.
cheers
Andy
---
Andy Clement
SpringSource
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules