build-process

tfs2010 local build

I am currently playing with tfs2010 and realized that the build scripts are in fact workflows. Does anybody know how to run a local build? In 2008 it was simple but 2010 seems tricky not to mention the complexity introduced by the workflow. ...

Only increase build number for formal release?

what's your strategy to increase build number? ...

Setting AssemblyFileVersion with MSBuild-call?

Hello, We have a batch-based buildprocess and we are using MSBuild only for compiling our project-files from visual studio. We also have integrated wix into our build-process. To set the version of our software we specify in the main-build-script some environment variables, that we use during the build-process. My problem is, that i hav...

Track process-ids of sub-/child-processes?

Hi, I need to execute and terminate/abort different shell scripts from inside Java (>= 1.5; ProcessBuilder). With the standard java mechanisms I am only able to kill the main process used for the shell script execution. When this shell script starts other processes (for instance ./foo.sh &; ./bar.sh &) then there processes are still run...

Can I create an ASP.NET MVC 2 project with multiple areas without referencing each Child in the parent area?

This is a follow-up question to my original query: http://stackoverflow.com/questions/1791605/how-can-i-use-multiple-projects-to-separate-a-large-asp-net-mvc-site-into-departm Now that I have this working, is there a way to still have multiple project but not have to reference each child area from the parent project? Ideally I'd like ...

How to read string from file using Groovy in QuickBuild

Please, some help to newbie in QuickBuild. I have a lot of versions stored in text files. To start build process I need to retrieve it and run some scripts in shell. My answer is, how to read from the file using QuickBuild environment? I know that it supports Groovy, MVEL and OGNL languages but I'm not familiar with no one of them. Tha...

Boost 1.41 LNK1104 error

I have been using Boost 1.36 for a while without any problems. Had to upgrade to 1.41 to get PropertyTree. Boost appears to build properly but when i try and compile the project that was using boost 1.36 I get this error. 1>LINK : fatal error LNK1104: cannot open file 'C:\dev\3rdparty\boost-build_1_41_0\boost\bin.v2\libs\filesystem\bui...

How to define compiler flags at compile time using CMake?

add_definitions adds definition that is fixed at time when cmake (not make) is executed. How to define them when make (not cmake) is executed? The value of the definition will be an output of a custom command. ...

makefile with directory tree creation suitable for parallel (-j ) build

My project needs temporary directories which are created during the build using mkdir -p similarly to this: all: dirtree $(OBJFILES) dirtree: @mkdir -p $(BUILD)/temp_directory But this approach cannot be used with the -j switch, because first of the OBJFILES get compiled before the mkdir target is made. Is there a standard way t...

How to make distributed builds using XCode 3.2 on OS X 10.6

After I upgraded using a clean install from OS X 10.5 to 10.6.2 and upgraded the XCode to 3.2.1 I wasn't able to use distributed builds feature anymore. There are several issues that I detected: In most cases Bonjour is not detecting the other computers even they are on the same switch. I added a custom 'set' where I added manually th...

Infrastructure required for TDD?

Hi all, I am 'relatively new' to unit-testing and TDD. Only more recently have I completed my first production application that has (at least in theory) 100% code coverage. I have done unit-testing in previous projects as well for some time, but not in true TDD fashion and with good code coverage. It had always been an after-thought. I ...

Deployment: Build on production machine or not?

I have an automated deployment process for a Java app where currently I'm building the app on a build machine, checking the build into scm, and having the production machine pull the build artifact (which is a zip) and through ant move the class and config files to where they're supposed to be. I've seen other strategies where the prod...

Compiling on Linux and Mac OSX: Working with Xcode build and make?

I'm writing a plain C project. I'm using a Mac and I like working with Xcode and I want to use the Xcode project and build environment. I'd like to be able to build it on other platforms though. Not being overly familiar with Linux (yet) I assume this would involve a makefile. My project has no dependencies and it's about as vanilla as i...

buildbot: run svn with --trust-server-cert

I am trying to install buildbot for my project. I always run my svn commands with trust-server-cert option. How can I pass that to SVN thru buildbot? I don't see there is a way for doing that. What is the shortest workaround? ...

How does C# compilation get around needing header files?

I've spent my professional life as a C# developer. As a student I occasionally used C but did not deeply study it's compilation model. Recently I jumped on the bandwagon and have begun studying Objective-C. My first steps have only made me aware of holes in my pre-existing knowledge. From my research, C/C++/ObjC compilation requires all...

Maintaining same piece of code in multiple files

I have an unusual environment in a project where I have many files that are each independent standalone scripts. All of the code required by the script must be in the one file and I can't reference outside files with includes etc. There is a common function in all of these files that does authorization that is the last function in each ...

How to enable verbose output using the ant task and inheritall="false"

When starting a build in verbose mode (ant -v) the verbose mode is not propagated to the "subants". The ant task looks like this: <ant antfile="${buildproject}" inheritall="false" target="${target}" output="${output.file}"> <property name="repo.global" value="/repo"/> <property name="proj.property.prefix" value="${property_pref...

Tools to diagnose slow compile/build reasons

In a number of situations as a programmer, I've found that my compile times are slower than I would like, and I want to understand the reason and fix them. Particular language (yes, I'm using C/C++) tricks have already been discussed, and we apply many of them. I've also seen this question and realize it's related. What I'm more interes...

What is currently the best build system.

A few years ago I looked into using some build system that isnt Make, and tools like CMake and SCons seemed pretty primitive. I'd like to find out if the situation has improved. So, under the following criteria, what is currently the best build tool: platform agnostic: should work on windows, linux, mac language agnostic: should have b...

How can a build system support code generation but force declaration of all external dependencies?

I'm currently working on a build tool where its come up that it would be desirable to support code generation. Currently the tool simply compiles any out of date C and C++ source files it finds in the current folder when it's invoked. There's some support for custom build targets, which could create files, but the tool will ignore them b...