build-process

Tools to assess and instrument software quality (.net)

What tools/libraries do you run along with your build to assess and maintain quality? As part of my CI (Cruise Control) builds I run: Simian Nunit Ncover Ndepend FxCop as part of Nant I am looking for tools to instrument complexities, metrics, etc . ...

Can I send error from console application that is called by post-build event in Visual Studio?

Because I set post-build event in ASP.net Web Application project to run the following command line. start $(SolutionDir)[PathToMyApplicationInSameSolution] [some parameter] So I need to send some error from console application to Visual Studio for showing Build Error(Like Visual Studio Build Error) Thanks ...

How do I upgrade the version of a maven plugin?

I am using the maven-ear-plugin version 2.3.1 - I know there is a new version available: http://maven.apache.org/plugins/maven-ear-plugin/ I can't work out how to upgrade to the latest version?? ...

Is it possible to have post-debugging build steps/triggers in XCode?

I want to run some code coverage analysis (using CoverStory) on our iPhone app's unit tests in XCode automatically when the tests run. the problem is that we're using the Google Toolbox for Mac, and the way that the tests seem to run doesn't actually generate code coverage reports from gcov, so the analysis i get is out of date unless i...

set LD_LIBRARY_PATH from Makefile

How do I set the LD_LIBRARY_PATH env variable from a Makefile? I have some source code that links to a shared library that in turn links to a different shared library (more than 1). The Makefile for building the application only knows about the first shared library. If I want to build this, I have to specify: #export LD_LIBRARY_PATH=...

Add reference DLL issue in Visual Studio

Hello everyone, I am using VSTS 2008. I have two projects (both are written in C#) in one solution file. Project 1 depends on the output (DLL2) of project 2. So, in project 1, I am using "References --> Add Reference --> Browse", then find and select the DLL2 generated by project 2. My question is, I am not sure whether using such meth...

Can I build 2 or more dlls from C# project in Visual Studio 2008?

Because I'm working on Creating RIA Framework with Silverlight & C#. So I need to use rich features of Silverlight such as dynamic loading. But I found that Visual Studio will merge all class library(same namespace or difference namespace) into one dll. Do you have any idea to build 2 or more dlls from C# project? I just create 1 projec...

What's the event that Visual Studio 2008 does after post build event?

I just create a Solution that contains 3 projects. Order by build order Silverlight Application that is included in /ClientBin of ASP.NET Web Application project Windows Form Application that is used to optimize all xap in /ClientBin when Visual Studio pass build (post-build event). ASP.NET Web Application that display Silverlight app...

Is Python the right hammer for this nail? (build script)

Currently I'm using a Windows batch file to build my software. It does things like running MSBuild, copying files, creating a ZIP file, running some tests, including the subversion revision number, etc. But the problem is, batch files are evil. So I would like to change to something better. I was planning to recreate my build script in ...

Finding compiler vendor / version using qmake

Is there any way to get the version and vendor of the compiler used by the user through qmake? What I need is to disable building some targets of my project when g++ 3.x is used and enable them when g++ 4.x is used. Any ideas are welcome. Update: Most answers targeted the preprocessor. This is something that I want to avoid. I don't wan...

ld linker question: the --whole-archive option

The only real use of the --whole-archive linker option that I have seen is in creating shared libraries from static ones. Recently I came across Makefile(s) which always use this option when linking with in house static libraries. This of course causes the executables to unnecessarily pull in unreferenced object code. My reaction to this...

Maven and dependent modules

Colleagues have been touting the wonders of maven and its magical dependency stuff but I'm finding that it fails at what I would consider the obvious use. Suppose I have a root folder with a master POM. Then underneath I have some projects, call them A and B B requires A and so the POM in the B folder has the appropriate dependency en...

Evaluating property equality in Nant

In my Nant script I would like to compare a property value to a known string. After reading the Nant Expressions documentation I believed I would be able to do a basic '==' comparison to evaluate as a boolean. However given the script block: <if test="${target.env} == Dev"> <echo message="***** You are using DEV"/> </if> When exec...

iPhone Game Developers - What does your toolchain look like?

For example: source control: git + adobe drive 3d: google sketchup -> *.dae -> blender -> *.obj 2d: photoshop/illustrator -> *.png audio: audacity -> *.caf code: ArgoUML, Xcode, Textmate test: OCUnit build: rake, Xcode Feel free to mention any other tools that you think are awesome :) Changed to Community Wiki ...

How do you effect a build on an integration server?

Assuming you have two developers working on a project locally on their laptops (A and B). They each have working copies of the SVN repo, and they're coding away in VS. Each one has a fully-functioning copy of the app. They commit back to SVN at every stopping point. You have an integration/test server (C) which has another working co...

How to decrease MSBuild times.

my situation In the C# project I am now working on we have a fairly big solution (80+ projects). Now rebuild times of 5 minutes+ are really becoming a quite problem using MSBuild from VS 2008. In a analysis I did last week it turned out that my build time was spent as follows 1) Copying files to the projects and recopying it to the p...

How Ant can get a value read from a file into a property value?

The file looks like: a1,b1 a2,b2 ... I know the value "a2". How to get the value "b2" into a property value. I know how to select line which contains "a2" by: <linecontains> <contains value="a2"/> </linecontains> But I do not know how to set a property value to "b2". I am at your disposal for more other informations. ...

sharing build artifacts between jobs in hudson

Hi I'm trying to set up our build process in hudson. Job 1 will be a super fast (hopefully) continuous integration build job that will be built frequently. Job 2, will be responsible for running a comprehensive test suite, at a regular interval or triggered manually. Job 3 will be responsible for running analysis tools across the cod...

Restrict Who can change "Build Quality" in TFS

When a build is in the completed section of the Build Explorer in Visual Studio the Build Quality can be assigned. Is there a way to restrict who can set these? Ideally I would love a way to restrict some to specific users (ie Prod Ready to the Testers) and others to another group (ie Test Ready to Developers) Vaccano ...

How to set an ANT property only if it is unset

Hi, I can't figure out how to set an ANT property on the condition that it has not been set(i.e: it is not defined in the properties file and should automatically default). So far, I only have the following code: <condition property="core.bin" value="../bin"> <isset property="core.bin"/> </condition> But this only seems to work ...