build-process

Framework for building and managing third-party libraries

I am working on a cross-platform project which uses a large number of third party libraries (currently 22 and counting, and I expect this number to increase significantly). My project is CMake-based, and keeps the ThirdParty/ directory organized like so: ThirdParty/$libname/include/ ThirdParty/$libname/lib/$platform/$buildtype/ My CMak...

Stop Xcode from Running Run Script for All Targets

I have two targets in my iPhone application: one for my actual app, and another for my unit testing. I added a run script to my main application's target so that when I compile, the script will generate Doxygen documentation. The problem is that the script runs when I am compiling and running my unit testing target. Is there a way to mak...

Export files for xcopy installation of ASP.NET MVC project

I have an ASP.NET MVC project that I'd like to install somewhere using xcopy (as opposed to an installer). How do I export/build to a folder that I can copy straight to the IIS environment? I think at work we use a web deployment project but that's a plugin and I was wondering if there's another way? ...

Build issues with a C++ - C++/CLI - C# project (Borland and VS-specific components)

Hello again, StackOverflow! Today's issue is a bit odd, but please bear with me. Any advice / suggestions extremely appreciated! I've inherited an old codebase on a project with some components that date back to 2002. There is no documentation at all for this project, and the original machine which had the build set up on no longer exi...

Use ANT to update build number and inject into source code

In my build.xml file I am incrementing a build version number in a property file like so: <target name="minor"> <propertyfile file="build_info.properties"> <entry key="build.minor.number" type="int" operation="+" value="1" pattern="00" /> <entry key="build.revision.number" type="int" value="0" pattern="00" /> ...

Is it sensible to use a ramdisk on a build server?

At my company we are currently researching various strategies for speeding up our CI builds. We have profiled our builds and determined that we are constrained by an I/O bottleneck. We have quite a few options to deal with that in the near future (~1-2 months) but would really like to see an improvement now. I proposed using a ramdisk a...

how to use the tortoisesvn commends in vs2008

I'm using TortoiseSVN and Visual Studio 2008. Is there any way to update my project's subversion with svn's version in every build? For example, 1.0.0.[svn's version] -> 1.0.0.12 ...

Subversion: Track defects that are part of build.

All development commits happen on branches. We mandate entering defect numbers in commit log. But, once the branches are merged to trunk, there are no records of the defect numbers. I am looking for some advise on tracking defects that are part of a build done from trunk. ...

Email notification on success/failed build using ant target.

Hi all, my current code(build.xml) enables me to send email on successful build, but when failed, nothing happens. The targets are called from a build.bat file through command similar to " ........ -DrepositoryAddress=%1 -DbuildResultUUID=%2 startPublish " (for all targets, in order startActivity->startPublish->mailer->startActivity). N...

exporting the dependencies of a Visual Studio solution

Hi All I have a big project I am working on right now using Visual Studio 2008. The solutions is composed by several project in Visual C# and Visual C++. Clicking on a project node , and selecting from the manu the item "Project Dependencies" I can find the list of dependencies I want to export. Do you know a way to export this list o...

How do you handle multiple jar versions with lots of FOSS/COTS?

We have a Java product that uses a lot of FOSS/COTS software. A number of our "externals" use the same jar product, but a different version. For example, Ant 1.6.5 and Ant 1.7.0; or multiple versions of xerces. What's I'm concerned about is that the behavior of our application may change or worse, epic fail if we change the order in whic...

What are the advantages/disadvantages of using Maven?

I would like to know the reasons people use or not use Maven. We are about to switch all our builds to Maven 2 and don't have to much experience with it. What are the advantages/disadvantages of using Maven 2, stuff like: Why did you switch to maven? Why did you throw maven away and used something else? What problem did it solve ...

How do you specify a string of goals as the defaultGoal in maven 2?

I'm just curious, is there a way to specify that you want a string of goals run as the default goal in a maven project? Is there an equivalent to Ant's <project name="MyProject" basedir="." default="main"><target name="main" depends="clean,run"/>? ...

can build using visual studio ide but cannot build using devenv.com

hi, i'm using VS 2008. I can compile my solution using the IDE successfully. However, when I try to build it using devenv.com, it fails saying that "ERROR: Cannot find outputs of project output group '(unable to determine name)'. Either the group, its configuration, or its project may have been removed from the solution." while building...

Professional Java /JavaScript toolkit

What is a good constellation of tools for developing Java and Javascript web-applications? Editing the code: syntax highlight, code completition, outline. (Java, JavaScript files at one IDE.) JavaScript Debugging. Build process: compiling java classes, compressing JavaScript files, assembling WAR, etc. (Ant tasks, Maven plugins for Jav...

C++ undefined reference when linking

Im wondering if anyone would be able to help me as I have been scratching my head for two days on this. I have done the compilation and when trying to link a source code on linux getting undefined reference Compiling using, g++ -g -I/u01/kasunt/workspace/corelibCORBA/include -I/u01/kasunt/workspace/corelibCORBA/installed_compo...

Different compile-time and runtime dependencies

Why it is common practice to keep compile-time dependencies and runtime dependencies different? Why not to use same dependencies all the time? Even if you don't need some libraries when you compile your code - they'll just be ignored. The obvious answer is to avoid collisions, if so how can they happen? ...

Visual Studio 2008 C#: Auto-Increment Version numbers

From what I'm seeing online, it seems the only thing in VS that auto-increments the Version numbers is if it's a website. For applications, it seems you either manually have to do it or you have to have a post build event and call a function or small app to do it for you. But, that's only what I'm seeing when I google it and when I've ...

Visual studio post build events -- doing them in a project instead of the event dialog

So something I've been doing recently is adding an additional project to my code solutions and doing my post build stuff programmatically in it. This project builds last and then launches itself. cool stuff I can do there is run an ILMerge automation class I created to perform merges automatically if i just give it a project folder, in...

SDL C++ Application not doing anything when built using Visual Studio 2010

Hi, I've just started using C++ again after using solely VB for a year and I wanted to try my hand at cross platform development. So I started learning to use SDL (which is very very easy thankfully) to create simple graphics driven games like Pong and Tetris. I am compiling the code with Microsoft VisualStudio 2010 Enterprise edition, a...