build

How to get a reference to the jar file produced by Gradle build?

I need to sign a jar after the jar task is being done in gradle. I have a need to reference the produced jar file from the build, and I can create recreate the jar file, but I really look for a property that does this for me. Here is how I've done it: jar.doLast { jarfile = project.libsDir.path + File.separator + project.Name + '-' ...

I have a error building a .vdproj on msbuild with nant

I'm getting used to using nant for build releases. But I have started to use asp.net MVC, and i choice make the setup for installation with a .vdproj . But, when I call the: < exec program="${dotnet.dir}/msbuild.exe" commandline='"./Wum.sln" /v:q /nologo /p:Configuration=Release' /> in nant, my result is: [exec] D:\My Document...

How to decrease build times / speed up compile time in XCode?

What strategies can be used in general to decrease build times for any XCode project? I'm mostly interested in XCode specific strategies. I'm doing iPhone development using XCode, and my project is slowly getting bigger and bigger. I find the compile / link phases are starting to take more time than I'd like. Currently, I'm: Using S...

How to build from the source?

I cannot use sqlite3 (build python package). The reason of the is missing _sqlite3.so. I found that peoples had the same problem and they resolved it here. The solutions is given in one sentence: By building from source and moving the library to /usr/lib/python2.5/lib-dynload/ I resolved the issue. However, I do t understand...

C# could not load file or assembly...system cannot find file specified

Writing a routine WinForms app that references a few custom libraries written by myself. I am building one particular library which depends on another library and, when I do, I get the following warning message: "Could not load file or assembly 'RHLib' Version 1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. T...

Third party libraries in CMake

I am using cmake for my project, but I have another library in a subdirectory ( say lib/ ) which uses a plain Makefile. How do I instruct CMake to run the Makefile in lib as part of the build process? ...

Local Build Automation?

Working in a team environment, we have a Team Foundation Server that also contains a Team Build component. It is configured to automatically build all projects and solutions at specific times or on request. We develop a product that is built with several solultions that depend on eachother. When things have been changed in one solution,...

Reason why a VS 2008 project is being rebuilt each time

Is there a way to find out the reason why a project is being rebuilt each time a Build Selection operation is issued in VS 2008? I've tried to even remove all dependencies from the Build\Configuration Manager (unchecked the build column for all assemblies, but the one in question). I get the same result: the assembly is rebuilt each ti...

how do I specify a list of folders for subant task

I need to be able to call a subant task on a prespecified list of project folders which may or may not be siblings. I know I can call subant task like this: <subant antfile="custom-build.xml" target="custom-target" inheritall="false" failonerror="true"> <filelist dir="${parent.dir}"> <file name="project1"/> <file nam...

Simple Java Ant build problem

Completely new to Ant and I have just a simple problem. I'm running ant with a input file: ant -Dargs="input.txt" run but it says it cannot find input.txt (No such file or directory). I have the build.xml file and input.txt in the same directory, above src and bin. Here is my build.xml file, am I missing something? <project name="Pro...

Ant Javadoc Question

I want to make a Javadoc from an ant build file, but I don't see where it is. In build.xml I have: <description> A sample build file for this project </description> <property name="source.dir" location="src"/> <property name="build.dir" location="bin"/> <property name="doc.dir" location="doc"/> <property name="main.cla...

What does the load-average used by parallel make represent?

Using GNU make on Windows, what exactly does the load-average value represent? For example: make -j --load-average=2.5 What does the 2.5 mean? ...

Maven - how can I add an arbitrary classpath entry to a jar?

I have an unusual situation where I need to add an arbitrary classpath entry (that points to a jar file) into the manifest of an executable jar. (This is for a Swing desktop application.) The maven-jar-plugin generates the "Class-Path" entry for the jar manifest using the maven dependencies, and there doesn't appear to be any way of add...

Rake: How to specify that a task has multiple dependencies?

I would like to specify that :output_core depends on :build_core :build_extension depends on :build_core :output_extension depends on :build_extension and :output_core How would I specify that last one? That in order to run the :output_extensions tasks both :build_extensions and :output_core must have completed? ...

Trying to include a library, but keep getting 'undefined reference to' messages

I am attempting to use the libtommath library. I'm using the NetBeans IDE for my project on Ubuntu linux. I have downloaded and built the library, I have done a 'make install' to put the resulting .a file into /usr/lib/ and the .h files into /usr/include It appears to be finding the files appropriately (since I no longer get those err...

Maven build deployment

Hello, I have to manually deploy my servlet war packages on an Apache tomcat instance running on an AWS (Amazon Web Services) machine (remote server). Also i have Maven setup for dependency management and build packaging in local development environment. What I want is to setup my maven install/deploy task such that my packaged war fi...

Is there a way to exclude certain source files or folders from a makefile?

Is there a way to exclude some files from the compilation process? Or even whole directories? I believe the makefile is using find to find all the source files inside the src directory. Is there a way to specify the directories to ignore from find? Like some switch, or something? ...

How do I make Boost build for i386 on OS X 10.6?

I've been battling with Boost to make it compile as only 32 bit on 10.6, rather than 64 bit. Is there an easy edit I can make to the darwin-specific bjam config file? Thanks, Jon ...

Why does Apache mod_perl build using APACI lose CFLAGS?

I am trying to build Apache 1.3.41 with mod_perl 1.31 for deployment to a Solaris 8 SPARC server. We must use 1.3 for now because of a number of essential applications currently deployed to a very large scale web site. I am using the new(er) APACI technique as described in the mod_perl install docs but when I look at the compilation com...

What are ways of improving build/compile time?

I am using Visual Studio, and it seems that getting rid of unused references and using statements speeds up my build time on larger projects. Are there other known ways of speeding up build time. What about for other languages and build environments? What is typically the bottleneck during build/compile? Disk, CPU, Memory? What is a li...