build-process

How do I build a single bundled JAR with all the needed classes to run a Java application?

I'm going to deploy a Java application with a custom launcher, and I need to have all the classes needed for my app in a single jar file so I don't have to deploy the entire Java SE libraries with it. I was thinking of using some pre-existent ant tasks to create a target that recursively searches all my compiled classes files for its d...

Speedup GNU make build process - Parallelism?

I build a huge project frequently and this takes long time (more than one hour) to finish even after configuring pre-compiled headers. Are their any guidelines or tricks to allow make work in parallel (e.g. starting gcc in background, ...etc) to allow for faster builds? Note: Sources and binaries are too large in size to be placed in a ...

Does CMake has something like % substitution support from Make?

I need a chain of file processing in my build-process. Workflow can be easily specified and built around a filename, only extension changes, like file.a -> file.b -> file.c. So, it's clearly a case for Make's declarative syntax. But as I see, for CMake this will look like an explicit *add_custom_command* for each file for each step of pr...

installing boost 1.42 (or any other version) on Vista with Visual Studio 2010

Hello, I want to install boost library on ma PC with Vista and Visual Studio 2010. First of all a downloaded boost 1.42 from official site and unpacked to c:\boost_1_42_0 Then I invoked bootstrap.bat but i get some errors: c:\boost_1_42_0>bootstrap.bat Building Boost.Jam build engine Failed to build Boost.Jam build engine. Please con...

Multiple Platform Builds in single Xcode Project

I am using Xcode Version 3.2.3 64 bit on MacOS 10.4.6 (Snow Leopard) with the iPhone SDK 4.0 I want to create a static library which uses Cocoa/Objective C++. This static library needs to be compiled for both the iPhoneOS and for MacOS as its used by both iPhone and MacOS GUI front ends. I have tried to create two targets in the same p...

Registration free COM: VB6 Executable referencing VB6 DLL

So, I've got a single VB6 executable that references multiple VB6 COM DLLs. Is it possible for me to generate, on-the-fly, a manifest for the executable as well as a manifest for each of the referenced DLLs? If so, then how? I would like to perform this operation as part of our build process without having to register the COM DLLs a...

how to get a dependency tree for an artifact?

dependency:tree can be used to see the dependency tree for a given project. But what I need is to see the dependency tree for a 3rd party artifact. I guess I can create an empty project, but I'm looking for something easier (I need to do this for several artifacts). ...

Portable C++ build system

I'm looking for a good and easy in maintenance portable build system for C++ projects. Main platforms should include Windows (Visual Studio 8+) and Linux (gcc); Cygwin may be an advantage. We're considering two main possibilities: CMake and Boost.Jam. SCons can be also an option, but I haven't investigated it yet. CMake and Boost.Jam see...

What are good resources for learning how to manage builds and releases?

I recently took on the responsibility for managing our company's builds and releases. We ship our products as both a web service and as a licensed product that customers can install on their internal servers. My job involves making sure QA has the builds they need for testing, which may come from the main development branch or feature-...

ld can't find lib to link

The following is an example to describe my problem: ld -Lpath1 -Lpath2 -lA -lB -Xlinker -T -Xlinker \ -W1,-rpath,/usr/local/lib -l-o target ld: cannot find -lA collect2: ld returned 2 exit status Both path1 and path2 are relative paths, and I can find the library A according to the ld's pwd, so why did the ld output this error msg...

Visual Studio 2005 creates output directories in lowercase

I am using a standard operating environment which involves Visual Studio 2005 running on Windows XP. The source for the solution is managed in Linux, but edited and compiled using Visual Studio on a Windows computer via a network share. The problem I am facing is that if I change the output directory of certain projects of my solution,...

Using 3rd Party SDK and Finder doesn't finish compressing the app file. Any idea what's wrong?

I found this 3rd party SDK and I used it in my project. Everything compiles, works great and builds with no warnings... Before I was getting a warning saying that the CodeResources file needs to be a symbolic link...it's gone now but I think that it still has something to do with this problem... As soon as I try to compress the app fil...

Should I use CruiseControl or write my own build software?

The project I'm working on consists of front-end development - HTML, CSS, Javascript and image files. I want to set up a build process which does the following. Monitors a CVS repository for changes On each commit, takes the committed files and uploads them to a server via FTP Future potential requirements: ** Run JSLint on the Javasc...

Why do I have to enter data twice for exec in ant scripts?

In the following ant build.xml snippet, I am performing an rsync operation. The rsync command prompts for a password. The problem is, when it prompts for the password, I enter it once, hit enter, and nothing happens. So I type it again (second time) and hit enter, then it works. It's strange to me that I have to enter it twice and I ...

What does Amazon use for its build and release system

Amazon is a SOA system with 100s of services (or so says Amazon Chief Technology Officer Werner Vogels). How do they handle build and release? Anyone know what they use or the overall structure? I'll bet it would be very interesting to read about their lessons learned. ...

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

Netbeans Mobility Obfuscation problem (Proguard)

I am upgrading my development environment from Netbeans 5.5 to 6.9. Along with that comes a change from Proguard 3.5 to 4.4 for obfuscation of my J2ME apps. Where before my projects built fine, I now get warnings about not being able to find referenced classes. Warning: class1: can't find referenced class class2 Warning: class1: can...

How do I compile a single module in a scenario of two multi-module Maven projects

How do I compile a single module in the following scenario of two multi-module Maven projects A and B. Both projects are located in the same directory so that the directory structure looks like this: root |-- A | |-- A1 | |-- A2 | `-- A3 `-- B |-- B1 `-- B2 All directories except root have their own pom.xml files and ea...

Is there a way to get Visual Studio to run "Transform All Templates" upon a successful build?

I have a T4 template that geneates helpert code based on other code that is declared within my project. Because of this, I have to build my project before I run "Transform All Templates". Is it possible to have "Transform All Templates" run as a post-build-event upon a successful build? ...

Generating IDL entities using automake/Makefile.am

For those unfamiliar with IDL (interface description language), it abstracts data description for use across platforms (java, c, c++, etc). My project has dependencies Foo.c, Foo.h, FooHelper.c, and FooHelper.h which are generated from Foo.idl. How do I run an arbitrary command when Foo.idl changes, but still include Foo.c, FooHelper.c, ...