facebook

Abnormal Project Config: What is the best way to setup?

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

    boxhead
    Member

    Hi MyEclipse;

    I read the docs and searched the forums to no avail. Perhaps somebody can help me here.

    I have a CVS based struts project that is setup in an abnormal way. Changing the project is going to be difficult. I want to leverage the functionality of MyEclipse while developing for this project. The project directory is setup like so:

    CVSROOT/Module1/jsrc: Source Code for entire project (Struts Actions, Forms, etc)
    CVSROOT/Module1/webApplication1: all JSPs for entire project, modeled as a single WEB application with its own WEB-INF
    CVSROOT/Module1/webApplication2: all static pages for project as well as Javascript libraries, again, modeled as a single WEB application with its own WEB-INF

    What is the best way to setup the above project in MyEclipse? I want to be able to leverage all of the features of MyEclipse (as well as core Eclipse), but I am finding that the “abnormal” setup in CVS is making the project setup difficult.

    Is it possible to setup as 1 project where 1 project would contain 2 web applications ??

    Or, would I have to setup as 2 web application projects? If this is the case, then how to handle the CVS integration?

    What is the best way to setup a project that is setup like this??

    #251871 Reply

    Riyad Kalla
    Member

    You probably want to set this up as 3 projects. 1 Java Project and 2 Web projects that have Project 1 as a dependency. Give that a try and see if it works.

    #251895 Reply

    boxhead
    Member

    I thought about setting this up as 3 projects, but then how do I handle CVS commits from each project? I need to be able to commit/update to/from CVS with these projects. How to setup with CVS?

    #251896 Reply

    Riyad Kalla
    Member

    I think you can just check Module 1 out as a Java Project and check Modules 2 and 3 out as Web Projects.

    #251897 Reply

    boxhead
    Member

    But which project do I associate with CVS? All of them, Module 1? How would I do commits?

    Also, would I check the entire codebase out in Module 1? What about Module 2? Would I checkout the entire codebase again?

    #251898 Reply

    Riyad Kalla
    Member

    It looks like all the projects are already in CVS (From your example), just go check it out in the order I said at the level I mentioned and use “Check Out As…”. Play around, you’ll figure out what works for your repository.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Abnormal Project Config: What is the best way to setup?

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