facebook

Project Management/Organization Issue

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    jrp
    Member

    Hi,

    I am in the process of trying to integrate MyEclipse into our development environment. I am having some general issues that I hope others could shed some light on.

    I have a product with java, C, perl, and several webapps. These are all contained in a CVS repository. Up til now, we had one CVS module that encompassed all the code. We would get into Eclipse and tell it to checkout our module. We have a scheme where we name our projects based upon the version of the code. Here is what it looks like:

    Eclipse project name V2_5

    directory structure under V2_5

    V2_5
    —src
    ——java
    ——c_code
    ——perl_code
    ——websrc
    ———webapp1
    ———webapp2

    Now with the introduction of MyEclipse, I guess I need to separate this so that my webapps can each be defined by a J2EE Web Project.

    My original thoughts were that I would define a few additional modules in CVS and just break apart the code. I would keep all the Java, C, and Perl in a module and then define a new module for each WebApp. I want to do this while also maintaining the original module which includes everything. That way I can still create production release of my project without making any changes.

    What I was hoping to do was to maintain the original directory structure though. This would mean that multiple Eclipse projects would co-exist within the same directory structure.

    For example:

    Proj1 would be something like:

    V2_5
    —src
    ——java
    ——c_code
    ——perl_code

    and Proj2 (my webapp) would be something like:

    V2_5
    —src
    ——websrc
    ———webapp1

    So the net effect in the file system would be the same directory structure that I had originally:

    V2_5
    —src
    ——java
    ——c_code
    ——perl_code
    ——websrc
    ———webapp1
    ———webapp2

    When I try to do this, the J2EE project wizard tells me that:” Project Contents cannot be inside workspace Directory.”

    Is there other ways to do what I am trying to do ?

    How do others manage multiple versions of large multi-language projects in Eclipse. Any pointers or advice would be appreciated.

    Thanks,
    Jim

    #239980

    Riyad Kalla
    Member

    Jim,
    At first pass (mentally) this seems it should work, here is how I would do it, please filter out steps you have already done:

    1) Create a new workspace
    2) Enter my repo information into the CVS perspective
    3) Check out webapp1 into a new Web Project
    4) Do the same for apps 2 and so on…
    5) Check out the root module into a new Java Project, where you set the /src/java as your Source dir
    6) Mark the web projects to all depend on the Java Project in the build path

    You might be getting the error you are getting now because you are trying to overlap projects ontop of eachother… are you performing a check-out-as-> Project for each new project you are creating? You might give that a try.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Project Management/Organization Issue

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