build-process

Building with ant : dynamic build options?

With multiple developers working on the same Tomcat application, I'd like to tell the application to install to a different path, based on the current user and revision control client/view. So, if Bob is building, the app should be installed in Bob's test environment, maybe /bob1 or something like that. Bob might have several revision ...

Build automation: MSBuild vs. Windows Mobile SDK

Hello, I'm trying to automate the build of the project I'm working on. My ultimate goal is to eventually have a continuous integration server and so far everything was great. In order to find out what is the minimal setup I can have for my project, I started configuring a freshly installed system and stumbled with the requirement to hav...

Top-level .mak file for Visual Studio?

I've inherited a body of Visual C++ source that consists of about a dozen sub-projects. One of these is an empty "MakeAll" project that depends on all the others, so I can build the entire project by setting the MakeAll project active and selecting "Build All." I'd like to automate this process, and coming from a linux environment, my ...

How to automatically add header files to project?

How would I go about having a CMake buildsystem, which scans for source files now using AUX_SOURCE_DIRECTORY, scan for header files too in the same directory, preferably using a similar command? I didn't find an easy way to do this in the documentation yet, so I now have a crappy bash script to post-process my (CodeBlocks) project file....

Cannot build website, Visual Studio 2008 errors on build (temp files)

All of the errors are on auto-generated files, not within the files that were created by me. Here are a few of them: 'Context' is not a member of 'auth_cookies' 'ProcessRequest' cannot be declared 'Overrides' because it does not override a sub in a base class 'Server' is not a member of 'ASP.auth_cookies_aspx' Class 'auth_cookies_aspx'...

What's a good directory structure for large C#/C++ solutions?

How would you lay out the directory structure for a large C# solution, consisting of perhaps 20 to 30 projects, mostly C# but some C++? Where do you put external dependencies? When creating a branch in source control, do you branch absolutely everything? Do you override the defaults for where built files go? ...

How to get cmd line build command for VS solution?

This is probably easy but I am getting stuck: when I build a solution in Visual Studio - how do extract the exact cmd line for the current build command in order to be able to do the same build from VisualStudio console? In the output window I can see the single projects in the solution build commands but not the one for the whole solu...

Multiple slaves on a single machine with hudson

Can I run multiple hudson slaves on a single machine, I mean real slaves with only one build process? My problem is, I have a slave with 3 build processes, using locks-and-latches (V0.4) to run three different kinds of build jobs. But sometimes I have the problem that more than one build job of one kind runs at the same time, or it bloc...

Suggestions for Automated Code coverage for an Eclipse RCP?

I would like to include some code coverage into our nightly build process. We're using CruiseControl, Ant, and Buckminster. Buckminster drives checkout from multiple repositories, and the PDE building and packaging of the product. Has any one any experience integrating code coverage into an RCP headless build? I have been looking at Co...

Eclipse 3.4 ant task hangs

When I launch ant script from Eclipse 3.4.x it print output to console until certain stage. After that it often hangs (wait forever). Last lines that I see at the screen (console) - partial output from my obfuscator. Under Eclipse 3.3.2 everything works fine (the same project, workspace, settings, JVM etc.). Does anybody have the same ...

Build solution for C++

I'd like to setup a build server for unmanaged C++ code developed in Visual Studio 2005. The build server should be able to do the following: Monitor a Subversion repository for code changes and schedule a build Checkout code from Subversion and run unit tests Provide some sort of report on build success and changes from previous build...

Looking for a strong Build Management system

My team works on a Medium sized product which takes about 2 hours to build on a single dual-core machine. As part of an effort to improve productivity I am looking for alternatives to improve hour build process. Currently we build C++ code and .NET code using VS2005 solutions, we also have some legacy code built using makefiles and we p...

How to publish a web project with MSBuild?

In Visual Studio 2008 if you have a web project you can use menu Build -> Publish Web. Can I achieve the same result with msbuild via command line? ...

Why does Xcode keep changing its active executable?

Something really weird is going on with Xcode and an iPhone project I'm working on, when I'm building for the simulator, the project has 2 active executables (MyApp - iPhone Simulator (2.0) and MyApp - iPhone Simulator (2.1)) Almost all of the time, I want to use the the 2.1 active executable, but Xcode will occasionally silently change...

CruiseControl.net -- How to checkin code during the build

I'm setting up CruiseControl.NET and during the build I want to modify my version.txt file and have it checked in. When I do this, CruiseControl.NET doesn't know this checkin was done by the build and so the next time it checks sources, it sees there were modifications and rebuilds again (I have IfModificationExists set in the project b...

How can I build an Eclipse plugin outside of Eclipse?

I have a series of Eclipse projects containing a number of plugins and features that are checked into CVS. I now need to run an automated build of these plugins. Ideally I'd like to do it without having to hardcode large numbers of Eclipse library locations by hand, which has been the problem with the automatically generated Ant files th...

Recommended project structure for Flex builds

I'm starting a new project using Flex3 for a reasonably intricate UI getting its data from a collection of RESTful web services. I wondering what experiences others have had in structuring a moderately complex Flex project. The issues I'm thinking about include: I want to use our FlexBuilder licenses for visual editing of layouts and d...

Python 2.5.2 and Solaris 8 (gcc 3.4.2) build issues

Hello there, I'm trying to build python 2.5.2 on Solaris 8 using gcc 3.4.2. I can't see any immediate errors in the ./configure step but, once built and i enter the python shell doing an import time errors with : Python 2.5.2 (r252:60911, Nov 21 2008, 18:45:42) [GCC 3.4.2] on sunos5 Type "help", "copyright", "credits" or "license" for...

comparing products of builds in release

I need to compare build outputs of VS2005 in order to be sure I can reproduce the exact same product. when I do two builds one after the other in release and compare the produced files I get different files, doing text comparison it seems that more than just the datetime is different how can I build in order to reproduce exact same pro...

What is the best way to do cross-platform development with Visual Studio?

We are developing a number of games on multiple paltforms (DS/Wii/Xbox 360/PS3/PC/PSP). Each has their own compiler/linker and debugger. We want to use Visual Studio as the IDE and to manage the build process but use the platform specific compilers (and settings) to generate the appropriate output. We could manage the build process outsi...