build-automation

What are the minimum binaries needed to run Gallio with MbUnit tests.

We recently upgraded our application to .Net 4.0. We were using MbUnit 2.x. With the upgrade to .Net 4.0 the MbUnit tests don't seem to run. Rather than fighting with it I decided to upgrade to MbUnit v3 which ships with Gallio test runners. I would like to put the minimum required binaries/files into a Nant folder in the third party fo...

Why does Gallio seem to need to be in a folder named GallioBundle-3.1.397.0/bin to run.

I want to run MbUnit tests with Icarus and/or Echo without having to install Gallio. I have copied all of the files in the GallioBundle/bin into a folder named Third Party/MbUnit in our project folder. When I double click on Gallio.Icarus.exe it dosesn't load or do anything. When I run gallio.echo.exe from the command line I get the ...

Howto determine if an SVN working copy needs updating (from a script)?

I'd like to determine from a batch file on Windows if a local SVN working copy needs to be updated from the server. On a unix-like machine, I would run "svn status -u" and count the '*'s. How do I achieve the same thing in a batch file? Background: I'm trying to determine if a dependency library is out-of-date since it takes a long time...

Is there a way to copy a source code build of Qt to another location?

Hello, We're building a Windows and Mac app using a commercial licence of Qt, which we're building from a git clone. We've got a build setup using Hudson with potentially several build agents, and what I'd like to do for Windows at least is build once then deploy the build Qt to each agent (rather than have to build Qt on each agent)....

What pattern do you use for executing generic steps on a pool of machines

I'm trying to figure out how to model my build process in hudson. At present most of our hudson builds are somewhat hard coded in that the build process is series of steps and we have one process per branch. I have another build system that has many active branches and each build has a series of integration tests which require a suit o...

How do I build and deploy a Windows Service with TFS 2008?

I have a build server with many builds for web sites and web services. I'm doing some new code using WCF; my new code runs as a Windows Service. Ordinarily, when I make changes to a web site, I "check out" the files I need to edit from TFS, make the changes, "check in" the files, and then perform a build. At this point, my new code is...

How to execute a MSBuild copy operation only on the build machine?

I want to perform some copy actions on the build machine (but not on the developer machines) after a build is performed and before the integration tests run. How do I do that? Perhaps, I should split the question up into sub-questions and give some examples. Question 1: What do I need to do so that the MSBuild script detects that ...

How should I handle an automated build that conflicts with a check-in policy?

Some of our TFS users have some automated builds that are updating version numbers in a tree that is covered by a check-in policy. The workarounds so far are for the automated build to tag the check-in with a dummy workitem or to override the policy. Is there any better way to handle this? If it means hooking up a more advanced check-in ...

Specifying target platform with CruiseControl.NET

Hello I am in a proccess of setting up my very first automated build server ... Everything has went quite smoothly so far, CruiseControl.NET correctly checks out all the nececery files from VisualSVN and builds the solution ... However, this is where I encounter a problem... A big reason for setting up a build server in the first place...

Build and Analyze using xcodebuild

Is there a way to do a Build and Analyze like in Xcode using xcodebuild? I'm using Xcode 3.2.2 ...

Read Build Number and increment it using a Custom XML File in TFS 2008 using Team Build and msbuild tasks

Hi all, I am trying to accomplish nightly builds and in that i need to automatically increment build number. We have a custom xml file which is already being used by installer and update installer to properly update target system. Before this Nightly Builds, we used to update this file manually and versions of the assembly were manually...

How to read existing assembly version from AssemblInfo.cs files, increment and update the new version using Team Build via TFS 2008?

Hi all, I need to implement auto-increment for each nightly builds. For this, i need to read existing version, increment only the build number and save the incremented build number to assemblyinfo.cs files as well as some custom xml files having the following syntax. <?xml version="1.0" encoding="utf-8"?> <MyProduct> <Version>v.3.0...

TFS 2010 Custom Build Activity TF215097 error

I am working on developing a system that employs custom build activities using TFS 2010. Sometimes when I create a new XAML template in visual studio and run my build definition I get an error that says... TF215097: An error occurred while initializing a build for build definition ...... Cannot create unknown type '{clr-namespace:Aut...

Using subprocess to find out when a process ends

I wish to sequentially run some c scripts that fork their own processes (in a new command line window) and give the "Press any key to continue..." when they are completed. Technically, it is a special compiler. It pops up with acommand line window and tells me whether the compile was successful or not. But that command line window for...

how to send key events to a headless emulator in an instrumentation test?

We are currently working on an instrumentation test suite which runs on our build server, but while the tests pass on a dev machine using a normal Android emulator, the builds fail on the build server since there we only run a headless emulator with the -no-window flag. The failure occurs when trying to invoke the InstrumentationTestCas...

How to configure lazy or incremental build in general with Ant?

Java compiler provides incremental build, so javac ant task as well. But most other processes don't. Considering build processes, they transform some set of files (source) into another set of files (target). I can distinct two cases here: Transformator cannot take a subset of source files, only the whole set. Here we can only make la...

Is NAntContrib dead?

Is NAntContrib dead, or maybe it's just "resting" like NAnt was used to few months ago? Any one know something about it? And by "dead" I've ment that there were no updates since 5-6 years, and I'm wonder if it's/will be updated someday - like nant was few months ago. ...

ClickOnce & TFS Automated Build and Deployments

I have an application that we use internally that is deployed through ClickOnce. We have 5 locations that I deploy the Install to manually by changing the Location Settings and running the Publish 5 times. We have TFS 2010 but I am unfamiliar with using it for anything besides Source Control. I would like to explore the possibility ...

How to integrate NSIS with a build system and supporting versioning

I have a nsis script to create an installer package of a tool in .NET, and works fine. The problem is that I want to integrate it in my build system (currently using NANT, but migrating to rake using ironruby) The version for the product is stored in a txt file which is read to generate the assemblyinfo, currently the build system au...

cpp: "-c" is not a valid option to the preprocessor

I'm trying to build a package on a RedHat system. First, I ran ./configure CXX=cpp, because /usr/bin/cpp is the C++ compiler on that system. But when I run make, it dumps: cpp: "-c" is not a valid option to the preprocessor When I do a Google search, I found a number of complaints, but no solutions. Anyone else encounter this? ...