build-process

cmake: Working with multiple output configurations

I'm busy porting my build process from msbuild to cmake, to better be able to deal with the gcc toolchain (which generates much faster code for some of the numeric stuff I'm doing). Now, I'd like cmake to generate several versions of the output, stuff like one version with sse2, another with x64, and so on. However, cmake seems to work...

How to ensure quality checkins with continuous build systems?

I religiously go through all of my code before I check it in and do a diff of the before and after code and read through it and make sure I undersatnd the changes. Usually I end up having to add comments, amend variable names, amend algorithms, amend code, retest things, discuss with other developers about their code, add new bugs/issues...

Java light build tool

I am looking for an lightweight Java build tool. As light as possible. Even at the expense of features. Any recommendations? ...

I get error LNK2001 in TeamCity but not in Vs 2005...

Hi All, I currently have a solution in VS 2005 which I attempted to trim down as it currently contains 150+ projects. As I don't know the solution that well, I am looking at set info, such as the references and the project dependencies within the solution.. In doing so, I have been able to remove approx 15-20 projects from the solution ...

How do I get the lowest level project from a solution for build purposes?

If I have a visual studio solution with a multiple projects, from the projects how do I figure out which one will have all the dlls once the solution is built? The reason is I need to copy those dll's for my custom written build app. I know in the Visual studio GUI, if I right click on the solution and go to Project Build Order, the low...

The model item passed into the dictionary is of type ‘mvc.Models.ModelA’ but this dictionary requires a model item of type ‘mvc.Models.ModelB‘

I have this annoying mistake in some of my builds. There is no error in the project, because if I build again, then the problem disappears. The message only appears, when the site is deployed to a Windows 2008 Server. I first thought that it might be an issue with temporary files, but thats not the case. I deployed the build to a di...

question about application instance management

I am currently working on a rather large project with a team distributed across the United States. Developers regular commit code to the source repository. We have the following application builds (all are managed by an application, no manual processes): Continuous Integration: a monitor checks to see if the code repository has been ...

Need advice or pointers on Release Management Strategies

I look after an internal web based (Java, JSP, Mediasurface, etc.) system that is in constant use (24/5). Users raise tickets for enhancements, bug fixes and other business changes. These issues are signed off individually and assigned to one of three or four developers. Once the issue is complete it is built and the code only commit...

iPhone: -[UIView presentModalViewController:animated] Argument Error

Hey When I run my application it shows one warning message: warning:passing argument 1 of 'presentModalViewController:animated' from distinct objective - c type How do I resolve this warning? I've used presentModalViewController:animated many times previously in my application. Please help me. Thanks in advance ...

For a Visual Studio ASP.NET solution, Rebuild (or Clean, then Build) doesn't seem to fix issues with binary mismatch for debugging

I from this answer what the differences are between Build, ReBuild and Clean solution, but I'm not clear about whether it only updates the binaries in the project dir(s) or also makes sure the ones in the IIS webroot, caches, etc. are replaced. Sometimes, I'll add a breakpoint and attach to the IIS process to debug and it will warn me t...

Build different products out of common base (Java)

I'm looking for a way of packaging different products out of a common base. This could be, for example, for packaging a light version of a product or a specially customized edition. The differences between my different products are mainly the following: Producing different configuration files (text files) out of a single one (could b...

How to share code with continuous integration

I've just started working in a continuous integration environment (TeamCity). I understand the basic idea of not getting so abstracted out in your code that you are never able to build it to test functionality, etc. However, when there is deep coding going on, occasionally it will take me several days to get buildable code--but in the ...

How to include a parent Spring project (using Git submodule)?

I'm currently developing multiple web applications using Spring. I'm using Maven for building and Git for version control. At the moment I'm trying to find a way to split development of some things used by all webapps, e.g. I have some helper classes that are the same for all projects. The problem is, I don't want to use only classes, bu...

How can I turn off the majority of hbm2ddl's output in the console in Ant?

By default, hbm2ddl spits a ton of output to the console when executing the ant task. I'd like to turn this completely off and simply look at the schema file if something has gone wrong. Anyone know how to do that? ...

Converting a script/program into an installable tarball?

I am quite familiar with writing small programs or scripts, and I am also familiar with downloading a source tarball and installing it using ./configure && make && make install (or, failing that, doing whatever the INSTALL or README files tell me to do). However, I don't know how to take a script that I've written and package it up (alon...

VCBuild link errors from command line

I am using external libraries from my VC Express project. I am trying to automate my build through the command line, but it seems VCBuild does not recognize the additional directories I saved/added for the external library's include and lib directories. Is there a workaround to this? ...

How do I get Maven to use the correct repositories?

Hi all, I just checked out some projects and need to build them, however I installed Maven quite some time ago (6 months maybe?) and really haven't used it since - the pom.xml for the project I have doesn't have this "http://repo1.maven.org/myurlhere" anywhere in it - it has the absolute url where the maven repo is for the project, but m...

Preserve file permissions when unzipping and the zipping files using ant

I'm writing an ant build.xml file which does the following: Takes a zipped folder (.zip) Unzips it Adds a number of files Zips up the resulting files An extract of the code from build.xml: <!-- Unzip SDK to a temporary directory --> <unzip src="${zipFile}" dest="tmp"/> <!-- pull in the files from another directory --> <copy todir="...

Exclude whole files based on configuration from build in VS2008

I have three different configurations on my project, all three do not require all files to be build into the application. Actually I'd prefer if I could exclude those files from the build, which would make my application a little more lightweight. What I'm looking for is #if MYCONFIG or #if DEBUG statement but for files. I've already re...

Creating a directed acyclic graph out of recursive nmake makefile?

Hello, As an exercise and in an effort to (better understand|help other people better understand) the build process at my company, I am hoping to create a directed acyclic graph of the build process. The current build process at my work is, as I understand, is essentially running nmake on a makefil at the root build directory. This m...