build-process

Will I have any issues using a PPC Mac Mini as a build machine for a 10.5+ application while developing on Snow Leopard?

We develop using Xcode 3.2 on Snow Leopard. The application we're developing however targets 10.5+ (Leopard). I'm looking at setting up a continuous integration server (via CruiseControl). I have an old PPC Mac Mini around. I realize that it will only run 10.5 with Xcode 3.1.3. Am I likely to have any luck setting the Mini up as the i...

Measuring total solution build time in Visual Studio

Does any know if there is any native mechanism to report on the total solution build time in Visual Studio 2008? You can change the build verbosity to report build times per project as discussed here or report total build time from msbuild but I’d like to see this in the IDE across an entire solution containing many projects. Short of c...

SGEN throwing an AccessViolation error

I have a build process using the sgen.exe tool to build Xmlserializer assemblies to optimize their use in a WinForms application. This application was originally written on the .NET 2.0 framework and after updating our server to have the 3.5sp1 framework the calls to Sgen error out with an AccessViolation exception. See the call belo...

Is it possible to add Post Build Tasks/Steps to an ASP.NET (2.0) Website Project?

I've got this ASP.NET 2.0 project that I've been working on for a while now. Over time the project grew little by little and in the end I ended up with quite a few steps that I had to run at the end, every time I wanted to publish the project. So, I wrote a script that I can run which executes all the clean-up steps for me and which is...

Why are my Visual C++ 2008 x64 builds 5x slower than x86 builds?

I've been trying to improve the build times for my product. We're using continuous integration, and our builds are now taking 2 hours to run. I've looked at the NANT timings and see alot of places that are slower than they should be, but one that jumps out is the x64 builds of our Visual C++ projects. Here's an example of the timings ...

How are MS Visual C++ environments generally setup?

I come from a Java background, and the shop where I currently work refuses to use anything other than MS VC++ to build their legacy project. They don't appear to use any standards for setting up their build environment other than just building it using VS2005 and clicking the compile button. I was wondering if there was anything closer...

Structure of NAnt build scripts and solution structure on build server

We're in the process of streamlining/automating build, integration and unit testing as well as deployment. Our software is developed in Visual Studio where we have use both C# and VB.NET in our projects. A single project can be contained within multiple solutions (i.e. Utils project is used in both ProductA and ProductB solutions) For h...

Execute Maven plugin goal on parent module, but not on children

We have a multi-module maven project that uses a profile that defines a buildnumber-maven-plugin to increment a build number and then check it into source control. If I define the plugin in the parent pom.xml it executes for all the child builds as well. Here's my parent pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns...

LNK4086 warning and missing dll entrypoint in VS2008 asm build

I tried to compile the following .asm file in VS2008 (as part of an empty Win32 dll project to which I added this single .asm file): .386 .model flat, stdcall option casemap:none TRUE equ 1 .code start: DllEntry proc instance:DWORD, reason:DWORD, reserved:DWORD mov eax, TRUE ret DllEntry endp CPUIDI...

How can I debug (preferably in an IDE) an MSBuild script?

Hi, We use MSBuild quite extensively as part of our continuous integration process, and whilst it is incredibly powerful and we can do practically all of our build, test and deployment within it (utilising some custom tasks) - we've found that debugging it using tags is a pain and cannot always provide us with enough information. I've...

TFS MSBuild Strong name and code signing of assemblies.

I need to strong name and code sign my assemblies. I dont want to change anything in Visual Studio, all changes must be on the TFS Build server. Any know how I can do this? ...

Error when triggering a build through the TFS API 2010 Beta 2

Hi I am trying to trigger a build through the TFS API. First, I select the necessary changesets I want, then create a label for them, and then execute a selective build of these changesets. I get the following error message : TFB210503: An error occurred while initializing a build for build definition \Test\Label Changesets: TF14064: C...

The dreaded java.lang.NoClassDefFoundError

I've looked through many of the existing threads about this error, but still no luck. I'm not even trying to package a jar or use any third-party packaging tools. I'm simply running from within Eclipse (works great) and then trying to run the exact same app from the command line, in the same location it's built to (getting this error)....

Can 'make' check if mtime of a dependency is *different* between runs, not just if it's newer than target?

If foo_user.cpp depends on foo.h, then foo_user.cpp is built, and then foo.h's modification time is set to further in the past, make will not rebuild foo_user.cpp (because foo.cpp is 'newer'). I'd prefer it if make recorded the modification times of dependencies, and if they changed at all (newer or older), to consider targets of that de...

Defining your own VS C++ Build Macros

We came across a bunch of pre-defined Build Macros for instance $(SolutionDir), but can you define your own build macros in Visual C++ 2005? ...

CVS ChangeLog-script for windows-based build-process?

Hello, Do you know if there is a script or tool to create a changelog from our cvs, which can be integrated in a build-process on a windows-based build-server. I found this: http://www.red-bean.com/cvs2cl/, but it is not possible to install Perl on our build-server so i can't use cvs2cl. I've tried the simple command "cvs log", but ther...

Is there a minimal php5ts.dll?

I've completed my web app and am using mongoose to serve the php pages. The whole app & mongoose is less then 2MB. The php5ts.dll is almost 5MB so that really adds bloat. Also, my app is very minimal so I don't need many of the php features, ie. mysql & crypto. I've used UPX to compress it down to 1.7MB, however thats the same I was ge...

Team City Command Line Build Runner

In Team City, we are currently using a command line build runner. While it works just fine, we don't get any output shown in the Team City log. We essentially get a notification that the process started, and that the process exited with a particular exit code. Is there a way to pipe the output of the command line call to the log so t...

Build Process - What to use?

I'm considering writing my own delivery code using PowerShell and/or C#, maybe shelling to NAnt or MSBuild. Why should I not go this way? Is this such a really hard endeavor compared to using NAnt or MSBuild? Any good, modern book that can help? Any better ideas? Background (P.S. This is a religious issue for some. No insult inten...

Multiple websites running on same codebase?

Hi, We are developing an application that would be offered as a hosted solution. I am struck with understanding how can i use multiple sites with same code without duplicating base code. eg: website 1: www.example.com and website 2: www.sample.com will run on same code, but would have different configuration settings, and different them...