build-process

Build management in C++ & good IDEs on Linux

I am starting to write a moderately sized project in C++ requiring a fairly large amount of files and dependencies on other projects. Do you think manually maintaining a Makefile for this project is the best approach? Are there other better alternatives for C++ that make build management and dependency management of files really easy t...

warning: invalid receiver type +sqlite3

I am programming an Xcode iPhone app and utilizing sqlite. In an effort to delete all rows from a table, I receive the warning above when I build my code. Does anyone have any suggestions on how to fix this? Thanks - (void) deleteData { NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, ...

Why not use TFS as a build / CI solution ?

Currently our build solution is set up using TFS + MS Build scripts. TFS is also being used as a CI server. I've seen several posts on this site telling people about other CI solutions. Are there any compelling options to move to another Solution for our build system? Or in other words what are we missing out on by using TFS? EDIT...

Cobertura ant script is missing Log4J classes

I tried to get Cobertura running inside my ant script, but I'm stuck right at the beginning. When I try to insert the cobertura taskdef I'm missing the Log4J libraries. Ant properties & classpath <property name="cobertura.dir" location="/full/path/to/cobertura-1.9.3" /> <path id="cobertura.classpath"> <fileset dir="${cobertura.dir}">...

Prebuild Event only on Build Solution/Project not on F5(Debug)

As the tittle says I need a prebuild command CONDITION that executes an exe on build solution/project and passes when i use F5. I found "$(ConfigurationName)" as a possible solution on some websites but it only works if you change each time the configuration type manually. Anybody knows the trick?? ...

couldnt recognise pom.xml file

i am build forge as build tool. it is executing maven mvn commands fine ,but it couldnt recognizing the maven project pom.xml to run the build.so i tried to execute the same pom.xml through the command window and that is working fine could any one can help me how to solve the issue i am using maven 2.09 version and build forge 7.1 is t...

Is there a way to specify assembly references based on build configuration in Visual Studio?

I have a project that adds some extensibility to another application through their API. However, I want to be able to use the same project for multiple versions of their application, because most of the code is the same. However, each version of the application requires a reference to the proper assembly for that version of the software...

Pre-build event to include files in project

I run a pre-build event to copy files to my project's folder (ProjectX). I need to include these files as content files in ProjectX, so that when built, it is seen as part of ProjectX's output or content. ProjectX is then included in a setup project to be deployed, so the files copied to ProjectX must also be included in the setup proj...

Running multiple TeamCity Agents on the same computer?

We have several build machines, each running a single TeamCity build agent. Each machine is very strong, and we'd like to run several build agents on the same machine. Is this possible, without using virtualization? Are there quality alternatives to TeamCity that support this? ...

Multiple Output paths for a C# Project file

Can I use multiple output paths. like when i build my project, the exe should generate in two different paths. If so, How can I specify in Project Properties-> Build -> output path? I tried using , and ; but neither of those work. ...

Eclipse CDT static resources under build folder

This should be a silly question, but after a hour of implementing following idea I ended up here. So, I'm building my C++ project under Eclipse and my release folder should include a static folder with some files inside it, that are required by executable during runtime. The problem is that before actual build this release folder is com...

Waf generating Visual Studio projects?

Can the Waf build system generate Visual Studio project files for C/C++? ...

ILMerge DLL not merged in correctly

In the build process for a .NET C# tool, I have been using ILMerge to merge the assemblies into a single exe. I added a new class library recently, and now the ILMerge is failing. I have remembered to tell it to merge in the new DLL! It is now giving me this error, which I don't really understand: ILMerge.Merge: The assembly 'Da...

Problem building executable jar with maven

I am trying to generate an executable jar for a small home project called "logmanager" using maven, just like this: http://stackoverflow.com/questions/574594/how-can-i-create-an-executable-jar-with-dependencies-using-maven I added the snippet shown there to the pom.xml, and ran mvn assembly:assembly. It generates two jar files in logma...

Is there an automated program to find C++ linker errors?

I'm working in a Linux environment with C++, using the GCC compiler. I'm currently working on modifying and upgrading a large pre-existing body of code. As part of this, it has been necessary to add quite a large number of small references throughout the code in a variety of places to link things together, and also to add in several new...

C++ Buildsystem with ability to compile dependencies beforehand

Hi, I'm in the middle of setting up an build environment for a c++ game project. Our main requirement is the ability to build not just our game code, but also its dependencies (Ogre3D, Cegui, boost, etc.). Furthermore we would like to be able build on Linux as well as on Windows as our development team consists of members using differen...

How to ignore output from executable with CruiseControl.Net build?

I'm running a little find and replace utility called fart.exe (yes, fart, as in Find and Replace Text) as part of my CC build. Works great. The problem is that FART while it is working displays a little ASCII spinner composed of pipe, dash, slash... | / - . There isn't a way to suppress this spinner, and CC thinks these little symbols ...

Sharing common Ant targets between projects

Is there a well-established way to share Ant targets between projects? I have a solution currently, but it's a bit inelegant. Here's what I'm doing so far. I've got a file called ivy-tasks.xml hosted on a server on our network. This file contains, among other targets, boilerplate tasks for managing project dependencies with Ivy. For exa...

Is it possible to create an "uber" jar containing the project classes and the project dependencies as jars with a custom manifest file ?

I'm trying to create a executable jar(using maven) that contains the project classes and it's dependencies with a manifest file that has the entry for the main class and the class path entry that points to the dependencies packed in the root of the jar;something like this : Manifest File: ..... Main-Class : com.acme.MainClass Class-Pa...

C++ DLL fails when run from different drive letter

I've written a C++ DLL that connects to a Sybase database using the native C library for Sybase. I can build and run the program on my C drive, and others can run it from their C drives, and everything works. But in some situations both my DLL and the Sybase DLL are located on the F drive instead of the C drive. In those cases my DLL app...