On 2002.09.18 10:48:57 -0400 "LaBanca, Rick" wrote: > > It depends on how modular things are, but I would almost always use > branches > for module revisions and put modules in different cvs modules, or at > least > top level directories within. > > My preferred practics is to write true subsystems as if they are > delivered > products, like third party libraries. Deliver them to other parts of your > main app as binaries (jars). This keeps things neatly packaged, and > dependency/compatability issues low. > > The other thing I like but find a hard sell is that I don't believe in > the > mythical mainline! It's artificial, and IMO unnecessary work. Yes you > will > end up with one lopsided tree, but who cares? Each released version can > go > along and be maintained if needed, die when appropriate, and the > "mainline" > is whatever version you happen to be working on. > > Then the only merging you have to deal with is fixes from past versions > to > newer. Merging backward into a mainline (some arbitrary old version) > seems > to be work with little gain, maybe someone can prove me wrong on this > one!
Look at the xdoclet refactoring branches. People were fixing templates, adding module features etc on the main line and the refactoring to use xjavadoc was occurring on a branch. When the xjavadoc stuff was stable enough, the refactoring branch was merged to the mainline. How would you do something like this without a branch and mainline? Also, what if 2 major rewriting efforts are going on at once to different aspects of the same module? I think a mainline provides some way to combine the changes without favoring one branch over the other. david jencks > > Final note, put all your tools in a repository and tag those too! I find > most companies don't do configuration management at all in that to > reproduce > a release, the repository only contains code. Just as important are the > proper versions of tools to create that code, but it's often overlooked. > In > fact in my c++ days, the nightmare of what windows platform and ms > compiler/version/patch caused all kinds of grief! With java it's not so > bad > but still a good idea. > > Rick > > > -----Original Message----- > From: Emerson Cargnin - SICREDI Servi�os [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, September 17, 2002 4:41 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] off-topic : branching politics > > > I know it's a kind of off-topic, but i didn't know any other list to > discuss this, may be creating an alternative list to discuss this > important subject would be useful : > > How are you people are dealing with cvs branches and modules in j2ee > projects in real world projects? > > I'm creating a branching and versioning document for our company. I read > jboss "CVS ADMINISTRATION POLICY" > (http://www.jboss.org/developers/guides/cvs-admin.jsp), very > interesting, i think that almost all of that could apply to j2ee > projects in general, but i have some point I'd like to clear : > > - I'll have a number of modules, like accounting, billing, etc. This > modules will have distinct branches? or will them follow a main line? > Becouse this would create a exponencial growing of branches, as i would > have a branch for each major realease (eg: jboss 2.4, 3.0 and 3.2) times > the number of modules. What's the better way to accomplish that? > > > other intersting article published at plop is : > Streamed Lines: Branching Patterns for Parallel Software Development > http://www.enteract.com/~bradapp/acme/branching/ > very worth of reading > > Thanks in advance and sorry for the off-topic > > -- > Emerson Cargnin > SICREDI - Tel : 3358-4860 > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: AMD - Your access to the experts > on Hammer Technology! Open Source & Linux Developers, register now > for the AMD Developer Symposium. Code: EX8664 > http://www.developwithamd.com/developerlab > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > ------------------------------------------------------- > This SF.NET email is sponsored by: AMD - Your access to the experts > on Hammer Technology! Open Source & Linux Developers, register now > for the AMD Developer Symposium. Code: EX8664 > http://www.developwithamd.com/developerlab > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ------------------------------------------------------- This SF.NET email is sponsored by: AMD - Your access to the experts on Hammer Technology! Open Source & Linux Developers, register now for the AMD Developer Symposium. Code: EX8664 http://www.developwithamd.com/developerlab _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
