build

How do I automatically set assembly version during nightly build?

We have a nightly build process that automatically versions all C++ projecs. Here's how it works. There's a common header file VersionNumber.h that has a specific #define for the version number. The nighly build checks this file out, increments the integer behind that #define and checks it in. All Visual C++ projects #include that header...

How to change target build on Android project?

I currently have an Android project in Eclipse. I created it with a target build of 1.5 (sdk 3). Now I want to change it so that it has a minSdk of 3 and targetSdk of 8. To do this I see that I must build against the newest SDK (2.2) To do this in Eclipse I right click on my project, go to properties, click on Android and change the ...

Eclipse spazzing over Build.BOOTLOADER and Build.RADIO

According to the SDK we should be able to read the bootloader and radio versions, but Eclipse is freaking out about it. I can read any other Build.ITEM fine. Any idea? ...

Determine all of the file dependencies in a build process that uses makefiles and ant scripts

I'm trying to understand the build process of a codebase. The project uses both autoconf (configure scripts that generate makefiles) and Maven. I would like to be able identify all of the file dependencies in the project, so that for any output file that ends up being generated by a build, I can identify how it was actually produced. Ul...

Determine if the action was "Build" or "Build and Run" in XCode?

I have a custom application which requires a bunch of things to be set up before it is run. I want to add it as a build phase so I can use it when I do "Build and Run" but not when I do "Build". How do I check it in a shell script which is run as a build phase at the end? Please don't ask why ...

eclipse: auto build after save

Hi, I have an ant script that creates runnable jar and I want it to run each time I make changes in my code and save them. I guess I need some "auto build after save" option in eclipse. Is there such a thing? Thanks, Dave ...

Compiling node.js on Cygwin

Hi. I'm trying to build node.js on my Windows XP box (Yes, it IS painful, thanks.) using Cygwin following Ryans instructions here. Sadly calling "./configure" from the node source directory barfs up this: $ ./configure /home/LWE/sources/node.js/wscript: error: Traceback (most recent call last): File "/home/LWE/sources/node.js/tools/w...

Running test from Maven fails and stops building the jar

I am trying to build a jar using maven , this jar was build using ant. When I run tests from maven I got an: ERROR org.hibernate.tool.hbm2ddl.SchemaValidator could not complete schema validation org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'net.sourceforge.jtds.jdbc.Driver' which comes from: Caused by:...

Use -isystem instead of -I with CMake

Is there any way in CMake to force a path specified via include_directories (or perhaps through a different function) to use the -isystem flag instead of the -I flag when building with gcc? See http://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html#Directory-Options for details on -I and -isystem. ...

How can I ensure that all my hudson build slaves check out the same svn revision for the daily build?

My workplace uses Hudson for its daily builds, with several build slaves (one Linux, one Windows, one Mac) checking out our full codebase from svn and building our app at midnight each day. This all works fairly well. There is an occasional problem that happens though... sometimes a developer will be working late, and will check in a c...

ANT_HOME is set incorrectly or ant could not be located.

I'm trying to build a project in Ant, using BuildFile (build.xml). Although ANT_HOME environment variable clearly exists and is set to the path where "ant.bat" is located, it always displays this error message. How to configure Ant properly to compile builds in Windows? Thanks ...

Java Project Compilation Errors

I have downloaded a complete package of Java product and trying to compile it using Ant. The project compiles with many errors, mostly related to imports starting with "org.apache.commons". I'm new to Java. It looks to me that some system component is missing. Some of the errors are: package org.apache.commons.logging does not exist ...

creating a build file with ant

I am trying to work through the HelloWorld example on the Web that shows you how to create a build file using ANT in Eclipse. This is the project build file from the web example <?xml version="1.0" encoding="UTF-8"?> <project name="HW.makejar" default="makejar" basedir="."> <target name="makejar" description="Create a jar for th...

Use cases for using netmodules when compiling .NET assemblies?

I'm interested in use cases for netmodules in .NET. In particular, I've been looking into better ways to break up solutions in .NET but not have quite as many assemblies to deploy. Netmodules are a very interesting idea, but they appear to break debugging and are not natively supported in Visual Studio (though they are for MSBuild). I'd ...

Qt windows libmysql.dll

I have installed MySQL 5.1.49 and the binary QT 4.6.2 for Visual Studio 2008. I configured Qt as follow: C:\Qt>configure -static -no-webkit -plugin-sql-sqlite -plugin-sql-mysql -I C:\mysql\include -L C:\mysql\lib\optC:\Qt\src\plugins\sqldriver Everything went fine, no errors. When I run nmake on my application everything runs fine, no...

Git dealing with large amounts of files which shouldn't be checked into svn.

I'm using git behind svn, and for each branch I have, I need to do a full build (which takes a few minutes). These build files should NOT be checked in, but they are intermingled with user-modified files, which means I cannot just exclude the directory. The user-modified files are likely to change, also, which means I can't make special ...

Use version qualifier replacement in buckminster

Hi, In my cspex I have action that creates product <public name="create.product" actor="ant"> <actorProperties> <property key="buildFile" value="build/product.ant" /> <property key="targets" value="create.product" /> </actorProperties> <properties> <property key="profile" valu...

List of common environment variables for cross-platform, Apache Ant, builds

Does anyone have a list, or even better a target that normalizes, the environment variables that are common on Linux, Windows, and OSX that would enable cross-platform, consistent Apache Ant builds? For example: On OSX, you can specify env.HOME and perform file operations, like loading a property file, from the user's home directory, /...

Getting Error running javac.exe compiler message, while using Ant in Eclipse

When I run my Ant build in Eclipse, I'm getting the following error message and the Ant build fails. Error Message: Error running javac.exe compiler Line where the build stops: <javac destdir="${classes.home}" debug="on" fork="true" memoryinitialsize="512M" memorymaximumsize="1G"> <classpath refid="classpath"/> <src pa...

My ear which was build with maven does not generates its APP-INF/lib

As I said in title when i build ear the artifacts (wars and ejbs) are copied inside ear but the APP-INF/lib is missing, and i don't know what could be the reason. This is a part of pom.xml: <plugin> <artifactId>maven-ear-plugin</artifactId> <version>2.3.2</version> <configuration> ...