build

Using Maven 1.x without extra plugins, how does someone build an executable jar?

Using Maven 1.x with just the bundled/standard plugins, what configuration is necessary to build an executable Jar? Answers should cover: including dependencies in target Jar proper classpath configuration to make dependency Jars accessible ...

How do I delete a dirset of directories with Ant?

I want to delete all directories and subdirectories under a root directory that are contain "tmp" in their names. This should include any .svn files too. My first guess is to use <delete> <dirset dir="${root}"> <include name="**/*tmp*" /> </dirset> </delete> This does not seem to work as you can't nest a dirset in a...

Is there build farm for checking open source apps against different OS'es?

I have an Open Source app and I have it working on Windows, Linux and Macintosh ( it's in C++ and built with gcc ). I've only tested it on a few different flavors of Linux so I don't know if it compiles and runs on all different Linux versions. Is there a place where I can upload my code and have it tested across a bunch of different sys...

How can i speed up my maven2 build?

I'm using a local artifactory to proxy the request, but the build and test phases are still a bit slow. It's not the actual compile and tests that are slow, it's the "warmup" of the maven2 framework. Any ideas? ...

I work in SCM/build. How do I tell non-programmers what I do?

Friends/family/etc ask me what I do and it always causes me pause while I think of how to explain it. They know what a software developer is but how can I explain what SCM is in 10 words? ...

How can I embed one file into another with Ant?

I am developing a small web app project (ColdFusion) and I am trying to keep my project split into multiple files during development, but deploy just one file on completion. I have references to external files, for instance: <script type="text/javascript" src="jquery-1.2.6.pack.js"></script> <link type="text/css" rel="stylesheet" href=...

How do I compile to x64 binary from a x86 platform running VS2008 Pro?

I am trying to compile my apps (which uses 3rd party libraries) for the x64 platform. However selecting x64 from Build Configuration Manager from my VS2008 Pro doesn't seem to work. The binary does get created but my client wasn't able to get it to run on x64. I wonder if the 3rd party DLLs could be the cause. Anyone has any idea on th...

Make and build utilities on CentOS/RHEL?

Hello, I've been unsuccessfully searching for a way to install make utility on my CentOS 5.2. I've looked through some RPM repositories and online, with no avail. Installing gcc, gcc-c++ didn't help! Package build-essential is not made for CentOS/RHEL. I have RPMFORGE repo enabled in YUM. ...

Recommended spec for a build server

We're using CruiseControl.NET to manage our builds and we're in the process of obtaining a new build server. I've been tasked with coming up with the spec for the new server. This server will need to run multiple builds concurrently and as effeciently as possible. What would you consider the ideal spec for this server? Any links to ex...

Exporting DLL C++ Class , question about .def file

I want to use implicit linking in my project , and nmake really wants a .def file . The problem is , that this is a class , and I don't know what to write in the exports section . Could anyone point me in the right direction ? The error message is the following : NMAKE : U1073: don't know how to make 'DLLCLASS.def' P.S: I'm trying to...

How do I track down obsolete build configurations in VS 2008?

I have a large solution containing many C# projects. When I open the solution and hit F5 for the first time, I get compile errors like the following: Error 3 Metadata file 'C:\Users\david\Documents\VS.Projects\CeoTrunk\Ceoimage\bin\x86\Release\Ceoimage.dll' could not be found. I'm compiling the solution and the projects producing ...

T4 Template directory missing on build server

I've just set up a new build server with the Windows 2008 .NET 3.5 SDK, and for some reason it hasn't installed c:\Program Files\Common Files\Microsoft Shared\TextTemplating so I can't run t4 templates on it. I had a look at the install options in add/remove programs and every single option is checked. Any ideas why it is missing? Any ...

Is Ant still the best choice for a Java build tool?

From my small amount of experience, I've only used Ant as a build tool. Are there any other projects which are better, and why? ...

Define cross directory dependencies in Jam

After many years of using make, I've just started using jam (actually ftjam) for my projects. In my project workspaces, I have two directories: src where I build executables and libraries test where my test programs are I'm trying to set up a dependency on test programs so that each time I compile them, the libraries will be recomp...

gcc linker issue

I am trying to make a library that wraps libpurple (you shouldn't need to know anything about libpurple to help here). Libpurple in turn loads "plugins" which are just .so's accessed via something like dlopen. Those plugins in turn call back to functions in libpurple. I can build my library just fine, but when it calls the appropriate l...

Is there a tool to automatically fetch build dependencies under Debian or Ubuntu?

I recently downloaded the source tarball for a GTK application that I'd like to improve. It uses the standard ./configure and make build sequence. The first time through, configure reported a bunch of unmet build dependencies, such as libgnomeui-2.0. As I usually do, I had to manually go through and find the Debian *-dev package names...

How to determine build architecture (32bit / 64bit) with ant?

We have inherited an ant build file but now need to deploy to both 32bit and 64bit systems. The non-Java bits are done with GNUMakefiles where we just call "uname" to get the info. Is there a similar or even easier way to mimic this with ant? ...

Team Build Error: The Path ... is already mapped to workspace ...

When creating a new build in Team Foundation Server, I get the following error when attempting to run the new build: The path C:\Build\ProductReleases\FullBuildv5.4.2x\Sources is already mapped to workspace BuildServer_23. I am unable to see a workspace by that name in the workspaces dialog. ...

Build Incrementally in VS 2005

We have a 50 projects solution in VS 2005. Is any way to get incremental build if nothing was changed? It is kind of doing it now, but it executes all prebuild and post build events for each project. Is any way to prevent it? ...

Incremental Building in VS 2005?

We have a 50 projects solution in VS 2005. Is any way to get incremental build if nothing was changed? It is kind of doing it now, but it executes all prebuild and post build events for each project. The compiling itself is not happenning, but it iterates through all projects and executes all prebuild and post build events for...