build-automation

Questions on setting up automated builds

Hi, When using an automated build system, it is usually a source control entry which executes tests (but I assume this can be configured to not be on every entry in a large team). How comes build applications have actions for source code checkins. Is there any need for this? So to summarise, is a build script executed by a source contro...

Maven learning curve & overhead for small/medium projects?

what would be (rough estimation, average, of course) the initial learning and setup curve and subsequent overhead for using Maven for C++/Eclipse/Linux project of small to medium size? We are 4 developers at the beginning of the way. We currently have ~20 native eclipse C++ (CDT) "projects", which we compile interactively. We would like...

VS.Net - automating "Execute Custom Tool"

My organization has a visual studio (2008) project that contains a slew of Crystal Reports. One thing we'd like to do is have the ability to automate the build of this assembly, especially when either 1) a new report is added to the project, or 2) whenever one of the existing reports is modified. Everything as far as updating th...

NANT Script does not always deploy dlls to GAC on dev machine

We have a NANT script that uses msbuild to compile our visual studio solutions and deploys the .dlls into the GAC. This works well on our integration/test servers as part of continuous integration, cruise control uses the NANT scripts and every time the dlls are put into the GAC without problem. On our local development machines, where...

Why does TeamCity miss a reference and fails compilation?

I'm completely new to TeamCity and I'm using a simple Visual Studio 2008 solution to learn it. My solution has 2 projects: ConsoleApplication1 and ClassLibrary1. ConsoleApplication1 has a reference to ClassLibrary1. The solution compiles with no problem in VS directly. However, when I try to compile the same solution in TeamCity, it ...

What algorithm does buildbot use to assign builders to slaves?

I have a buildbot with some builders and two slave machines. Some of the builders can run on one slave, and some of them can run on both machines. What algorithm will buildbot use to schedule the builds? Will it notice that some builders can run on just one slave and that it should assign those that can run on both slaves to the less d...

iPhone build configurations - Entitlements.plist

Is it possible to have two Entitlements.plist files so that the one which the debugger can attach is associated with the debug build configuration whilst the one without would be associated with the release configuration? ...

Reasons to fail a build

As a build engineer, I'm constantly looking for new and interesting ways to improve our build process - and that includes looking for new and interesting ways to fail our builds! I have yet to find a canonical list of reasons to fail a build ... so I figure it's time to get one created. With that in mind: What build-time checks - both ...

How to remove HTML comments from pages before deployment ?

Hi All, At the time of development we tend to put lot of comments in the HTML pages or may be comment out some stuff as per customization request of end user. When dealing with hundreds of pages how to ensure that all commented text is removed before final deployment. Cause packaging pages with comment for everyone else to see ,is I assu...

How to filter the xcodebuild command line output?

Running xcodebuild from the console will bring you very verbose output and I wasn't able to locate any options for limit its output in order to display only warnings and errors. I'm looking for a way to capture the xcodebuild output and filter it. It would prefer a Python solution that will work with pipes but I'm open to other approach...

run buildbot on Windows XP

I recently stumbled over buildbot and wanted to give it a try. My problem is that I have to run it under Windows because we don't use Linux on workstations or servers in my company. I've already tried different installations: python 2.6, Twisted-9.0.0-py2.6, buildbot 0.7.12 python 2.6, pywin32-214-py2.6, Twisted-9.0.0-py2.6, buildbot 0....

Comparison between CruiseControl, TeamCity and Team Foundation Server

Today we are using TFS 2008 for source control, and I imagine we will go for TFS 2010 as quick it goes RTM. We are going to use some continues integration tool but which one? I have been looking at both TeamCity and CruiseControl.NET both seems quite good (TeamCity were a little more easy to configure). I have seen some really promising...

Learning different build commands for building from source?

Hi, How do you learn all the commands for building programs like mysql and git from source? For example, this article: Installing MySQL on Mac OS X (Hivelogic) Is there a good book that teaches you command-line tools for building, makefiles, etc.? Thanks -Chris ...

Making a Java Web Application build in one step.

Hello Step two of "The Joel Test: 12 Steps to Better Code" states "Can you make a build in one step?". My answer to this is currently no. My application is structured as follows: + +-MyApp // this is just a vanilla Java Application +-MyWebApp // this Dynamic Java Web Application (deployed Tomcat and launches // a thread con...

Is there an .NET alternative for Java artifact repositories like Nexus or Artifactory? Where do you store versioned DLL's?

Where to store binaries needed for automatic builds on Team System? Are you storing them along with the code in the SCM or someplace else? Is having a big amount of binaries in SCM causing any performance issues with source controol? There is a need to be able to revert to earlier version of some external library in order to fix bugs in...

In Xcode, how to exclude a file with a set name from being put in the app bundle

When I start an Xcode project I drag in a blank readme.txt file that I use to take notes with while I'm figuring things out. The thing is, the file gets put in the app bundle at build time. Then I have to deselect it in the Detail view so that won't happen. Is there a way to automatically exclude a file with a known name from every bui...

How do I pass 2 parameters to Nant script?

Hello.. I have to write an Nant script that will accept 2 parameters on the command line. The first is just an option and has the following format: -myOption. The second one needs to be wrapped in quotes: "some value with space". e.g. -myOption "this value" I am new to Nant so I have unsuccessful so far and don't know how to output t...

What's wrong with my Nant Record task?

Hey everyone... I have the following in a build script: <record action="Start" autoflush="true" name="${nant.log}"/> The name value is valid. I get the following error message: Invalid element <record>.Unknown task or datatype. After looking at the documentation I am not sure why this is causing an error. Any ideas? ...

Easiest way to test for existence of cuda-capable GPU from cmake?

We have some nightly build machines that have the cuda libraries installed, but which do not have a cuda-capable GPU installed. These machines are capable of building cuda-enabled programs, but they are not capable of running these programs. In our automated nightly build process, our cmake scripts use the cmake command find_package(C...

How to build a project and it's dependencies using Ant and Ivy

Hello I have a WebApp with two dependencies as shown below. I would like to build a war file for deployment on Tomcat using Ant + Ivy. + +-MyWebApp // this Dynamic Java Web Application (deployed Tomcat and launches // a thread contained in MyApp) +-MyApp // this is just a vanilla Java Application +-MyCommonStuff // these ar...