Home > Articles > Programming > Windows Programming

  • Print
  • + Share This
This chapter is from the book


I choose Draco.NET because it is so easy to install and simple to use. Although CruiseControl.NET does offer nice features for a large development team, I wanted to eliminate any complexity to emphasize the concepts of a complete case study. Listing 9.4 is the configuration for Draco.NET to build ASpell.NET. Figure 9-4 shows the email notification sent from the initial import's triggering of the build.

Example 9.4. Draco.NET's Configuration

<?xml version="1.0" encoding="utf-8"?>
   <section name="draco" type="Chive.Draco.Config.ConfigurationSection, Draco"/>
   <add name="TraceLevelSwitch" value="4"/>
                 <trace autoflush="true" indentsize="4">
   <remove name="Default"/>
   <wellknown mode="Singleton" objectUri="Draco" type="Chive
   ccc.gif.Draco.DracoRemote, Draco"/>
   <channel ref="tcp" port="8086"/>
   <draco xmlns="http://www.chive.com/draco">
                                      <ignore comment="autobuild"/>

09fig04.gifFigure 9-4 Draco.NET's Email Notification.

Again, in Listing 9.4, all the comments have been removed. These comments more than point you in the right direction with helpful examples. For example, there is a section for each source control that it supports (i.e., Subversion, Visual Source Safe, etc.), and you just have to uncomment it and changed the values (like username, paths, passwords) to fit your environment. By just uncommenting the proper notification XML node, you can now receive build results in multiple formats. All of the supported SCMs are also very configurable and well documented. Notice that you can ignore certain checkins to SCM (if you are triggering builds off of checkins and are not scheduled). You can also potentially monitor multiple source repositories. In Listing 9.4, only the svn XML tag is used to monitor a single Subversion repository.

Next we will add a new example client for greater stressing of the component.

  • + Share This
  • 🔖 Save To Your Account