build-process

What is your experience with non-recursive make?

A few years ago, I read the Recursive Make Considered Harmful paper and implemented the idea in my own build process. Recently, I read another article with ideas about how to implement non-recursive make. So I have a few data points that non-recursive make works for at least a few projects. But I'm curious about the experiences of oth...

Automating build process for a web application created in Eclipse

I have an eclipse Tomcat project that has several dependencies on other eclipse projects. For example imagine the main project is called server and has several dependencies: server (depends on): data-lib server-utils messaging-utils Currently every time I change data-lib,server-utils,messaging-utils I have to recreate the .jar f...

Successful Visual Studio C# build does not create assembly

Hi there, I am using Visual Studio 2005, .NET 2.0 I am not really sure yet under what circumstances it happens, but here is the scenario: I have a solution with a project structure like this: A library project Foo, a library project Bar which references Foo, and a library project Quux which references Foo and Bar. Compiling fails with...

Silverlight resource dll build prevention.

When you build a silverlight application, it always outputs a whole bunch of localization resource dlls into \bin\de\ \bin\es\ \bin\fr\ etc (which can end up packaged in the .xap). This is wonderful but I'm not using these, they aren't required for the app to operate and they are cluttering up the root of our TFS build server. I real...

Package and run a Java application with spring dependencies

I built a stand-alone Java application that has a bunch of dependencies (Apache Commons libs, etc) as well as a dependency on the Spring framework, which in turn has a bunch of dependencies. I built this in Eclipse, where it runs fine. Now I need to deploy it to production and so I'm trying to figure out the best way to package it with ...

packaging vs2005 project

Hello, Here are the steps I take to create a package shipped to the end users: Use visual studio 2005 Build the project (which is library DLL written in C#), both in debug and release mode. I run doxygen and create documentation I create a folder structure where I put my dll documentation and some release notes zip it ship it the ...

Any way to keep myself from accidentally building in the wrong Visual Studio configuration?

In Visual Studio, I have custom MSBuild actions for various tiers - development, staging, testing, and so on. These scripts will automatically compile everything, do web.config swapping, and push code out to a location based on the chosen configuration. Usually when I want to run one of these builds on something other than development, I...

Looking for a "build storage filesystem" that can merge duplicate and similar files for increased storage space

Our shop is constantly running out of disk space, because we have a mandate from the developers and management to keep all of the nightly builds, as it greatly aids debugging. Each build generally has few changes. However, almost every file is different from one build to the next, because the compiler and linker insert date/time stamps...

How can I create an executable jar with dependencies using Maven?

I have written a little utility to run from the commandline. I want to package it in a single executable jar for distribution. How can I make maven package all dependend jars into my jar? ...

Using Powershell to achive post build in VS based on assembly platform

I am trying to use Powershell to achive post build in Visual studio. I want to copy the appropriate dlls to the appropriate directories after the build based on the platform to which the assembly is targetted (i.e. x86 or x64). Does anyone know how to achieve this? ...

Maven: how to do parallel builds?

When you build with maven on a multicore / multi-CPU machine it would often be possible to build different subprojects in parallel. Is there a way to do this with maven? Is there a plugin for this / whatever? Update: If you care about this you might want to vote for the corresponding maven JIRA entry to get fixed. You need to log in int...

C# Code Generation

I am looking at creating a small class generator for a project. I have been reading about CodeDOM so it the semantics of creating the classes does not appear to be an issue, but am unsure oh how to best integrate the generation into the development and deployment process. How should I trigger the creation of the classes? I have read...

Visual Studio Builds per day

Is there any way to log the number of builds done during a development day in Visual Studio, or anywhere we can hook into something to get at the metadata? I'm curious how many times on average I build/day * how long it takes per build... Any thoughts? UPDATE: sorry for the lack of details...and this exercise is purely academic With...

Best practices for copying files with Maven

I have config files and various documents that I want to copy from the dev environment to the (dev) server directory in Maven2. Strangely, Maven does not seem strong at this task. Options: Simple use a copy task in Maven <copy file="src/main/resources/config.properties" tofile="${project.server.config}/config.properties"/> Use the ...

Command-line to "deploy" ASP.NET MVC project

I am using Visual Studio Team Suites to develop a ASP.NET MVC project. I can deploy the web app to my dev machine using the "deploy" item from IS. Is there a command-line tool to do this task? What I am trying to do is to setup a continuous integration server (using TeamCity Pro), so that whenever I checkin new code, I will get a new bui...

Include MVC views and master pages as DLL resources instead of separate files

Does there exist a method when publishing an ASP.NET MVC application to completely remove the .aspx view files (and if possible .master too) by compiling them into the application DLL as resources? The published application would just be the /bin folder, Global.asax and web.config, a default.aspx if needed, and whatever is in the /Conte...

Good techniques to use Makefiles in VisualStudio?

I know the ideal way to build projects is without requiring IDE based project files, since it theoretically causes all sort of trouble with automation and what not. But I've yet to work on a project that compiles on Windows that doesn't depend on the VisualStudio project (Ok, obviously some Open Source stuff gets done with Cygwin, but I'...

VS2005: How to automatically generate a build number with date?

I have a .net 2.0 C# application in Visual Studio 2005 for which I'd like to automatically generate the correct version build number which should contain a number that allows me to guess the build date of the application. I tried to use the 'AssemblyInfo Task' tool from Microsoft but by default this tool doesn't work. For today it would ...

What Development and Build Lifecycle Tools Do You Use?

I'm working on transitioning my current project of about 20 developers to a modern development and build environment. We currently use an RCS based source control system and an associated issue tracking system, both with Motif UIs. There is no formal production build process, its just whatever works. I'm interested in: Development T...

Multi-language build tools

I have a build process for a large enterprise system comprising several dozen separate EXEs and DLLs. These use multiple languages, C, C++, Fortran, Python, Awk and a couple more. The build scripts are 4DOS batch processes which evolved over 4 decades. They are large and unwieldy and need constant care and feeding. I must keep the Visua...