build-process

Best Practices on Configuration Settings

I'm wondering about some best practices out there on storing configuration settings. Let's say you have some settings shared across several applications. I've heard both good and bad ways to store these types of settings that need to be shared (XML files). Just wondering on what is a good standard in terms of maintaining app settings ...

Automated Build Tool With Managed C++ (.NET 2.0)

I'm laying the groundwork for an automated build process and am trying to make sure I start down the right path. Our codebase is a mixture of Managed/Unmanaged C++. The managed part is in .NET 2.0 and all of the projects are part of a Visual Studio 2005 solution. Right now I'm looking at NAnt, but I can't figure out how to perform a bui...

Improving turn around time when building JEE apps

One troubling aspect of building JEE applications is the turn around time for the edit, compile, deploy process. I tried using Jetty but even that has some problems after making several edits you will usually run into a memory error. At the moment I use Netbeans and I can see edits to the presentation layer without redeployment but when...

Developing a code base for multiple versions of a product

I know this is possible since there are so many packages available where you have a "Standard", "Professional", and "Enterprise" version of a package... but does anyone have any decent tutorials available on how a uISV would go about learning the techniques involved in developing a tiered feature piece of software? I've done multiple se...

Call cmake from make to create Makefiles?

I am using cmake to build my project. For UNIX, I would like to type make from my project's root directory, and have cmake invoked to create the proper Makefiles (if they don't exist yet) and then build my project. I would like the cmake "internal" files (object files, cmake internal Makefiles, etc.) to be hidden (e.g. put in a .build ...

How to structure a Java EE system? How is the term application and thus the content of an EAR defined?

I am in the process of designing a build system and the directory structure for a large software system developed with JEE 5. The build system will be implemented using ant. We have multiple different services, which are grouped thematically. Each service offers either a web service or EJBs. Each service runs on a dedicated application ...

disable gcov in gcc build

Anyone know how, when making GCC, to tell it not to build gcov? It's giving me lots of errors for my target (powerpc-wrs-vxworks). ...

Daily builds, is that realistic?

Hi, In a 1-man shop or even (especially) larger shops, how in the world can you maintain a daily build? If you change the API, or database table etc. you will have to potentially change so many layers in the application, or say the sql initialization script etc etc. How can you expect the project to build for changes that take more th...

Continuous Integration vs. Nightly Builds

Reading this post has left me wondering; are nightly builds ever better for a situation than continuous integration? The consensus of the answers seems to be pretty lopsided in favor of continuous integration, is that evangelism or is there really no reason to use nightly builds when continuous integration is an option? ...

VBC + NAnt. Error compiling WinForm

It should first be noted that I am trying to avoid rewriting all my scripts to use msbuild. I have noticed that there are several problems when using NAnt with the VBC task and compiling a WinForms application. The main problem seems to be that VBC can't find Sub Main. This is odd, since from within VS, there is no indication that the...

Build management/ Continous Integration best practices

How does your team handle Builds? We use Cruise Control, but (due to lack of knowledge) we are facing some problems - http://stackoverflow.com/questions/419133/code-freeze-in-svn Specifically, how do you make available a particular release when code is constantly being checked in? Generally, can you discuss what best practices you use i...

Build Server Best Practices

I heard google has some automated process like that: When you check in, your code is checked into a temporary location. It is built. Style checks run. Tests run. If there are no problems, code goes to actual repository. You receive an e - mail containing test results, performance graphs, style check results and whether your code is che...

Eclipse, ant and custom tasks

Sorry, I'm not terribly experienced with Ant. I like the eclipse "Export ant buildfile" function, but I need to insert a few custom tasks (Copying files, calculating checksums that are used at runtime, etc). How do I integrate custom ant tasks with the antfile that Eclipse exports? Also, once I've done so, will the internal build (Run...

Including a VB project within a VC++ project

I'm looking for some help with a dependency issue. In a nutshell, I've included a makefile project within a larger VC++ workspace, but the sub-project always rebuilds, even when it's not necessary. The Details I've inherited a large project that consists of several different modules, including a (primary) Visual C++ 6.0 executable and...

IsCmdBld.exe - Randomly Errors Out

For some reason, when I use the standalone build from InstallShield 2009 Professional, there are times when I get an error and times when the build completes successfully, with no major distinguishable reason why. The error that shows up usually reads something like: IsCmdBld.exe - Application Error The instruction at "0xa781543" refe...

What are some tips to make my project compile on a fresh checkout every time?

More times than I'd like to admit I've had people new to a project do a checkout only to find they are missing various resources, dll's, settings. I'd like to get in the proper habit of having my projects compilation be smooth as can be from a fresh checkout. What are some tips or suggestions on how to structure my projects so they do...

Make the C preprocessor ignore certain #include directives

Hi folks! I use a parser generator here, that unfortunately insists on putting a #include <some/file.h> at the top of every generated source file. The header has since long been renamed. While it is no problem forcing the compiler (gcc) to use the new header with -include new/header.h, removing the above directive from every generate...

scons: How can I create a link to another repository's target if the target is built in the other repository

When I add a "Repository" to a SConstruct file (link), if any target in my repository has been built in this other repository ( and the dependencies haven't changed), then SCons will not build the target -- which is really cool. Unfortunately, I have some tools which rely on the targets being placed in a certain location. How can I cr...

Reasons for using Ant Properties files over "Properties Tasks"

I'm currently working with some developers who like to set up Ant tasks that define environment specific variables rather than using properties files. It seems they prefer to do this because it's easier to type: ant <environment task> dist Than it is to type: ant -propertyfile <environment property file> dist So for example: <pro...

Popular folder structure for build

I am wondering what the popular or best way to organise your build assets and source code within a project is? ...