build

Debugging Nant Build scripts in VS 2005

HI, We are using NANT build scripts in our project. The scenario is as follows, In my Application I create an application( this is basically UI based, the user drags, drops widgets etc, these are stored as xml internally). then while I say Build application, we use NANT scripts to call XSLT transform, I do not know if it is possible to...

Do I have any way to check the existence of a directory in ANT? (Not a file)

Any idea on checking the existence of a folder using ANT? We can check the existence of a file but can we do the same for a folder as well? ...

Is it possible to switch Class versions at runtime with Java??

I have a java project I want to create which will be built on top of some vendor APIs. The APIs connect to servers running said vendor's software and perform various actions. I have 2 different versions of the servers supported by 2 different API versions. Any changes to the API's are in internal implementation only. I.E. The classes,...

Why would autoconf/automake project link against installed library instead of local development library?

I'm creating a library libgdata that has some tests and non-installed programs. I am running into the problem that once I've installed the library once, the programs seem to be linking to the installed version and not the local version in ../src/libgdata.la any longer. What could cause this? Am I doing something horribly wrong? Here is...

Auto Build using VSS

How can I make my auto build in VSS? It should get the latest files from VSS and build the code using Visual Studio 2005 (VSS does not provide any build facility) at a scheduled time (like in the mid night). ...

Chromium Build Fails on Windows

I am attempting to build Chromium for windows (using Visual Studio 2008 SP1) and it fails with about 37 errors. Here's a selection: Error 1 error LNK2005: "wchar_t const * const switches::kProcessChannelID" (?kProcessChannelID@switches@@3QB_WB) already defined in ipc.lib(ipc_switches.obj) common.lib chrome_dll Error 2 error LNK2005:...

Creating CSS sprites using msbuild?

Has anyone seen tooling, or even a process concept to generate css sprites from an existing website's images, and css during the build process? I should think the steps would be: walk an images directory create a single sprite file from all the images in that directory for each image find any css classes using that image update the cs...

NANT Build Scripts If Condition,

Hi, I have a query regarding Nant build scripts, I am fairly new to NANT build, In case I want to run a style bases on some condition in an xml file say count(${skinFolder}/screens.temp.xml//ActionCollection/Item) > 0 is there a way to achieve this ?? thanks in advance, Sidhartha ...

re-run of .net build when using teamcity

I am trying to setup a .net build using Teamcity. We got it to compile and now the problem is once started it keeps building in a loop. Is there a setting I can do to get rid of the multiple runs in Teamcity. I ran the MSbuild from command line using the same solution (.sln) file it works ok and runs only once. Thanks In advance Rega...

Building Mercurial 1.3.1 on Ubuntu Linux

I'm attempting to build mercurial 1.3.1. I've attempted this thus far on my Mac OS X machine and on a Linux Ubuntu virtual machine that I'm running. I keep getting errors while running the make. I know there are binaries availble for both Linux and Mac, but I want to build my own copy. I've always skipped out on building and I want to ...

"Build Solution" not working in Visual C++ anymore

I'm working on a personal project in Visual C++ 2008 and for some reason "Build Solution" doesn't work anymore...the code changes aren't registered unless I use "Rebuild Solution". Any ideas as to why this is happening? I've tried google, but found nothing useful... ...

How to create source distribution with self sustainable maven build?

What I want to do is to create source code distribution of my application with all dependencies and burn it on DVD. So that I could build it in 100 years (well, ok, you know what I mean...). No online dependencies on libraries or maven plugins! I know that Ant would be better for this, but I'm using maven in my project. I'm not going to...

Debugging ASP.NET website from Visual Studio causes restart of the website

Somehow, since some time I'm experiencing problems with debugging my ASP.NET website. Every time I try to debug the website ASP.NET shuts down (global.asax_Application_End is called). I believe this is triggered because the site is built by Visual Studio. However, manually (re)build the site and then start debugging also restarts the sit...

What is the difference between gmake and make?

I am trying to understand the difference between 'gmake' and 'make'? On my linux box they are identical: % gmake --version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOS...

How to fail a Maven build on a missing parameter?

I have a environment variable or jvm parameter which must be present. How do I get Maven to fail if this parameter does not exist? ...

Make Visual Studio stop rebuilding up-to-date projects?

Why does Visual Studio always build a project before running it EVEN WHEN IT'S NOT OUT OF DATE? Is there any way to skip this annoying behavior? ...

Deploying a WPF application using ClickOnce and Team Build

I have a WPF application that builds fine, I can even publish it (localhost) using ClickOnce - no problem. I want to create a Team build that will update the ClickOnce site, but can't find anyone that has done this or knows how. Any ideas? ...

How to generate propel ORM objects on virtual host with no include_path?

I have a dev server with several virtual hosts on it. Each one needs to be able to run the command: propel-gen ./ creole That script executes some php that reverse-engineers the database... BUT the php it executes needs to be included to do so. There is no include_path set in the php.ini because it would be global to all virtual hosts...

pbuilder create fail

I'm attempting to run "sudo pbuilder create" however, when retrieving packages a different one always seems to time out and fail causing the whole process. I've skimmed the man page, and I can't find any flags to set pbuilder such that it would retry several times to retrieve a failed package. Is this possible or do I have to just keep r...

What .NET Framework and C# version should I target with my class library?

I'm building a DLL class library - I want to make it usable by as many people as possible. Which version of the .NET Framework and which C# version should I use? Is it possible to produce a backwards-compatible DLL or different DLLs for different versions? Or does Windows automatically update the .NET framework so I should just use th...