Announcement Announcement Module
No announcement yet.
Best way to fast-deploy app when debugging? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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!


    Luis Serrano
    Barcelona, Spain
    Last edited by Moonwalker; Aug 26th, 2010, 09:42 AM. Reason: typo

  • #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:

    You might want to watch that and see how Keith handles it.

    Andy Clement