build-automation

How and why do I set up a C# build machine?

Hi all, I'm working with a small (4 person) development team on a C# project. I've proposed setting up a build machine which will do nightly builds and tests of the project, because I understand that this is a Good Thing. Trouble is, we don't have a whole lot of budget here, so I have to justify the expense to the powers that be. So ...

Python build/release system

I started using Pyant recenently to do various build/release tasks but have recently discovered that development for this project has ended. I did some research and can't seem to find any other Python build scripts that are comparable. Just wondering if anyone can recommend one? I basically need it to do what ANT does - do SVN updates, ...

How to automate build, deploy and test java web application?

For now I have a web java project which builds automatically and deployed to the JBoss by just copying ear archive to server dir (all using Ant). What I need is a mechanism how to no only automatically deploy application, but also to verify if application deployed successfully and run HttpUnit tests on it. The problem is how to autom...

How to Increment Visual Studio build number using C++?

I have a Visual Studio 2008 project that produces a file called: "Game-Release.exe". This was configured under Project Properties -> C/C++ -> Linker -> General: $(OutDir)\$(ProjectName)-Release.exe I would like to take this a bit further by have an incrementing build number so I would have something which says: Game-Release-Build-10...

Pass a command line argument to Ant in Hudson

I'm trying to pass a -lib argument to ant as part of an automated build using Hudson but can't see a way to do this. I could add the relevant libraries to the ant/lib folder but that would then mean the same version of the library necessarily being shared by all builds on that machine. Any help much appreciated. ...

Automated Build scripts

How can I increment version in project files for delphi projects.I am using Delphi 10 for win32 application development. I consists of bdsproj, dpr & res files for a project. ...

source control building a branch

I am currently evaluating different source control solutions for work, and have a few questions about branching. I have the basic understanding of how to branch, but i am unsure of how our build machine (CruiseControl.net) can get a branch to build it. We have many projects, which are all relied appon by other projects (there are othe...

Repository folder structure and automated building from that structure

We are upgrading our source control (most likely to Vault) at work and are moving to the branch methodology, and are having some problems with working out the folder structure to use. We intend to use the Trunk as the development line, and a branch will be a release and bug fixes to that release. We have come up with two folder structu...

Changing the location of the TFS Build

I have a TFS Build Server where the CI and Release builds occur. The build process runs under some domain account and all the build activity happens under this user's temp directory. Unfortunately, the \Users directory is on the C: drive which turns out to have not much space. Although the build retention policy is quite strict, there ar...

Can you configure TeamCity "Artifacts" to be checked back into source control?

I would like to have TeamCity Artifacts be checked back into source control. I have used TFS Integrator before. So I am used to its approach where, through config, it can check in the output builds back into source control. Then when people do a get they will receive these artifacts. Or is there a completely different way of achieving ...

Setting debug=false in web.config as part of build

Is it possible to instruct the aspnet_compiler to set debug=false in the web.config? My intention is to automate this as part of the nant build process. I am open to suggestions other than xml parsing ...

Maven2 & Swing projects: Build & run swing application

I tried to find info on how to use maven to build and run a swing application but couldn't find anything useful (maven documentation is a mess). Can someone point me to relevant documentation? Is anyone using maven in swing development ? ...

ANT Incremental build numbers (zip)

Hi, I'm doing a project at uni and would like to create zip files which name (just a build number) increments after each successful build. What's the easiest way to do this? Is it a case of having to write a custom task or is there some built in functionality that will allow me to do this, simply and easily? I did have a look at the Z...

How to use Ant?

I've been trying to understand what Ant is used for but i still don't get it. Can someone give me one use case for which Ant is used for, something I can try to see why Ant is useful and what kind of things I can use it for? I do Java development in Eclipse and I'm just getting started with servlets and Google Web Toolkit. ...

Running automated tests on TFS 2008

We have setup TFS to automatically build when we checkin, that works fine. Our problem is how do we get the unit tests to run on the server. How do we run tests on the build server? How do we automatically run SQL Scripts on the server to build the test database? Do we need to install Visual Studio on the Build Server? Do we need Visu...

Why is there no need for Maven in .NET?

I have the impression, that in the .NET-world, there is no real need for a Maven-like tool. I am aware that there is Byldan and NMaven (is it still alive?), but I have not yet seen a real-world project that uses them. Also in most .NET projects I have worked on, there never was voiced an need for a Maven-like tool. The problems Maven m...

Can the "Application Error" dialog box be disabled?

I am using Hudson as a continuous integration server to test C/C++ code. Unfortunatly, I have a bug somewhere that causes memory corruption, so on some Windows machines I will sometimes get a "Application Error" dialog box explaining that an instruction referenced memory that could not be read. This dialog box pops up and basically han...

Continous Integration: Unmanaged C++ on Visual Studio 2008

I've spent 4 years developing C++ using Visual Studio 2008 for a commercial company; it's now time for me to upgrade my development process. Here's the problem: I dont have a 1 button build automation. I also dont have a CI server that automatically builds when a commit happens, and emails me whether a build is broken or not. Worse we d...

Maven vs. Ant

If there is Maven does it at all make sense to learn and use Ant? ...

How can I manage multiple configurations of a single Haskell program?

What is an alternative to autotools in Haskell world? I want to be able to choose between different configurations of the same source code. For example, there are at least two implementations of MD5 in Haskell: Data.Digest.OpenSSL.MD5 and Data.Digest.Pure.MD5. I'd like to write code in such a way that it can figure out which library is ...