May 2009 Entries

UppercuT - Automated Builds - Getting Started Part 8 (Next Steps)

In Part 1 we downloaded or built from source control. In Part 2 we added UppercuT to our project. In Part 3 we set up the UppercuT configuration. In Part 4 we updated our reference folders if we needed to. In Part 5 we built our code successfully. In Part 6, we checked into source control. In Part 7, we automatically ignored folders for SVN. What are the next steps to take advantage of the power of UppercuT? The Power of UppercuT UppercuT comes with many great features! You now have automated build ......

UppercuT - Automated Builds - Getting Started Part 7 (TortoiseSVN Global Ignore List)

In Part 1 we downloaded or built from source control. In Part 2 we added UppercuT to our project. In Part 3 we set up the UppercuT configuration. In Part 4 we updated our reference folders if we needed to. In Part 5 we built our code successfully. In Part 6, we checked into source control. This is a recommendation on automatically ignoring folders for SVN. TortoiseSVN Global Ignore List Because TortoiseSVN is the most commonly used client, it’s worth mentioning the Global Ignore list. You benefit ......

UppercuT - Automated Builds - Getting Started Part 6 (Source Control & What NOT to Check In)

In Part 1 we downloaded or built from source control. In Part 2 we added UppercuT to our project. In Part 3 we set up the UppercuT configuration. In Part 4 we updated our reference folders if we needed to. In Part 5 we built our code successfully. Now we are ready get this into source control. Let's UppercuT our code! Artifacts of the Build UppercuT outputs some files and folders that should never be checked into source control. These are basically the same as what is in your bin directories with ......

UppercuT - Automated Builds - Getting Started Part 5 (Build IT!)

In Part 1 we downloaded or built from source control. In Part 2 we added UppercuT to our project. In Part 3 we set up the UppercuT configuration. In Part 4 we updated our reference folders if we needed to. Now we are ready to build. Let's UppercuT our code! BUILD IT! What You’ve Been Waiting For 1. Open a command line in the current folder. There is an excellent tool called StExBar that will allow you to do this by pressing {Control} + {M}. 2. Type build. Press {Enter}. 3. Now watch UppercuT in action. ......

UppercuT - Automated Builds - Getting Started Part 4 (External Libraries / Tools)

In Part 1 we downloaded or built from source control. In Part 2 we added UppercuT to our project. In Part 3 we set up the UppercuT configuration. This is a small update into where you keep your external references. If you keep them where UppercuT defaults to, you can skip this step. External Libraries/Tools It’s important to note that not everyone keeps their references to external libraries (lib) in the same location in source control. That’s fine, but it requires a little additional work. In the ......

UppercuT - Automated Builds - Getting Started Part 3 (Configure UppercuT.config)

In Part 1 we downloaded or built from source control. In Part 2 we added UppercuT to our project. Now we need to edit the UppercuT configuration. Let’s UppercuT our code! UppercuT.config 1. Navigate to the Settings folder and open the UppercuT.config file in your favorite editor. 2. Take a moment to familiarize yourself with all of the options available in the configuration file. 3. Copy the name of the solution file (minus .sln). 4. Select the current value of the project.name property. Currently ......

UppercuT - Automated Builds - Getting Started Part 2 (Add UppercuT to Your Project)

In Part 1 we downloaded or built from source control. We are now ready to add UppercuT to our project. Let’s UppercuT our code! Add UppercuT to Your Project 1. We open the folder at the top level of the project (usually just under trunk or a branch). Below you can see we have a project called MoneyQIFGenerator and it has no automated build love yet. 2. We already have a references folder (lib) so we are going to do something differently when bringing in UppercuT. For any existing project this could ......

UppercuT - Automated Builds - Getting Started Part 1 (Get UppercuT)

So you've decided to UppercuT your code and you want to get started. You are making a step in the right direction when you choose to use automated builds. As you read through this, you will see how easy it is to get into the world of automated builds. As you read through some of the other documents, you will learn just how powerful UppercuT is. The first thing you need to do is download or pull the source to your computer and build it. Get UppercuT Download 1. Head out to http://code.google.com/p/up... ......

