From: Jeffrey F. <jef...@gm...> - 2006-03-16 01:08:13
|
not really related to your question but given that you have everything parameterized I'd think you'd be doing project preconfiguration ala: http://makeashorterlink.com/?O2DE26E9C Jtf On 3/15/06, Ian Spence <ian...@gm...> wrote: > Hello, > > I am in the middle of setting up config.xml for cruisecontrol. Everything > going well. > Our product is split into separate modules in subversion > e.g. Common, Engine, Fetch, Soa, etc.... > > Can you tell me what is the best way of setting up my config.xml for this= ? > Separate project elements --?? > There is a required order of build, like Common should build before other > projects and so on. > If I go with multiple projects, then the <email> will be sent for each > project which is not the best thing as I have about 12 modules in total. > > My current config.xml attached, where I am trying to solve it with just o= ne > <project> element, but when a svn change is seen in the 2nd project, only > the 1st project is built. > > <cruisecontrol> > <project name=3D"product-blah"> > > <listeners> > <currentbuildstatuslistener > file=3D"logs/${project.name}/status.txt"/> > </listeners> > > <bootstrappers> > <!-- bootstrappers are executed before the actual build attem= pt > --> > <svnbootstrapper localWorkingCopy=3D"projects/${ project.name= }" /> > </bootstrappers> > > <modificationset quietperiod=3D"30"> > <svn localWorkingCopy=3D"projects/${project.name }/Common"/> > <svn localWorkingCopy=3D"projects/${project.name}/Engine"/> > <!-- more svn here for each module --> > </modificationset> > > <schedule interval=3D"30"> > <ant anthome=3D"apache-ant-1.6.5" > buildfile=3D"projects/${project.name }/Common/build.xml"/> > <ant anthome=3D"apache-ant-1.6.5" > buildfile=3D"projects/${project.name}/Engine/build.xml"/> > <!-- more ant here for each module --> > </schedule> > > <log> > <merge > dir=3D"projects/${project.name}/Common/target/test-results"/> > <merge dir=3D"projects/${ > project.name}/Engine/target/test-results"/> > <!-- more merge here for each module --> > </log> > > <publishers> > <onsuccess> > <artifactspublisher dest=3D"artifacts/${project.name}/Com= mon" > file=3D"projects/${ > project.name}/Common/target/Common.jar"/> > <artifactspublisher dest=3D"artifacts/${project.name}/Eng= ine" > file=3D"projects/${ > project.name}/Engine/target/Engine.jar"/> > <!-- more artifactspublisher here for each module --> > </onsuccess> > > <email mailhost=3D" exchsmtp.blah.com" > returnaddress=3D"i.s...@bl..." > skipusers=3D"true" > reportsuccess=3D"always" > subjectprefix=3D"[CruiseControl]" > > buildresultsurl=3D"http://ccserver:8090/cruisecontrol/buildresults/Busine= ss > "> > <failure address=3D"i.s...@bl..." /> > <success address=3D"i.s...@bl... " /> > </email> > > </publishers> > > </project> > </cruisecontrol> > > > -- > Regards, > Ian Spence > ian...@gm... > Mob. 07891 875 735 > -- http://www.developertesting.com/ |