June 2006 Entries
Vista Trials and tribulations

Just a quick warning,

infragistic's NetAdvantage 4.1 Does not work in Vista Beta 2. It tries to find %SystemDrive%\inetpub\wwwroot and fails, dispite being able to run %SystemDrive%\inetpub\wwwroot and have it pop right up.

What ever the problem was with Beta 2 they have fixed it in 5456. Brilliant I thought, until i came to install Visual Studio 2003. It would appear that 5456 will not install the .NET 1.1 framework.

A bit of a major problem.

If anyone knows a get around let me know.

NJ.

CruiseControl Config files

If you have repeating sections of config in ccnet.config you can separate out config blocks into separate files. This is particularly useful for servers with multiple build projects or streams.

For Example on NRO we have three projects on our build server separated out into source.xml,uat.xml and live.xml.

The ccnet.config looks like this:

<!DOCTYPE cruisecontrol [
 <!ENTITY Source SYSTEM "file:Source.xml">
 <!ENTITY Live SYSTEM "file:Live.xml">
 <!ENTITY UAT SYSTEM "file:UAT.xml">
 <!ENTITY email SYSTEM "file:email.xml">
]>

<cruisecontrol>
  &Source;
  &UAT;
  &Live;
</cruisecontrol>

This makes smaller and easier to manage config files, especially for turning streams on and off.

You might laso notice email.xml. As all the projects share the same email settings they are stored in a separate file and referenced as a publisher in the projects:

<publishers>
   &email;
 </publishers>

  

Bit of a gotcha, all references to snippets of config must be made in ccnet.config