Re: Simple get and build
Jeffrey Fredrick <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
What Bill said is right on, only if you're using .net you'll probably be using NAnt or MSBuild instead of Ant. Same concept though. There's also a really cheap way of having CC fetch the files for you and that's to use the bootstrappers. You risk having some commit sneak in between the files being pulled and the modifications being checked but on a small project this is usually a minimal risk. And on the off chance that you're using CC.NET instead of the original CruiseControl, the mailing list for that is here: http://confluence.public.thoughtworks.org/display/CCNET/Mailing+Lists Jtf On Thu, Jul 9, 2009 at 6:12 PM, Bill Stackhouse <[email protected]>wrote: > CC does not update the source, but only checks if any changes have been > made. The checks are done by the <modificationset> and then the > <schedule> performs the 'work'. Part of that work is to update the files > from the source control system, probably using an ant script. > > Carefully read and re-read the CC cookbook at > http://confluence.public.thoughtworks.org/display/CC/Home > > There are a number of good examples that did not come clear to me the > first few readings. Some escaped me until I had most everything working > and was trying to clean up a few loose ends. > > One of the biggest 'ah ha' moments came as I understood I could use the > plugin feature to predefine a template project so I did not have to > repeat everything for the nearly 30 projects I use CC to build. > > This is a small subset of my config.xml file. > > <project name="SomeProject"> > ... > <modificationset> > <svn LocalWorkingCopy="${build.dir}/${project.name}/MainSource" /> > <svn LocalWorkingCopy="${build.dir}/${project.name}/Subproject1" /> > <svn LocalWorkingCopy="${build.dir}/${project.name}/Subproject2" /> > </modificationset> > ... > <schedule> > <ant anthome="/<pathtoant>/apache-ant-1.7.1" > time="0100" > buildfile="${build.dir}/${project.name}/buildnightly.xml" > target="buildnightly" > uselogger="true" /> > </schedule> > ... > </project > > > > > > On 7/9/09 3:24 PM, Frank Prevatt wrote: > > I am new to Cruise Control and would appreciate some help. I am trying to > set > > up a simple nightly process that gets latest version from source control > and > > the builds the solution. > > > > The application is built in .net and is comprised of an web application > with > > several class libraries as sub projects. I need CC to get latest version > of > > the both the web app and the sub projects...and then use the visual > studio > > solution file to build the solution. > > > > I have set it up to get latest of the web app and then build it, but I > cannot > > figure out how to have it get latest code for the supporting class > libraries. > > > > This has got to be easy and I am probably overlooking something, but I > have > > been through the documentation and haven't found an answer. > > > > Any help would be appreciated. > > > > > > -- CITCON Continuous Integration and Testing Conference http://www.citconf.com/ ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user