build

Visual Studio TFS build with code coverage

Essentially what I would like to do is write a visual studio build script that will only build the solution if my code coverage requirements have been met. So essentially, after compiling and running the automated testing of the solution, I want to pass the build (working with Team Foundation server) only if a certain % of the code is c...

What java android files should I not upload to my SVN Server?

I just setup SVN for my java Android project through SubEclipse. Can anyone advise me on which files I should not upload to the repository? Just like in Objective C I have my build files in a separate folder, I still don't know how the build system in Java organizes files and what is considered "build" files. Any advice? ...

Xcode codesigning fails every other build

My iPhone project fails to build every other time and gives me the following info: CodeSign build/Debug-iphoneos/coati.app cd /Users/rpeck/Documents/Coati setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" setenv _CODESIGN_ALLOCATE_ /Developer/Platforms/iPhoneOS.platfo...

Classpaths and reflection

In a project that makes heavy use of reflection to select classes based on environment, is there a way to determine what libraries to include in the build? At the moment, taking a library out of the project is a gamble, but sticking with the current plan of "include everything, it's the only way to be sure" makes the whole thing bloated...

Universal app iPad / iPhone with seperate recources?

i have build an universal app i have assets that are for both but i have a couple assets ( embeded movie's ) that are only for iphone or only for ipad. is there a possibility to make 2 builds 1 for iphone and 1 for ipad so that the iphone app doesn't grow to large? ...

How to get your head around C++ linking/dependencies?

I'm a Java developer and I never have to worry about including files or messing with BUILD files. Whenever I need to write C++ code, things get more complicated. I can think of creating *.h files as interfaces in Java, but figuring out how to write the build file and what order classes should be included in gives me a headache. Is the...

Automatically rebuild referenced Class Libraries (DLLs) in VS2010?

I have an executable project A, which references to a Class Library project B. However, when I build A, it does not automatically rebuild B. The only way to get B rebuilt and used by A is to rebuild B then build A. Is there a way I can get B to be rebuilt automatically and then used by A when I build A? ...

Visual Studio 2010 doesn't rebuild changed code unless I manually select "Rebuild"

In the past week or so, I've noticed that Visual Studio 2010 is not recompiling code unless I force it to. This is a C# 4.0 project with WPF. I hit F5, which seems like it used rebuild, if the code had changed, and then launch the app. Instead, it now says in the bottom left status bar "Build Successful" and launches the application. It ...

The SDL library I built from source crashes!

I've successfully built SDL from source using bcc 5.5.1 but any SDL test application using it crashes right away at startup. I'm looking for some help and/or guidance on how to resolve this issue. Just to fill in some info, SDL-1.2.14 was used. The project's compiled as a dll with multithreading enabled and linked to C runtime dynamical...

How to set up a large and complex Java web project so that "trial-and-error" isn't terrible waste of time?

This question is something like a holy grail of project environment setting. Here goes a rationale: Big projects tends to have poor documentation so there are a lot of trial-and-error cycles. Therefore I often use the reload-without-redeploy feature of some libraries (facelets, webflow, tapestry, jrebel...). The easiest way to use such...

how do things like maven-cli-plugin / mvnsh speed up the maven build?

sorry for being dumb here, but I failed to see why these tools can speed up the build. for example (if I understand it correctly), maven-cli requires you to do a build once: clean, compile, install, then it speeds up your build by caching the clean and compile phrase, so you can execute the install phrase only over and over. at my firs...

Firefox + jssh build

Has anyone been able to get anything past 4.0b1 of firefox either nightly or releases to build with jssh enabled in the .mozconfig, I get the error .js component without matching .manifest and if I change the rules I get a missing header file, which if I manually copy to the jssh directory and then build gives many many compile errors, w...

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

Ant copy files.

Is there any command in ant to copy files from one folder structure to another without checking the last modified date/time overwriting files. Basically I want all extra files from folder A to folder B. That is: no files of folder B are replaced but extra files of folder A comes to folder B. I saw "ant copy" and "ant move" commands, but...

C++ - building libraries

Hello! I'm building static libraries (right now libpng) in Microsoft Visual Studio 2008 SP1. Do I have any possibility to build single library (one file) for both Debug and Release modes assuming that my library has only C code in it? As far as I remember, gtkmm, for instance, has it's pre-built package, where C++ based libraries are ...

arm-eabi-gcc: Internal error: Segmentation fault (program cc1)

hello all, I am building new android system on Ubuntu 10.4 64bits, while building I got this error: This command caused the error, prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc -mthumb-interwork -Ibionic/libc/private -o out/target/product/generic/obj/lib/crtbegin_dynamic.o -c bionic/libc/arch-arm/bionic/crtbegin_dynamic....

mongoid new versus build

hello frens why mongoid dosen't insert id when calling new on an association, but inserts id when calling build on an association? Is this a bug or this is how it works in mongoid? ...

How can I build a version tagged in Mercurial with Hudson?

I'm using Hudson to build my project from my Mercurial repository. There are two jobs: One builds the tip, the other should build the latest release. When I tag a release and then use that tag in the field "branch", I get this error: [workspace] $ hg update --clean --rev Release_1_2_beta1 abort: unknown revision 'Release_1_2_beta1'! W...

How to Include Chipmunk libraries to iPhone Xcode project?

[SOLVED] I copy the chipmunk folder structure from cocos2d+chipmunk template and build OK. Classes/Chipmunk/include/src for 'src' folder Classes/Chipmunk/chipmunk for 'include' folder Thanks to Beta for trying to help. ::::: I download chipmunk 5.3.1 and try with a simple example but I receive this compiled errors: Undefined symb...

Debug Target Is Missing?

When I try to build my solution, I get the following error: Visual Studio cannot start debugging because the debug target 'c:\target' is missing. Please build the project and retry, or set the OutputPath and AssemblyName properties appropriately to point at the correct location for the target assembly. My output path is set correctly...