build-process

Software Release automation

Hi, I am updating the code on a daily basis and commit all changes in each case so there is the new code available on server all the time. What I would like to simplify is build automation and version control. Currently I build a project and edit it's name version (Project Name vx.x.x) each time the the boss needs it which is not time...

Build Numbers synchronicity when delivering on multiple OS platforms.

My organization builds a C++ application that runs on multiple operating systems. Should the build number, visible to customer, be the same for a given state of the source code tree on all the platforms? ...

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 ...

HintPath on a added reference in Visual Studio

I know that I can add a HintPath to an external DLLs to help Visual Studio/TFS find the dll when it builds. What I was wondering is... is it possible to add multiple HintPath? For example... developers have their DLLs for one place and we do a GetLatest of those DLLs at a different place on the server hence the need for multiple HintPa...

Complex ASP.NET web applications and nant

Working on an intranet where we have about 20 different web apps - some .net, some classic asp. Currently each .net app is its own solution. There are advantages to this - we can build & deploy just one app, without affecting other apps, and all the apps share a session - but we can't use master pages, and there are real challenges us...

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...

MSBuild 2008 stops on first error while building a solution

We recently upgraded from MSBuild 2005 to 2008. Since then MSBuild stops on the first error when building a solution. This wasn't the case in 2005. Is there a way to get the old behavior? EDIT: We call MSBuild form the command line: MSBuild.exe xyz.sln /p:Platform=Win32 /p:Configuration=Debug ...

Help with one step build all projects + installer (.NET + WiX)

I have prebuild events on the installer to rebuild the projects with the appropriate configuration etc. If I right-click build/rebuild on the WiX (3.0) project in visual studio it all builds fine, but if I try to run MSBuild on the wixproj file the pre-build events will throw errors. I can instead call Candle and Light on the wixpr...

.NET automated build with cruisecontrol.net + nant - multiple assembly structure / best practice

Hi, I'm doing some work with several shared .NET assemblies and a generic web application that I would like to handle better in our CC.NET/NAnt build environment. Currently, we have several .NET assemblies (shared common code that we use in client projects) that exist in different .NET solutions within different repositories in our SCM...

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...

Whats the best build system for building a database?

This is a problem that I come to on occasion and have yet to work out an answer that I'm happy with. I'm looking for a build system that works well for building a database - that is running all of the SQL files in the correct database instance as the correct user and in the correct order, and handling dependencies and the like properly. ...

Where is the 'New Team Build Type' option in the build menu?

I'm following instructions on how to create a new build type in TFS, and it says to: In team explorer, select the project you want to create a new build type on the build menu, select new team build type My build menu doesn't have that option, it has: Queue new build New build definition Manage build agents, and Manage build quali...

How can I profile file I/O?

Our build is annoyingly slow. It's a Java system built with Ant, and I'm running mine on Windows XP. Depending on the hardware, it can take between 5 to 15 minutes to complete. Watching overall performance metrics on the machine, as well as correlating hardware differences with build times, indicates that the process is I/O bound. It a...

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...

Using Post-Build Event To Execute Unit Tests With MS Test in .NET 2.0+

I'm trying to setup a post-build event in .NET 3.5 that will run a suite of unit tests w/ MS test. I found this post that shows how to call a bat file using MbUnit but I'm wanting to see if anyone has done this type of thing w/ MS Test? If so, I would be interested in a sample of what the bat file would look like ...

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. ...

What do you use for a complex build process?

I am trying to revamp our build process, which is currently a gigantic Ant build.xml that calls into other ant build files and executes several Java classes to perform more complex logic that would be impossible/scary to attemp in Ant. Background: experience in Java and Ant, some Groovy Windows platforms Goals: run as a combinatio...

Are there any libraries/frameworks for SCons?

Each project using SCons seems to be reinventing the wheel. I would be glad to take someones directory layout, and/or solution for variant builds(debug/release), and/or testing framework, and/or best practices. Even several not-too-simple examples would help. ...