build

Build With ILMerge Error

Has anyone had this error with IlMerge? I am trying to merge a few assemblies for a .NET project using the 4.0 Framework. ILMerge /log /lib:..\Libraries /targetplatform:v4 /internalize:..\SolutionFiles\CJCommon.exclude /ndebug /out:bin\Release\Common.dll obj\Release\Common.dll C:\Development\CJCommon\Libraries\FluentNHibernate.dll C:\D...

The eclipse autobuilder often ignore the resource directory

I use eclipse and the maven plugin. I have a big multi-module project (~6 modules in the workspace). I often have the problem that when running my program (jetty:run) my application does not start because resource files are missing. Looking in the target folder, I noticed they haven't been copied. Only "project" "clean" helps in this cas...

Getting xib file errors and waring about lack compatibility with OS versions < 3.0

I have a project that has existed for quite a while, and I recently upgraded it to 4.0. Though it now throws out a bunch of warnings and an error similar to this: {some xib setting} is not supported on iPhone OS versions prior to 3.0. I have the Base SDK set to 4.0, and the deployment target set to 3.1, so why does XCode think it ...

maven findbugs 'high water mark'

[findbugs is the example here, question is applicable to any such maven plugin] I attended a build lecture not long ago and a pattern that was talked about that I quite liked was: when adding a new tool to the chain and you start with n violations, you should keep n decreasing (a high water mark) and fail the build only when current che...

How to build Boost::program_options

I wanted to use boost::program_options. After I installed boost, I think that I have to build separatly program_options (http://www.boost.org/doc/libs/1_43_0/more/getting_started/windows.html). But I don't know how to do it. I am trying to compile the C:\Program Files\boost\boost_1_42\libs\program_options\example\first.cpp (http://www.b...

Building a project with CMake including other libraries which uses different build systems

I am working on an open source project which uses C for libraries, C++ for GUI and Cmake for managing build. This project is just started and have only couple of files. I can successfully generate makefiles on my linux development environment and on windows I can generate Visual Studio project files using CMake. All works well so far. A...

What pattern do you use for executing generic steps on a pool of machines

I'm trying to figure out how to model my build process in hudson. At present most of our hudson builds are somewhat hard coded in that the build process is series of steps and we have one process per branch. I have another build system that has many active branches and each build has a series of integration tests which require a suit o...

Identifying unoficial Android devices

I might not like it, but the number of unofficial Android devices is growing and most of them have custom modifications to the Android OS or do not comply with the Android Compatibility Definition Document. For example, the aPad/iRobot has made changes to the way the system handles screen rotations and the Eken has a virtual Menu button...

OpenCL build program from binary

Hello, I'm trying to test the OpenCL functionality of building a program from pre-compiled binaries. So far I've managed to create the binary file, but I'm having trouble to load it. I'm trying to adapt this code for use with the C++ bindings: FILE* fp = fopen("oclLLtoUTM.ptx", "r"); fseek (fp , 0 , SEEK_END); const size_t lSize = ftell...

Why can't MSBuild ToolsVersion 4.0 build older projects?

We're using Cruse Control to manage our build process. AS we convert vs2008 projects to vs2010, we're leaving the target framework set at 3.5 for web and class library projects. At this point we're not going through and converting all our solutions to vs2010; not if we don't have to. I recently updated the MSbuild project files that cr...

How do I build MVC Contrib for .NET 4?

I've downloaded the source code, converted the solution to VS10 format, fixed all compilation errors (mainly deleted references to .NET 3.5 versions of System.Web.Routing and System.Web.Abstractions and added .NET 4 versions in their places) and compiled the project. But when I add a reference to one of the output assemblies (in this ca...

Safe Unity Builds.

I work on a large C++ project which makes use of Unity builds. For those unfamiliar with the practice, Unity builds #include multiple related C++ implementation files into one large translation unit which is then compiled as one. This saves recompiling headers, reduces link times, improves executable size/performance by bring more func...

How to manually build a universal ruby on Mac OS X? How about with rvm?

I got the ruby sources from the official git mirror, then checked out the ruby_1_9_2 branch. git clone http://github.com/ruby/ruby.git git checkout ruby_1_9_2 So, for now, I want to compile 1.9.2-head. But as you'll see later I'm hoping for a solution that works for 1.8 too. The standard way to compile this is: autoconf ./configu...

Removing the explicit runtime dependencies to other projects' libraries in Eclipse launch configurations for projects that use Plug-in descriptions?

In Eclipse it is possible to create launch configurations in a project, specifying the runtime dependencies from another project. A problem I found was that if you have a multiple project workspace, being possible that each project has its own libraries, it is easy to add explicit dependencies in a secondary project to libraries that are...

Build and Include configurations with eclipse PDT

Im using eclipse PDT to develop a php project. There are several pieces of external code that we need to include (eg PHPExcel). Is there a way to set up my project so that i can get the auto suggestions from these classes etc whe typing the code but not get the list of validation problems and "todo"s that tey have? Perhaps i need to set ...

compiling iphone 3.1.3 with XCode 3.2.3 ???

Hi guys I just downloaded XCode 3.2.3 with iphone sdk 4, but I need to compile my app with 3.1.3, but there is no option in the project settings for that (just 4.0 or 3.2). Is there any other possibility for me besides downgrading to XCode 3.2.2?? ...

How do I build and deploy a Windows Service with TFS 2008?

I have a build server with many builds for web sites and web services. I'm doing some new code using WCF; my new code runs as a Windows Service. Ordinarily, when I make changes to a web site, I "check out" the files I need to edit from TFS, make the changes, "check in" the files, and then perform a build. At this point, my new code is...

Building in 64 bit Windows on VS2008 gives C2632 error

So I am trying to build an 32 bit application in 64. I am linking to all 64 bit libraries, and I have recompiled everything we used for 64 bit. I am getting weird errors now. I have seen some similar errors over the net but nothing useful in those topics. Any idea what could be wrong that causes this behavior? warning C4091: 'typedef ...

How do I specify 64-bit machine architecture when building boost libraries with bjam on solaris?

That's the question. Thanks in advance. ...

What are good Ant target naming conventions?

I'm about to create some complex Ant build files and I wanted find out what people think are best practices for naming ant tasks. It is going to build some Java, C++, compresses JavaScript, generate docs and lots more. What tasks do you always add to an any script? Things like clean, build? How to you name targets that make up a single...