build-process

TeamCity with Multiple Development Environments

For our enterprise application, we have tiered streams in AccuRev (developers promote to the Integration stream, which promotes to the Quality Assurance stream, which promotes to the Production stream). Each major component of the application has its own tiered set of streams (e.g.: there's a Windows Client Integration stream, a Windows ...

How to abort build if run script phase gives an error

Hello all, I would like to use a run scripts target to tag my revision in mercurial and upload it to a server. I created a new run scripts target that depends on the other target building my app. Not I added two run script phases directly one after another. Now my question: how can I prevent executing run script phase #2 if run script ...

Setting up a 1-step build for a Visual C++ Application

Any suggestions? Code and artwork/assets are all in SVN, and we don't want to port it to GCC or another compiler before anyone suggests it! Simplicity and minimising 3rd-party tools is preferred, since we don't have a build-server it'll probably still be run on a developer's PC but we don't want them just doing a build manually and packa...

Make a SVN working folder identical to repository version

I basically want to do an SVN export as part of a scripted build process, but without having to get the entire repo from scratch every time, which is slow and eats bandwidth... not to mention will make testing the script a pain in the backside if it does this everytime we tweak something or spot a typo in the scripts. Is there an obviou...

#include <map> statement consuming lot of time for building my project using VS 2008

One of my project is not building (after so many hours also) ... Its not proceeding further ... The psuedocode is like this: While building my project with Visual Studio 2008: #pragma message("This is going to Include map.h") #include <map> #pragma message("The Included operation of map.h over") For the above code snippet, the build ...

boost example failed to build

Hello, I'm a newbie about boost. I compiled boost libraries with success (under mac os x). Now, I tried to build the very first example mentioned at boost website (including boost/ as include directory and boost/stage/lib as library directory, with netbeans) and got the following error "/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAK...

Create 2 different versions of the same assembly

Hello, I am creating a .NET assembly. I want to have 2 different versions of this assembly. The only difference between the 2 versions is a guid string which is embedded in a .cs file. So for version 1 of the assembly, the guid will be ECABAFD2-7F19-11D2-978E-0000F8757E2A and for version 2 ECABAFD2-7F19-11D2-978E-0000F8757E2B How do I ...

Resulting Jar From Ant Builder Can't be Seen in Eclipse Workspace

I have a java project in Eclipse that is built through ANT. Normally, I see the resulting Jar appear in the workspace in Eclipse. Suddenly, for this project only, the jar just doesn't show up within Eclipse. I know the jar is being created because when I look at the workspace within Windows Explorer, I see the Jar. How can I get E...

What's an easy way to detect modified files in a GIT workspace?

During make, I create string fields which I embedded in the linked output. Very useful. Other than a complex sed/grep parsing of the git status command, how can I easily determine if files in the workspace have been modified according to git? ...

Preventing build breaks - using a pre-commit build

What methods are available for preventing sloppy developers from breaking builds. Are there any version control systems which have a system of preventing check-in of code which breaks the build. Thanks ...

build .net solution from batch file

Hi I have a solution file comprising of 15 projects using a few third party dll references. I want to be able to build the solution from a batch file. What is the best way to do this? Thanks ...

In Team foundation server what is build agent and controller ?

Hi all, I am unable to grasp the concept of build server in Team foundation. Can anybody explain ? Also what is the build agent and controller in the foundation server ? ...

Building C# solutions from command line with Visual Studio 2010

Hi, I want to automate the build process for my C# solutions. How can I build C# solutions from command line so that I don't have to care for dependencies manually? ...

CMake or Waf for D project

Hello! We are looking for adequate build tool for a desktop GUI application to be written in D (using Qt toolkit), consisting of several native libraries, using 3rd party C-lib(s). It has to build on Linux (native development) and Mac as well on Windows. We might adopt Code::Blocks as IDE. Waf already has support for D language, while ...

VS 2010 build actions without external executables.

Is it possible to include tasks in a build, in VS 2010, to e.g. update an assembly version number, without having to run an external application through a build event? That is, I would prefer if I could write an extension for VS 2010 that would listen for a 'build starting' event, and run a task, e.g. a macro or plugin that updates the...

TFS2010 Build failing -- Read permission required

I recently moved a project from TFS2008 to 2010, and I'm having trouble getting the 2010 build scripts to work. I managed to make the script run using the the upgrade template, but I'm running into the following error: TF204001: The item $/blah/blah/blah/TFSBuild.proj cannot be downloaded. Read permission is required to retrieve th...

How to configure Cruise Control with CVS

I am first time using Cruise Control for Automation of build. Please Guide me how can I configure Cruise Control with my CVS Server. I installed Cruise Control , does it require any extra plug-in. how can I write config file, Where i have to place it. ...

Issue with configuration files in a multi project solution & dev/test/prod environment

When promoting from dev to test my client requires that I copy the exact installer that was used in dev to test. I can not recompile the application for change control purposes. My solution contains a number of projects including a Windows service and a data access class library. The Windows service project references the data access ...

app.config changes are not recognized unless they are made from the Project Settings window in Visual Studio

I store my application settings in a project settings file. I notice that in addition to the Settings.settings file beneath the Properties folder in the Project, the settings are also stored in an app.config file. My application only recognizes changes to this file if I make changes via the Settings tab of the Project's Properties wind...

compile .swf from .as file that defines a sprite

Someone else wrote and gave me an ActionScript source file that defines a subclass of Sprite. I am told that I need to, from this, generate a .swf file whose behavior is entirely defined by that one sprite. In other words, when the "movie" starts, one instance of that Sprite subclass should be created and set running, and it should kee...