facebook

Best practice for having multiple Web projects with same src

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

    Andres
    Member

    I posted this question in web development but probably it makes sense to do it here, since is multiple J2EE projects.

    we have one single source folder (java code), and multiple webroot folders.

    so each project in the IDE will be a copy of the same src folder , a webroot , and a set of libraries.

    I do not want to have a copy of the src folder for each project.
    I have tried using the “link source” option, but that slowed to a crawl the IDE.

    What do you recommend?

    #295680 Reply

    rmcvay
    Member

    Move the Java source into a separate utility project and make that a dependency of your web projects.

    #295913 Reply

    Andres
    Member

    I did that, but when I deploy the project to tomcat using myeclipe, it does not copy the classes over

    any Idea what I am doing wrong?

    #295983 Reply

    Brian Fernandes
    Moderator

    anrange,

    Can you go to the Window > Preferences > MyEclipse > Java Enterprise Project > Web Project and check the Deployment tab? You should have smart deployment selected and the “Jars exported from dependent Java projects” selected.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Best practice for having multiple Web projects with same src

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