I think we are having a problem with terminology... Especially when talking about a "module" Comments and questions are embedded.
Kenney Westerhof <[EMAIL PROTECTED]> wrote on 09/30/2005 09:06:39 AM: > On Fri, 30 Sep 2005, Thomas Van de Velde wrote: > > Hi Thomas, > > > Kenney, > > > > Thanks for your reply. I am still a bit puzzled though when SCM is brought > > into the picture. > > > > Is the following hypothesis correct? > > > > - Setup the recommended M2 structure for multiple modules. As specified before, the recommended structure is: +- pom.xml +- my-app | +- pom.xml +- my-webapp | +- pom.xml The next two answers from Kenny are the confusing and apparently conflicting part that need more clarification. > > > - Check in the entire tree as a single SCM module. > > Correct. You can also use different scm repositories for each module if > you want, as long as you specify the scm repository in the pom for that > module. > Kenny answers that it is correct that you can check in the entire tree as a single SCM Module. This seems to conflict with what Kenny says next. > > - To work on an individual module: Check out the subsection of thestructure > > that holds the module and Eclipse project for that module. > > never check in eclipse projects! Generate them. If you work on a > subsection of the structure, you don't have project references to other > sections. If you were to check in eclipse project files you would have to > decide beforehand wheter to use project references or not (in this last > case you would have to run m2 eclipse:eclipse for each module seperately). Kenny says to "never checkin eclipse projects"... Well then, if you never check in eclipse projects, then you are not checking in the entire tree as a single SCM Module. This is confusing. Wouldn't you need to check in the eclipse project to get the master POM (the top level POM) into SCM? So... for clarification...to be as specific as possible Given this structure in SCM MyProject +- pom.xml (master POM) +- my-app | +- pom.xml +- my-webapp | +- pom.xml Within Eclipse wouldn't I right click on the "MyProject" project and choose Team-->Commit If not, then please clarify. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]