build-process

Nant failing with bad permissions on build server

Total newbie question. I am trying to run a Nant script on a build server (very basic script, not doing anything), and it's failing with the error System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934...

NetBeans Build Files Are Never Correct

My current team has standardized on NetBeans for all of our Java development, and we use the NetBeans-generated ANT files as our official build process. But the files are always wrong. Various members of the team are using different versions of NetBeans, and evidently, they all generate slightly different "build-impl.xml" files. So, up...

How to exclude a folder that is producing warnings/errors in an Eclipse project?

Okay. I'm sick of this problem. This has to have an easy fix, I'm sure of it!! I hope SO can help me to get rid of this once and for all! Question How do we get Eclipse to stop trying to process/compile all files under a particular project directory? The goal is for no errors/warnings to exist in the problems view if t...

Team Build, SGen & Mixed mode assembly

Bit of a strange one here guys. We have a fairly complex (111 projects spread across asp.net, silverlight, WFC, Ria Services etc) solution, which builds correctly on my dev box (2010). If I fire up VS on our build machine, I can also build the solution correctly. However, when I queue a build, it almost makes it through, until it attem...

Linking phase in distcc

Is there any particular reason that the linking phase when building a project with distcc is done locally rather than sent off to other computers to be done like compiling is? Reading the distcc whitepages didn't give a clear answer but I'm guessing that the time spent linking object files is not very significant compared to compilation....

ANT build basedir not evaluated on version 1.8.1

I have a prefectly working build.xml file on ant 1.8.0 When I've tried to upgrade ant to 1.8.1 ant it stopped working. I get an error where I use the ${basedir} variable because these variable is not evaluated. This is the output Project base dir set to: D:\project Then I use this variable to set other variables like build.dir=$...

Overriding a default option(...) value in CMake from a parent CMakeLists.txt

I am trying to include several third-party libraries in my source tree with minimal changes to their build system for ease of upgrading. They all use CMake, as do I, so in my own CMakeLists.txt I can use add_subdirectory(extern/foo) for libfoo. But the foo CMakeLists.txt compiles a test harness, builds documentation, a shared library wh...

Force regeneration of Settings.settings file after change in app.config

Hi I have an automated build process that sets up the application for a specified mode (e.g. Dev, uat, live). Depending on this mode I want to update Connection Strings to the relevant one. However, in my Data Access Layer there is an app.config file which stores the connection string and this is used to feed the Settings.Settings file...

svn deployment strategies for multiple groups of developers (not co-located) working on different components of the same project

Our project is a content management system supporting several dozen of our websites. The development group started off small and in one location, and we dealt with a fairly standard coding/deployment strategy. We coded off of trunk and insisted on a clean trunk. Every few days we would tag trunk and deploy to the test server. If all ...

How do you tailor your dev process around adding unit tests to the build?

Hi folks, I have ran into a situation at work where it has been proposed to add our units tests to the Cruise Control continuous build process. The units test would be added as another project in CC, so that we would have a "Normal Build" project and a "Build and Test" project. We currently use the "Normal Build" process to a) make sure...

What hardware improvements should we make to speed up our build machine?

We have a build machine running in our development department, which we've set up to build continuously throughout the working day. What this does is: Deletes the source code previously checked out (5 minutes) Does a clean checkout from subversion (15 minutes) Builds a whole bunch of C++ and .NET code (35 minutes) Builds installers and...

How can I reuse a centralized Build Process Template for new projects in TFS 2010?

The Goal: New Team Projects should point to a centralized (custom) Build Process Template which my team maintains and makes occasional updates to. These updates should apply to all projects which use the template, so we need those projects to point to the centralized version of the template, not a copy which is local to the project. W...

What do companies use to build their binaries?

What do modern companies use to compile and link their projects? Especially with large projects, makefiles don't seem usable enough to be scalable. As far as I can tell, many companies use either in-house build systems or in-house scripts on top of existing build systems. Do large projects use make? Is pure Ant, Maven, etc used or is...

What is a good book to learn about the compilation/build process?

Possible Duplicate: The Definitive C++ Book Guide and List I have a basic knowledge of C++, but I am not a Computer Science major. I was looking for a good book for beginners that explains what happens to the code once I click compile or build. Specifically I am trying to make sense of terms like objects, building, compiling,...

How to change Asp.net Theme via Web.Config on the fly

Summary I have a web-application with more than 5 themes. Each themes covers a completely different style for different customers. whenever we publish a new version of our application we send it for all of customers. The problem. We specify theme in web.config file in <Page> tag. like <page theme="Theme1" /> // or Theme2 for second c...

Library Development with Maven

This may be more of a process then technology solution. I am currently working on a project that is split into a library and an implementation application. Doing this has been a very effective way to debug the library as the application is built. I would like to use Maven for both projects but I do not want to do a build and deploy for e...

Tfs2010 Build Number and Assembly File Versions & MSBuild targets

Hi all, I read John Robbins' article TFS 2010 Build Number and Assembly File Versions: Completely In Sync with Only MSBuild 4.0, and I'm wondering about the best way to go about integrating this. The download for the article has two files, one is a targets file and one is a proj file. The targets file has a number of tasks to scrape ...

Parent build file in buildr

I am currently looking at migrating from maven2 to buildr and I am concerned about how get to keep the build scripts DRY. Currently our maven project is defined with parent pom file containing all common build code and is picked up like any other dependency: <parent> <groupId>com.companyname</groupid> <artifactId>parent</artifa...

multi-product project layout with svn and maven

Hi, I need to migrate a project from Ant to Maven. This project has multiple proprietary packages (lets say, stacked in 3/4 layers. some of the layers share the same svn repo). Also, it's using ~30 3rd party packages (which are currently manages with svn:externals). On top of that, there are ~10 different "products" (different packaging...

Why does packaging my Sharepoint 2010 project break my references?

Hello everyone, I'm having a very frustrating issue where my SP2010 project in VS2010 where everything seems to be perfectly normal when I build/rebuild the solution, but when I go to "Package" the SP2010 project, though it builds and deploys successfully, one of the dependent assemblies loses one of its references to a different projec...