facebook

Tomcat 5 Project refers to other projects [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #203794 Reply

    avajrd
    Member

    What is the best way to handle referenced projects to facilitate interactive debugging?

    I have a project that contains several servlets. These servlets refer to other projects. These other projects handle things like database access and report generation and are used by other projects also.

    A side from exporting jar files and adding them to the tomcat 5 application Paths entry, is there a way to have tomcat look into the workspace to resolve these references?

    Ideas or suggestions?

    Mike

    #203796 Reply

    Riyad Kalla
    Member

    Mike,
    If you compile these utility projects into JARs, and then include those JARs in the deployment of your main webapp it will work fine (debugging).

    I currently am working on a library class that I use in a web application. I deploy the web application with the library’s JAR as part of the webapp. Then I go back and set breakpoints in the library and interacte with Tomcat and MyEclipse behaves as it should (stopping at breakpoints).

    When you go to set breakpoints in your utility projects (the data access and report generation ones) if you see a checkmark in the blue ball marking the breakpoint, then that means the class is currently loaded by the web application server and will be properly loaded for debugging when the breakpoint is set. This is a good guide to know if things are on the up and up.

    #203824 Reply

    filip
    Member

    That is a solution, but it would be much better if tool could create and deploy utility project jar after I change source code in utility project(like in WebSphere Studio).

    Filip

    #203827 Reply

    Riyad Kalla
    Member

    Filip,
    You are absolutely right. There has been a huge request for this type of behavior and IIRC we are shooting for 2.8 for strong “dependant project” deployment support. I’ll double check with Scott/Michael about this.

    #203839 Reply

    Scott Anderson
    Participant

    Yep, dependent project support is one of the big features for 2.8, so sooner rather than later. 🙂

    #203846 Reply

    avajrd
    Member

    Basically I’m doing as suggested, but I guess I’m with the rest of the crowd in wanting dependent project support. I’ll be looking forward to 2.8.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Tomcat 5 Project refers to other projects [Closed]

You must be logged in to post in the forum log in