Re: Tags/branches with Subversion, Best Practices?
Doug Breaux <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
On 6/29/2010 8:39 AM, Antoine Levy-Lambert wrote: > Wawok, Brian wrote: >> -----Original Message----- >> From: Doug Breaux [mailto:[email protected]] >> >> >> Another question is whether there's any way to have CC "reuse" project >> definitions. I really don't want to have to maintain two set of projects with >> the only difference being the SVN path. >> >> Thanks, >> Doug >> >> look at making a project plugin ala http://cruisecontrol.sourceforge.net/main/plugins.html#preconfiguration >> >> > making a project plugin is a good tip. > > I make CruiseControl include files where the project definitions look like > > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE cruisecontrol [ > <!ENTITY branch.entity SYSTEM "branch.entity"> > ]> > <cruisecontrol> > &ivybranch.entity; > > <project name="foo_${branch}"> > ... > </project> > > <project name="bar_${branch}"> > ... > </project> > > </cruisecontrol> > > the branch.entity will contain<property name="branch" value="trunk"/> > for instance. > > The cruisecontrol config file with the list of projects should be also > maintained in different branches to record changes of the list of > projects in your build stack, and merged at the same time as the rest of > the code. > > Regards, > > Antoine That all sounds promising, although I confess I can't follow most of it. Does it depend on Ivy? ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first