UppercuT - Automated Builds - Custom Tasks

UppercuT provides hook points to custom tasks so that you can customize UppercuT without ever having to touch the files in BuildScripts. This makes it extremely easy to upgrade UppercuT versions when you keep your custom build scripts separated from UppercuT’s build scripts. To add custom tasks, all you need to do is create them in a folder next to BuildScripts called BuildScripts.Custom. These are the points were custom tasks are called (in order): _compile.build calls BuildTasks.Custom\_compile.... ......

UppercuT - Automated Builds - VersionBuilder

UppercuT comes with VersionBuilder. A common problem many of us have is versioning our DLL assemblies and keeping track of what’s in production versus what’s in source control. If you rock with Subversion, UppercuT has this problem solved. So how do you take advantage of VersionBuilder? UppercuT automatically generates an assembly version file for you during build. All you need to do is hook every project up to it. Notice in the same directory the solution is in, after you run build.bat, there is ......

StExBar - A Great Add-on for Windows Explorer

One of the best utilities that I have been using recently is StExBar. It's a great utility that comes from Stefan's Tools ( http://tools.tortoisesvn.net/ ). From the site: The StExBar provides many useful commands for your everyday use of Windows explorer. And you can add as many custom commands on your own as you like. Have you ever needed to open a console window while you were using the explorer? And to have that console already set to the directory you're showing in explorer right now? Well, ......

UppercuT - Automated Builds - CruiseControl.NET Integration

So now you are rolling with UppercuT, but you don’t yet have Continuous Integration (CI). You can make that happen with CruiseControl.NET (or any other CI server like TeamCity or Hudson). This article is geared to CruiseControl.NET (CC.NET), although there will be future articles on other CI servers. This is specifically geared towards CC.NET 1.4 and above, because it takes advantage of preprocessors. First a few sideline notifications and then we'll get right into it. UppercuT Compatibility with ......

UppercuT - Automated Builds - User Group

If you have questions, you want to know about new features, or you want to get more involved, feel free to join the group.

http://groups.google.com/group/chucknorrisframework

Uppercut - Automated Builds - DeploymentBuilder

UppercuT comes with DeploymentBuilder. What is DeploymentBuilder? Perhaps you maintain a bunch of deployment scripts that point to all your different environments. We now you can define a template batch file and let UppercuT create all of those deployments scripts for you. It's less for you to maintain, and you no longer have to update a bunch of different scripts. Just one or a couple depending on the types of deployment. To help people better understand what it can do, we've included a starting ......

UppercuT - Automated Builds - ConfigBuilder

UppercuT comes with ConfigBuilder. What is ConfigBuilder? ConfigBuilder will build a configuration file per environment so you no longer have to maintain a bunch of configuration files. In any project you have app.config (or web.config) files. You just create a .template file next to it. The web.config has a file next to it named web.config.template. What do you name the app.config template files? You have to name the file based on what app.config becomes when visual studio builds the application. ......

UppercuT - Automated Builds - UppercuT.config

Recently I posted about UppercuT, the insanely easy to use build framework. There are so many things you can do with UppercuT, that it may make your life easier. We decided to make it even easier to use UppercuT by using a convention most people in the .NET world understand, the .config file. This replaces the build.settings.bat file for those of you who were using it. All you need to do now is navigate to the Settings folder and open the UppercuT.config file in your favorite editor. Get Building ......

UppercuT - The Insanely Easy to Use Automated Build Framework

UppercuT is the insanely easy to use Automated Build Framework! Automated Builds as easy as (1) solution name, (2) source control path, (3) company name for most projects!!! Uppercut was recently called NAnt for the masses! UppercuT is for developers who want a powerful build framework without a lot of set up work. UppercuT is for anyone who needs a standard way of building applications across an entire organization. UppercuT is for anyone who wants to concentrate on just writing code. What can UppercuT ......

AutoTest.NET Changes Now in Source

The changes I made recently to AutoTest.NET have made it back into source control.

Get the code at http://code.google.com/p/autotestnet/source/checkout