build

Excluding .git in an Ant <tar> task

I'm using Ant 1.7.1 to tar up the contents of a directory, that contains a .git subdirectory. My current task is <tar destfile="sali-src-${version}.tgz" basedir="${basedir}" compression="gzip" excludes=".git, .gitignore, *.ipr, *.iws, *.iml"> </tar> But the resultant tarball contains the .git subdirectory. Could anybod...

How can I work with filenames with spaces in bjam?

I need to describe an external library in a Jamfile. The location of the library is held in an environment variable. set EX_LIB_PATH=C:\Program Files\Ext Here is the snippet from the Jamfile: --snip-- lib extlin : : <file>$(EXT_LIB_PATH)/lib/library.lib ; --spin-- bjam croaks saying that "C:\Program" cannot be found. What can b...

How do you get up and running with a build server?

I think everyone here would agree that in order to be considered a professional software house there are number fundamental things you must have in place. There is no doubt that one of these things is a build server, the question is, how far do you need to go. What are the minimum requirements for the build server? (Somewhere to just ...

How can I modify/extend a rake file from another rake file?

I'm trying to find a way to modify/extend a RakeFile from another RakeFile without actually changing it. When I run my rake task I retrieve a solution from SVN which contains a rakefile. I want to: Change a variable in this rakefile. Add a new task to this rakefile which makes use of existing tasks. Execute the new task. I want t...

How can I generate multi-line build commands?

In SCons, my command generators create ridiculously long command lines. I'd like to be able to split these commands across multiple lines for readability in the build log. e.g. I have a SConscipt like: import os # create dependency def my_cmd_generator(source, target, env, for_signature): return r'''echo its a small world after ...

Is there a way to run an outside executable after a SPECIFIC solution is built in Visual Studio 2008?

I had the same question as was asked in this thread, i.e. I was looking for a way to run an executable or script after building a solution in Visual Studio. I tried out the suggested solution of catching the OnBuildDone event with a macro, which (as I understand it) needs to be placed in the EnvironmentEvents section under MyMacros in...

What does a DependencyReplicator.xml file look like?

I am trying to get started using Dependency Replicator http://www.codeplex.com/tfsdepreplicator. There is no documentation in place and therefore no example of a DependencyReplicator.xml file which I need in order to take my experiment further. Can anyone using Dependency Replicator supply a demo .xml file? ...

InstallShield Runtime?

We have InstallShield 2009 Premier installed on one system on which it is used to create and compile setups (one seat license). However, we are trying to create a one-click-build-experience by using Team Foundation Build Server to do nightly builds. We would like to integrate the generation of the setup files as well. I know that there...

Maven Embedded Jetty Container fails to load Taglibs: Unable to initialize TldLocationsCache

Hi all, I'm using the Maven Cargo Plugin to startup a Jetty web container for running some integration tests in a separate project module. The problem i'm battling with occurs when i added taglibs into the jsp pages and tried hitting them from the integration tests. When jetty tries to compile the pages it fails with this error: org....

Optimizing Visual Studio solution build - where to put DLL files?

I found out that build time of C# solution with many projects gets much faster if you don't have "copy local" enabled everywhere. I did some tests and it seems that (for our solution at least) we could increase build time by factor 2-3 just by removing "Copy local". This probably means we have to store libraries in some common directory...

Is it possible to modify the output of a macro in VS 2005?

Hello, I'm using the Custom Build Rules feature in Visual Studio 2005, which allows to use macros such as $(ConfigurationName) in the XML .rules file. I need to pass only a subset of $(ConfigurationName) as a parameter to my command-line tool: If my target is named "DebugBuild", I'd like the command to end up like "tool.exe -Debug". ...

How can I detect a Windows service at project build.

I'm working on a solution that contains a Windows Service and a WinForms client that interacts with that service. In my pre-build and post-build events, I have some net start and net stop commands to start and stop the service, but there are times when this causes a problem (file's not found, service is already stopped, etc.). Is the...

Building Boost for static linking (MinGW)

I'm building Boost (I'm using System and FileSystem) for MinGW using bjam: bjam --toolset=gcc stage And it builds fine, but I want to be able to statically link to it (I have to have a single file for the final product) so I tried: bjam --link=static --toolset=gcc stage But I get the same output. Any ideas? edit second question in...

Build on commit with subversion

Simple question. I use Visual studio and i 've just installed subversion, how can i force the project to be build with msbuild, and if successfully build commit it else warn the user. I would use TortoiseSVN or VisualSVN or AKHSV (whatever it's called) if they have the ability to force build on commit builtin (i know that this is not the...

visual studio not responding on build

I have a strange problem with VS2008. My solution has 8 projects (all c#) and hangs VS when I build. The task manager says "not responding" and the process takes 100% of one of my cores, and the memory usage gradually climbs. Eventualy the IDE responds again, builds and deploys. The hang time seems to grow longer and longer each time...

Exchange Server Organizational Structure

I need to figure out a way to build a hierarchy by Director->Manager->Employee from an exchange server. I have very limited knowledge of exchange, so does anyone have any ideas for me? Thanks ...

Visual Studio "Any CPU" target

I have some confusion related to the .NET platform build options in VS 2008 Does anyone have a clear understanding what does "Any CPU" compilation target is and what sort of files it generates? I examined the output executable of this "Any CPU" build and found that they are (who would not see that coming!) the x86 executables. So, is th...

TeamCity Twitter Notifier?

Has anyone built something to send out your TeamCity build status with Twitter? Can this be done with TeamCity's Jabber support? ...

How to use different files in a project for different build configurations - Visual Studio C# .net

I have a c# .net winforms solution and I want to create two different builds: one that supports IE6 and one that supports IE7. A few of the files in one of my projects are different for the IE6 build versus the IE7 build, so I want to include the IE6 files when I build for IE6 and the IE7 files when I build for IE7. What's the best way o...

PowerBuilder (PBOrca) automated builds

Hello, I have a working automated build process for our PowerBuilder app running every night. The resource I used to set this up was http://dm.char.com.ua/pb/pborca.htm. It's not clear to me whether PBOrca is an officially supported tool or who is in charge of it (is it the gentleman who runs the linked site?). I downloaded it from t...