build

A zip file cannot include itself - Ant build error.

I have error at the first line of the following code while building with Ant builder, <war warfile="${wartemp.dir}/${name}.war" basedir="${wartemp.dir}" webxml="${wartemp.dir}/WEB-INF/web.xml"> <include name="*"/> <include name="scripts/**"/> <include name="styles/**"/> <include name="imag...

MSBuild Fails to remove Binaries directory

I am building two solutions with MSBuild: <ItemGroup> <SolutionToBuild Include="$(BuildProjectFolderPath)/HostASPX/SolutionA.sln"/> <SolutionToBuild Include="$(BuildProjectFolderPath)/../Installer/SolutionB.sln"/> </ItemGroup> It seems that this build fails with the error message: Unable to remove directory "...

Referencing information in builds specified in a run parameter [Hudson]

Day 1 with using Hudson for our CI build. Slowly but surely getting up to speed. My question is about run parameters. I've seen that I can use them to reference a particular run of a particular project - that's all fine. What I don't understand (and can't find any documentation on - there's nothing at Parameterized Build) is how I refe...

Where is the Xcode build results file ?

The Xcode "Build Results" tab shows the build log. Does anyone know where the actual log file (path in filesystem) is ? ...

Target 'Android 1.5' does not support building project with libraries.

I'm trying to build a project in Android 1.5 that references another Android (library) project compiled against Android 1.5 and I keep seeing this error in the Console in Eclipse: Target 'Android 1.5' does not support building project with libraries. I'm running Eclipse 3.5, and version 0.9.7 of the ADT. I followed the instructions he...

How do you handle NetBeans generated build files?

I'm working on a project that uses NetBeans to generate the ANT build files. I come from an environment where the build file is something checked into source control, but with it being generated by the local NetBeans application, that doesn't seem correct. I'd like to add some custom targets to the build file, which I see that NetBeans h...

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...

Version control solution for a build system that produces a 4GB ISO

I have a software project that at the last stage of its build, after creating all the jar files and related scripts/configuration files, I need to plant it in a CentOS ISO that has a kickstart config file that runs some postinstall scripts and installs some customized RPMs. The project is on an SVN repository and being built from there....

Android library projects custom builds

Hello all, I have a legacy application and need to split it into a library project (common code) and two application projects (paid and free applications). I don't use Eclipse for development, and also don't use Ant builds provided (generated) by Android SDK (there are several reasons for that: different project directory structure, uni...

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...

MPMoviePlayerViewController for older versions of iPhone SDK

If I use MPMoviePlayerViewController in 3.2/4.0 it builds fine. If I use it in 3.1.3 and below the build fails with error Expected specifier-qualifier-list before MPMoviePlayerViewController' I use this class in 113 places, so I get 113 errors. What is the best way to fix this critical issue? ...

How can I set the default build target to x86 for all projects, in Visual Studio 2008?

Is there is a way to set the default build action to x86, instead of Any CPU in Visual Studio 2008? That way all new projects will be compiled for x86, and great features like edit and continue will work. Perhaps a registry hack or somthing simple, like a global option. Thanks, Carl ...

How to build an iPhone app for distribution on the clients account?

I've developed a small app for my client which is supposed to be released under one of their brand names. They've created an iPhone developer account to be used for this purpose. So far, for testing I provided them with ad hoc distributed builds using my own developer account. But how do I proceed about building their app store distribu...

xcode Build and Analyze related questions

Hi I was watching the videos from WWDC 2010 and have now started to dig in to the functionality of the Build and Analyze tool in xcode 3.2. It's a great tool that will highlight coding mistakes (specially for a newcomer like me!) even if they may not have an impact during runtime. But there is one thing I would need some help to unders...

build eclipse project when antoher project is requied

Hi all! I had wrote an app( android A) and I would like to build. The problem is the following: I had another android project(B), witch I want to start from the "A" one when the user click on an icon. I had added to the "A" build path the "B" project, but it isn't works. As I trying to build the "A" the app going down and said: "Class B...

Is there a Visual Studio Build Profiler?

My VS.NET 2008 solution is taking longer and longer to compile (ASP.NET 3.5 + ASP.NET MVC 2 + C#) and I am wondering if there is a way to know what project takes the longer to compile and why? I disabled the compilation of a few projects and it helped reduce the build time but I want it faster. ...

Strategies for java webapp configuration

Part of my webapp involves uploading image files. On the production server, the files will need to be written to /somepath_on_production_server/images. For local development, I want to write the files to /some_different_path/images. What's the best way to handle these configuration differences? One important requirement is this: I don'...

Can a Hudson job poll a SCM without pulling code down?

I have a job that I want to run every time a commit is made to a repository. I want to avoid pulling this code down, I only want the notification build trigger. So, is there either a way to not pull down certain repositories in your SCM upon a build or a way to poll things that aren't in the SCM for a build? ...

! symbol infront of project in eclipse even if there are no errors

I am using Eclipse Java EE IDE for Web Developers. Version: Helios Release Build id: 20100617-1415 It gives me an ! mark in front of the package icon in the Package explorer at times all of a sudden even though there is no error in the files. I am unable to build the project. I tried clean up and build again but it's not working. Here ...

mixing code compiled with /MT and /MD

I have a large body of code, compiled with /MT (i.e. expecting to statically link against the CRT). I need to combine this with a static third-party library, which has been built with /MD (i.e. expecting to link the CRT dynamically). Is it theoretically possible to link the two into one executable without recompiling either? If I link ...