build-automation

How do you get up and running with a build server?

I think everyone here would agree that in order to be considered a professional software house there are number fundamental things you must have in place. There is no doubt that one of these things is a build server, the question is, how far do you need to go. What are the minimum requirements for the build server? (Somewhere to just ...

How can I generate multi-line build commands?

In SCons, my command generators create ridiculously long command lines. I'd like to be able to split these commands across multiple lines for readability in the build log. e.g. I have a SConscipt like: import os # create dependency def my_cmd_generator(source, target, env, for_signature): return r'''echo its a small world after ...

Is it safe to use incremental rebuild for generating release build in visual C++ ?

I sometimes have issues with the incremental rebuild on visual C++ (2003 currently ). Some dependencies does not seem correctly checked and some files aren't build when they should. I suppose thoses issues come from the timestamp approach to incremental rebuild. I don't consider it a huge issue when building debug build on my desk, howe...

Is continuous integration worth it for small projects?

I've been pushing for continuous integration at my company since I joined 5 months ago, but having seen the type of applications we work on I'm starting to think that it might not be worth the effort of setting up each and every project for continuous integration. If you work in a development department where the average project takes 2...

Re-scaling automatic build from 2-cpu pizza-boxes to multi-cpu monster(s) ?

Our current automated build consists of 1 master box and 4 core-2-duo pizza boxed (at around 2.5Ghz), with 3 GB memory each, all runing ubuntu linux. (Using bamboo) I have been asked to recalibrate this for running on one or more solaris boxes. Our current build consists of a mix of java builds, long running integration test builds and ...

Team Foundation Server Build variables

Does anyone know (or know where to find, couldn't myself) what variables I can use on a TFSBuild.proj file for my automated builds? For example, $(SolutionRoot) gives me the path to all my source files, but I want to copy the built solution from the release directory (ie: \Nightly Build20090127.7\Release\_PublishedWebsites) and I can't ...

How to make a build (java) as "CM-independent" as possible? (CM=Configuration Manager)

I have been thinking of making one of the project builds I handle, as "independent" of me(CM)as I possibly can. By this I dont just mean automation via scripts/tools - although it definitely includes it. This is a project subject to much chaos and so "total" automation would not be realistic. Here is what I'm aiming for: Anybody should...

how to modify source with NAnt?

Hi, I would like to modify the string in a .h file with NAnt before building the solution. There is a macro in .h file: #define SERVER_ADDRESS "www.customserver.net" and I would like to modify the string before deploying software so each build could be made for custom address by passing the address in command line. Does anyone know ho...

Automated Builds on Branches for TFS

In TFS, you are able to create automated builds and create branches (well, hopefully. ;) ) I have the following structure: ->Trunk ->Branches -> Branch A If you create an automated build, you are able to create a trigger for the build. In my case I want to create a build for Branch A so that when a checkin occurs Branch A is built...

How can I stop cl.exe from terminating when a user logs out?

We have an automated build server that produces builds using Visual Studio 2005 and CruiseControl.NET (on Windows XP x64). Normally nobody is logged into the system, but occasionally we have to log in via Remote Desktop in order to perform maintenance. We have noticed that if cl.exe is running (Microsoft's C++ compiler) at the instant ...

Using a Continuous Integration Server for Home Development

As a follow up to one of my previous posts 'Using Version Control for Home Development', I am now asking about opinions as regards using a Build Server for a pet project. Lately I have been reading about this 'Build Servers' concept, and I have looked at applications such as Maven and CruiseControl.Net. And thus I ask, how feasible is...

Driving NDepend with NUnit

Is it possible to use NUnit to run CQL queries using NDepend? It would be nice to be able to just include the NDepend dlls in a UnitTests library and write tests like: [Test] public void DomainAssemblyHasNoDatabaseDependencies ... or something similar. This would make it very easy to integrate with Team City, and automatically fail ...

How can I configure Hudson to send an email for EVERY build, not just those that change the project's status?

I've recently migrated my CI server from an old version of CruiseControl to Hudson. The only feature I miss from CruiseControl is the ability to receive email build notices of EVERY build, not just those that cause the status of the project to change. I'm ESPECIALLY interested in build notifications for all successful builds. Anyone o...

VS2005 Custom Build Rules: How to make Categories properly show?

Hello, I've created a .rules file which shows up correctly in the Property Pages for my project. The problem is that Categories used to sort the properties don't show up correctly. Only the categories for the property page defined first in the .rules file show up. In this image, the categories would be "General" and "Project Defaults" ...

Has anybody real world experience with buckminster?

I'm currently evaluating ivy, maven and buckminster to ease our build process. Conceptually buckminster seems the most advanced, but also to have quite a complexity. I can't find so many first hand experiences to buckminster on the web, therefore my question to the Stackoverflow community. ...

Automating builds from subversion tags

I'm trying to automate the build process for engineering group. As part of that automation, I'm trying to get to a point where the act of applying a specific tag that adheres to a pattern will kick off an automated process that will do the following: Check out source code Create a build script from a template Build the project I'm p...

In NAnt, can I create a fileset of the files listed in a VS project?

I'm rewriting our NAnt build scripts to make them cleaner and simpler, as well as more general purpose. One of the steps in our build process is to package certain files into a zip file. Before we had created a fileset with lots of included file types, trying to catch everything that might be in the project. This occasionally caused...

.NET projects build automation with NAnt/MSBuild + SVN

Hi everyone, for quite a while now, I've been trying to figure out how to setup an automated build process at our shop. I've read many posts and guides on this matter and none of them really fits my specifics needs. My SVN repository is laid out as follows \projects \projectA (a product) \tags \1.0.0.1 \...

Make QA Drops of Only Selected Builds In CruiseControl.Net

CC.Net is creating many builds for us each day. Occasionally we do a bit of manual smoke testing and then a build becomes a QA drop (or release candidate if you prefer). QA drops are just copied to a remove server. I'd like to automate the execution of the qa-drop-copy nant script, against an existing successful build. How can I do t...

Perl build, unit testing, code coverage: A complete working example

Most Stackoverflow answers that I have found in regards to the Perl build process and unit testing and code coverage simply point me to CPAN for the documentation there. There's absolutely nothing wrong with pointing to CPAN modules because that's where the full documentation is supposed to reside. I've had trouble finding complete wor...