build-process

When & How to use ILMerge with Visual Studio Project / Solution

I'm developing a medium sized enterprise application. There are many projects / solutions to this. For example: Company.Data Company.Data.LinqToSql Company.Entities (business objects) Company.BLL I then have some applications - for example a windows service: MyWindowsService. When i deploy this (by creating a setup project) it in...

Deploying projects with multiple dependancies (Visual Studio)

I have a solution - for example, called MyCompany. MyCompany has many projects, for example: MyCompany.Common (common class library - doesn't contain references to other MyCompany assemblies) MyComapny.Entites (Business objects) MyCompany.Data(Data layer) MyCompany.Logic(BLL layer) MyCompany.Web (web ui) MyCompany.SuperWindowsService ...

Categorizing MsTest Cases

I'm looking for the easiest way to categorize my tests so I can run them separately. My organization would be something like the following Units Tests Integrations Tests Systems Test The reasoning for this is all our testing hasn't evolved to be completely automated yet. Most of our unit tests are completely automated, while integ...

Maven - Include Different Files at Build Time

I have ten WAR files, all of which have nearly identical code and markup. The only differences lie in the images, CSS and Messages. I hit on the concept of Profiles but I haven't quite groked it yet and I'm not sure if this can handle what I need it to do. Basically, I want a base project with different profiles for the 10 different WAR...

Write a compiler for a language that looks ahead and multiple files?

In my language I can use a class variable in my method when the definition appears below the method. It can also call methods below my method and etc. There are no 'headers'. Take this C# example. class A { public void callMethods() { print(); B b; b.notYetSeen(); public void print() { Console.Write("v = {0}", v); } int v=9;...

Sort Visual Studio build log in "Build Order" style

There is a "Show output from" dropdown list in Visual Studio 2008 "Output" window, which allows viewing build events ordered by thread (Build Order). This is very useful when building big solutions on multi-core machines, as the log entries from those come unsynchronized. Our organization has the automated build process, where solution(...

When is it time to move from an in-IDE build system to a script-based build?

When should a developer move from using the default build capability of their IDE to writing and using custom build scripts? I realize this is subjective and I am interested in hearing all opinions; hence the community wiki. ...

Building Java Programs

So I have a directory of with a bunch of sub-directories that contain .java and .form files. How do I build this program? I'm sure that the program is build-able too, so I must be doing something wrong. I'm used to writing C/C++ programs where I can just pass -I/path to gcc. By the way, I'm using netbeans on an Ubuntu system. Her...

Exclude Code from Builds Temporarily

I have a developer that has asked me if there is a way to exclude certain code from deployment. We run debug and release builds directly from most recent code in source control. She'll check in code and not want it to be included in the build for various reasons. (The root of this is probably a sort of, design on the fly mentality, but ...

Display System DateTime In Output Window During Visual Studio 2008 Build

Does anyone know how to set Visual Studio 2008 to output the current date/time at the end of a build? I've set it to output verbose but that just shows the date/time at build start plus elapsed time. ...

Registering x64 Assemblies for COM Interop

Scenario: I have a project containgin two C# projects, which for historical reasons must communicate with each other using COM (via COM Interop). The COM Server is an in-process automation object (call this the "Server") and the COM Client is a simple C# Console application that loads the server like this: var objTypee = Type....

Dependencies between overnight builds and releases - testing issue

Hi Guys this is a release-build process question which I would need to solve for our SW Team. We are developing embedded system applications that are based on several common libraries. We also introduced overnight builds and automatic SW testings in oder to be able to track down errors as soon as possible. The applications and librarie...

In Visual Studio, what does the "Clean" command do?

You know, the one that outputs this=> ------ Clean started: Project: Foo.Bar, Configuration: Debug Any CPU ------ ========== Clean: 1 succeeded, 0 failed, 0 skipped ========== What it is cleaning? ...

How do I copy all referenced jars of an eclipse project using ant4eclipse?

I've tried like this (link): <taskdef resource="net/sf/antcontrib/antlib.xml" /> <taskdef resource="net/sf/ant4eclipse/antlib.xml" /> <target name="copy_jars"> <getEclipseClasspath workspace="${basedir}/.." projectname="MyProject" property="classpath" relative="fa...

Crystal reports really slows down asp.net website build, any way to exclude them?

Was helping a friend who has some 100+ "Crystal Reports 2008" reports as part of a "asp.net website project". I do not know how/why, but when this "asp.net website" project is building, it spends about 15 minutes "building" the reports directory where all the Crystal Reports reside. Can Crystal Reports files .rpt's even be build/compi...

Automate pimpl'ing of C++ classes -- is there an easy way?

Pimpl's are a source of boilerplate in a lot of C++ code. They seem like the kind of thing that a combination of macros, templates, and maybe a little external tool help could solve, but I'm not sure what the easiest way would be. I've seen templates that help do some of the lifting but not much -- you still end up needing to write forwa...

Getting around redundant dependency limitation in Ant?

The limitation I'm referring to is documented here. Essentially, in my build script if I want to do a clean, build and then another clean I'm hitting an issue because Ant considers the clean task already complete. Here is my ant; <!-- ============================================================= --> <!-- Clean up directories ...

Why does configure.sh think win32 is Unix?

I'm trying to build an application from source in windows that requires some Unix tools. I think it's the apparently standard ./configure; make; make install (there's no INSTALL file). First I tried MinGW but got confused that there was no bash, autoconf, m4, or automake exes in \bin. I'm sure I missed something obvious but I installed C...

"Please wait while Windows configures Microsoft Visual Studio 2008"

I get the message "Please wait while Windows configures Microsoft Visual Studio 2008..." whenever I build the install project for my application. It configures VS for a while, then builds the project. This does not happen when I build the vb.net application itself, only the installation project in the same solution. This occurs on applic...

How to keep track of the SCM revision in the build versions automatically?

I want to look at a production binary and know which revision in the SCM corresponds to that build. How it is possible? Can I accomplish that in Visual Studio using VSS? ...