build

Build Action for large set of images?

I'm in Visual Studio 2008 and I have a project that loads lots of images. I want the images to be deployed to the local instance of the software running. The trouble is that I tried using the images as a resource, but there are apparently too many(200 to 300) because I get strange build errors like GDI+ exceptions and Out of Memory Exc...

How to build a class library with Nant

How do I go about compiling a .net 3.5 class library into a dll with Nant (0.86)? This is what I have so far: How do I go about referencing a system dll in the GAC? This line done seem to work. <include name="System.ComponentModel.DataAnnotations.dll"/> This is my script: <?xml version="1.0"?> <project name="MyCorp.Data" default="a...

Create a "label" in subversion indicating what files should be in the next release

I've been using StarTeam for version control for some time, but am moving to Subversion. I've been reading the Subversion book and there seems to one major feature that StarTeam has that Subversion doesn't - the concept of labels. I know Subversion has labels, but they mean something different in StarTeam. In StarTeam, I can label a s...

How to get last build label in text file

I have one project which is under Cruise control. I want to write one console application which will write the last build label of that project in one text file. ...

How do I make Netbeans 6.5 use my file nb-build.xml instead of build.xml ?

When I create a new project in Netbeans, it generates a build.xml file which it will use to compile and run the project, along with other stuff in folder nbproject. Now, I want to have my very own build.xml file that I will use to compile to project on the server side. Some guys have tried to use the generated build file both in Netbean...

Xcode: The session is inactive. Please check your setup and try again. 0xE800001E

This happens after I hit Build and Go to run my app on my device. Build -> Clean fixes it, but it's very annoying to have to clean and rebuild the entire project every time I want to run it. P.S. Is there any way to transfer my app to my iPhone using Xcode, but not run it? ...

How to Set Path Environment Variable using CMake and Visual Studio to Run Test

I am using CMake to generate Visual Studio project files. I want to run the test executable after setting the PATH environment variable so that it is able to load the required dll. I tried as per the discussion at http://www.mail-archive.com/[email protected]/msg21493.html but it does not work. Have you used CMake with Visual Studio for ...

Setup Project for Windows Service won't build under Server 2008 (Visual Studio 2008).

Hey everybody We've got new machines here for doing development on running Server 2008. With Visual Studio 2008 we're having problems building a Setup Project which installs the Windows Service - Under Custom Actions then Uninstall, "InstallerClass property is only valid for assemblies". This builds and installs fine on XP SP3. Has a...

Installing shared assemblies into the GAC for development and build

I've read a few posts around here about the GAC and why you should never deploy applications by installing shared assemblies into the GAC. This i can see sense in as it should make updating applications on client machines easier. However, there are two areas where i could see the GAC being useful is for during development and on a buil...

Is it possible to explicity tell maven to download and install an artifact to the local repository?

Yes I read http://stackoverflow.com/questions/884808/ and other related questions, but I don't want to install the file manually. Actually I want to have something like a wget for maven, which fetches an artifact (with dependencies) and puts it somewhere or installs it in the local repository. Is the maybe a plugin available which does t...

How can I offload a build to a server to stay productive?

I have several large projects that I work on. Depending on the project and options, build times are from 10-100 minutes long, rendering me useless for that time. I do have a few extra computers laying around however. Is there anyway that I can configure these computers as 'compile nodes' so that I can still work while a build is going o...

How do I use MS C++ Express 2008 to build Perl Unicode::Map on Windows?

I am currently trying to make the Unicode-Map-0.112 module, but encounter an error, '0x1', that is evidently related to using nmake. I tried to follow suggestions on Perl Monks, i.e. http://www.perlmonks.org/?node_id=434813 However, I am unable to use ppm's capabilities because I am on a Windows machine without a network connection, a...

Access Java class public member variable from Ant and use it in a build task

My Java app displays its version number in a few places, so I store that as a public final variable in the app's main class. Is there any way to access that in my Ant build tasks? In the spirit of automating the build process, I'd like Ant to automatically name the zipped distributable with the current version number, but I'm not sure ho...

Maven assembly plugin fails with NullPointerException?

I get a NullPointerException and I don't like it. It is a larger build with several submodules (which differ in their maven config only slightly), for most of the modules it does work, but for some not. Any ideas what the problem might be? [INFO] [assembly:assembly] [INFO] Reading assembly descriptor: src/assemble/all.xml [INFO] -------...

Building GMP library with Visual Studio?

Is there an easy way to build the GMP (GNU Multiple Precision Arithmetic Library, http://gmplib.org) under Windows, using Visual Studio 2005? I tried to find information about building the library myself, but could not find anything that really helped me. I'm not very experienced with building libraries myself (I've managed to build boos...

Visual studio release build

Hello, I'm trying to generate a release build for a C++ application that I've written. The application runs fine (debug & release) when you run it from within VS2008; but when you run the executable it crashes nearly every single time. Now, is there a hack so I can run this application as a standalone application without having to run...

Ant Sshexec output blocked?

I'm using ant-jsch-1.6.5 and jsch-0.1.41 and groovy-1.6.3 (which uses ant-1.7.1) new AntBuilder().sequential{ def user = "user", pass = "pass", host = "host" echo "echo 1" sshexec( host:host ,username:user, password:pass, verbose:true, trust:true , command:"touch 1.txt" ) echo "echo 2" sshexec( ...

How to enable build timing in Xcode?

Hello, I'd like to know how long my project's builds take, for example by displaying it in the build pane. Is this option available somewhere in Xcode? Thanks. ...

How to turn off jar compression in Maven

Is there an option in Maven (2.0.9) to turn off jar compression for the entire operation? I'm using Maven both in the build server and in my work station and I'd like to disable jar compression on the work station builds (development only). However, I don't want to touch all the poms and create two versions for each. Is there an option ...

Header files in subdirectories (e.g. gtk/gtk.h vs gtk-2.0/gtk/gtk.h)

Hello, I'm trying to build a hello world using GTK, which includes the line: #include <gtk/gtk.h> as you would expect. The Makefile supplied has the line: GTK_INCLUDE = -I/usr/local/include so it would expect to find gtk.h in /usr/local/include/gtk/gtk.h. However on my system, it is located in /usr/local/include/gtk-2.0/gtk/gtk.h...