build-process

VS.NET solution built differently on build server

I have a VS.NET solution with two Projects, ProjectWeb and ProjectLibrary. PW depends on PL, so I have a VS.NET project reference to PL in PW. That works all well and good on my dev box, but when it all gets to the build server, I have two different build projects, one for PL and one for PW. I'd like to build PL and copy the binaries s...

How to manage maintenance/bug-fix branches in Subversion when setup projects need to be built?

We have a suite of related products written in VB6, with some C# and VB.NET projects, and all the source is kept in a single Subversion repository. We haven't been using branches in Subversion (although we do tag releases now), and simply do all development in trunk, creating new releases when the trunk is stable enough. This causes no ...

Release Process Improvements

The process of creating a new build and releasing it to production is a critical step in the SDLC but it is often left as an afterthought and varies greatly from one company to the next. I'm hoping people will share improvements they have made to this process in their organisation so we can all takes steps to 'reduce the pain'. So the...

Setting up a web development/build environment

Hello all, My current project has a development web server and live web server. Developers make changes to files on the dev server and test them (by going to the dev address) and make changes as necessary. When the file or files are ready to go, they are copied to the live server. There is no version control. As you might expect, there...

Is it possible to determine by way of T-SQL Query whether a sproc is CLR-based or regular T-SQL-based?

Hey all. I'm integrating a CLR/Assembly-based sproc replacement for an existing sproc that lives within our production database, and I want to write an update script that only drops the old T-SQL-based script and doesn't drop the new one if its already there. Is that possible? ...

Not copying extras files from referenced dll when building web application

Hello, I have a problem on building application wich embedded some dlls and extra files. The build doesn't work as I expect so the publish doesn't work too. Here is the problem : if you download this Visual Studio solution : here , you will see it easily : I'am using VS2010 RC, there are 3 project on the solution : The First Library...

is it ill-advised to run CruiseControl.NET on the same box as the production server

for very low-volume bandwidth site in production with iis7/win08 - should i have concerns (re: overall system stability) about installing CruiseControl.NET as a build server implementation? ...

InstallShield: Setting a Custom Action's Property Value from a Release Property

I'm trying to automate InstallShield from my build process, and I need to set a type 51 Custom Action's Property Value from my Release's Product Configuration Flags property. What is the syntax (something in square brackets?) to do that? From here... ...to here: ...

Clean way of generating custom warnings in cross platform C code?

Possible Duplicate: user warnings on msvc AND gcc? I am trying to come up with a relatively clean way of using the preprocessor to generate a custom warning message in C code that works for multiple compilers (MS VC, gcc, AIX, sun, etc). I am mostly interested in warning about deprecated items, but also just for general use....

How do I run a universal app on the iPhone 3.1.3 simulator?

I'm working on a new app that I want to be universal for the iPhone and iPad. I started out with the "Create a Window-based app" wizard, and it created separate app delegates in "iPhone" and "iPad" groups. Since I already was quite familiar with iPhone dev, I did that part of my project, and now I'm ready to do some iPad stuff. So... I...

Difference between omake and nmake

Please tell me the difference between omake and nmake. We want to migrate from omake to nmake as we are rolling out clearcase. Please explain the process of migration from omake to nmake? Also please let me know if there are some complications. ...

Recommendations for keeping a build server updated

As a guy who frequently switches between QA, build and operations, I keep running into the issue of what to do about operating system updates on the build server. The dichotomy is the same on Windows, Linux, MacOS or any other o/s that can update itself via the internet: The QA team wants to keep the build server exactly as it is from...

Visual Studio 2010, targetting the 4.0 framework for debug and the 4.0 Client Profile for release.

I have been unable to edit and continue in a project that targets the 4.0 Client Profile however i can if i am targetting the full 4.0 Framework. I want to release against the client profile to limit the download required to install. Is there anyway i can build against the client profile but debug agains the full version? ...

Nant: instruct MySql to create db and run scripts

How do I instruct Nant to tell MySql to run ddl scripts from a particular location and then run other scripts as instructed? Google let me to many sites which unfortunately do not work... ...

VSDBCMD returns "An unexpected failure occurred: Object reference not set to an instance of an object."

I have been succesfully using the command line database deployment tool VSDBCMD on my dev and test environments but the tool fails in our integration environmrnt. I am using the VS 2010 version of the tool. The servers have all of the prerequisites including: .net 4.0 sql server compact edition 3.5 sp1 (as well as the full edition of 2...

Build Specific .cpps

Can someone please point out where in the Visual Studio 2008 configurations I can set which .cpp files are used for a given build. I'd like to use a different set(s) of .cpp files when I am doing a release vs.debug build. Thanks! ...

Any good tutorials/books on GNU Tool Chain & Gnu Build System?

Hello, I'm looking for good tutorials/books on Gnu Tool Chain and Gnu Build System. To be more specific, I am looking for information that starts with just the source code & gradually adds build files & uses Gnu Tool Chain step by step. In other words looking for an example which shows how to construct/build a project from the scratc...

Junit Ant Task, output stack trace

I have a number of tests failing in the following JUnit Task. <target name="test-main" depends="build.modules" description="Main Integration/Unit tests"> <junit fork="yes" description="Main Integration/Unit Tests" showoutput="true" printsummary="true" outputtoformatte...

Best build dir location to use in Xcode

I'm consolidating my Xcode/TextMate setup and is interested in where you put your build dir. Some years ago I started out having the build dir in the same dir as my xcodeproj file. However it became a mess when my project became a multi project with a applications and frameworks and tests, so I started using ../build as the build dir, ...

Can a rake task know about the other tasks in the invocation chain?

Rake (like make) is able to have many targets/tasks specified on invocation. Is it possible for a rake task to access the list of tasks the user invoked, in order to do its job? Scenario: Consider a Rake-based build tool. A help task would like to know what tasks were also specified in order to print their usage and halt the build proc...