- This topic has 5 replies, 2 voices, and was last updated 18 years, 7 months ago by Riyad Kalla.
-
AuthorPosts
-
boxheadMemberHi 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-INFWhat 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??
Riyad KallaMemberYou 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.
boxheadMemberI 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?
Riyad KallaMemberI think you can just check Module 1 out as a Java Project and check Modules 2 and 3 out as Web Projects.
boxheadMemberBut 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?
Riyad KallaMemberIt 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.
-
AuthorPosts