facebook

How should I lay out my projects?

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #232215 Reply

    ggerard
    Member

    I’d like to have several Eclipse projects (pretty much all libraries) so that another project, a MyEclipse web project, will consume their artifacts (JAR or raw classes, I don’t care which) and dependencies, and still allow me to hot deploy and whatnot when I change any of the dependent projects.

    Example: I’m stepping through the web app and jump into one of my libraries and make a proposed correction. Will this change be pushed out to the app server (Tomcat in my case but arbitrary choice in general)?

    Does anyone have an example project set or a pointer to one?

    So far I’ve used only single, large projects within Eclipse and haven’t figured out how to do this sort of linkage. Either my search terms suck, I don’t recognize what’s being talked about if I’ve seen it in the docs, or the feature doesn’t exist.

    thanks for the pointers and tips!

    #232226 Reply

    Riyad Kalla
    Member

    1) Make each library project a Java Projects
    2) Create your web project, make each library project a reference of the web project as well as including it on he build path.
    3) Adjust your deployment settings to “Merge dependent classes into the WEB-INF/classes” dir of your webproject.
    4) Setup an exploded deployment of your Web Project to Tomcat
    5) Have a nice day =)

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: How should I lay out my projects?

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