build-process

Maven: add a dependency to a jar by relative path

I have a proprietary jar that I want to add to my pom as a dependency. But I don't want to add it to a repository. The reason is that I want my usual maven commands such as mvn compile, etc, to work out of the box. (Without demanding from the developers a to add it to some repository by themselves). I want the jar to be in a 3rdparty l...

Biztalk deployment/building problems

Hi, has anyone ever bothered about the fact that biztalk has a lot of annoying deployment/building problems. For example if I use c# assembly classes to be build/deployed I regularly get sgen.exe errors, which get fixed if i remove them from my assembly, however then some dependencies are giving problems again, which then means i have t...

VisualStudio 2005 C++: Make it tell me what is out of date

I have a 100+ source file C++ project in visual studio 2005. A lot of those files have custom build steps. There is something that is not updated when I build. Every time I hit the start debug button it prompts me with a "This project is out of date:" dialog and asks if I want to build it. I choose yes, but nothing compiles. I suppo...

Reasons to fail a build

As a build engineer, I'm constantly looking for new and interesting ways to improve our build process - and that includes looking for new and interesting ways to fail our builds! I have yet to find a canonical list of reasons to fail a build ... so I figure it's time to get one created. With that in mind: What build-time checks - both ...

Is it possible to run devenv.exe in foreground?

I need to build a solution with CAB Project. As far as I understand I should use devenv.exe in order to build CAB. Following command line starts devenv.exe in background: devenv.exe MyActiveX.sln /Rebuild "Release" Is it possible to run devenv.exe in foreground? I would like to get build traces not in file but to stdout. ...

How to Prevent Build Warning: " NSData may not respond to 'dataWithBase64EncodedString:' "

The following code produces this build warning: NSData may not respond to 'dataWithBase64EncodedString:' The code: NSString * message = @"string string string"; NSData *data= [NSData dataWithBase64EncodedString:(NSString *)message]; How do I fix this to remove this warning? ...

How to filter the xcodebuild command line output?

Running xcodebuild from the console will bring you very verbose output and I wasn't able to locate any options for limit its output in order to display only warnings and errors. I'm looking for a way to capture the xcodebuild output and filter it. It would prefer a Python solution that will work with pipes but I'm open to other approach...

Hudson to automatically detect a job needs build (SVN HEAD diff)

We are using Hudson for continuous integration of many projects. I would like to know if there is an existing plugin or script that would automatically detect if a job needs to be built - but not actually build it, just send an email, add the job to a queue somewhere, or "flag" the build if it detects if the SVN repository modules have b...

Need a tool for visualizing ant execution flows and properties

I'm trying to figure out how the DITA Open Toolkit performs DITA to XHTML conversions, and it's difficult since the process is managed by dozens of ant targets spread over multiple ant files. I need a tool that can provide a visualization of the execution flow plus property dependencies of an ant invocation. VizAnt and Grand only graph...

Post build copy config file to another project

I have a solution which contains a website and various class libraries. The exists on the file system like so: C:\Projects \MyWebsite\dev\MyWebsite.sln C:\Projects\Core\MyClassLibrary1.csproj C:\Projects\Core\MyClassLibrary2.csproj I want to move the App.config file from MyClassLibrary1 project to the bin of the MyClassLibrary2. I...

Learning different build commands for building from source?

Hi, How do you learn all the commands for building programs like mysql and git from source? For example, this article: Installing MySQL on Mac OS X (Hivelogic) Is there a good book that teaches you command-line tools for building, makefiles, etc.? Thanks -Chris ...

Can Xcode include application resource files that are generated during the build process?

I have a bunch of content files for my iPhone app that I generate via shell script. It takes way too long to be a part of the Xcode build process, so I run it periodically. I don't want to have to continually add these files to my Xcode project in order to get them included my app resources folder. Is there a way to get Xcode to copy th...

CMake and including other makefiles

Lets say I have a CMakeLists.txt and I want to call another include another makefile in that file (similar to the #include syntax in C), how would I accomplish this? ...

What is a 'make target'?

Why do I need to make a make target before being able to build my source code? More specifically, what is make target exactly? ...

Is there an .NET alternative for Java artifact repositories like Nexus or Artifactory? Where do you store versioned DLL's?

Where to store binaries needed for automatic builds on Team System? Are you storing them along with the code in the SCM or someplace else? Is having a big amount of binaries in SCM causing any performance issues with source controol? There is a need to be able to revert to earlier version of some external library in order to fix bugs in...

Building linux application through Vmware

Hello, I used to develop using Visual Studio on windows... (C++) we recently migrated our app to linux (red-hat) , and currently each employee is building his own app is his own virtual machine using Vmware. out native OS is still Windows. At first, it seemed that building using g++ was faster then using VS compiler, however, after so...

scons setting CXXFLAGS in one module affects another one

in dirA/SConscript I have: Import('env') probeenv = env.Clone() probeenv['CXXFLAGS'] += ['-fno-rtti','-Wnon-virtual-dtor'] ... stuff that uses probeenv in dirB/SConscript I have Import('env') sipenv = env.Clone() ... stuff that uses sipenv Now, c++ files in dirB that gets compiled, gets the CXXFLAGS from dirA - how come ? This doe...

Teamcity: Pass Environment parameter to dependent build

I use two build configurations. Root Sub The buildfile for 'Sub' requires a environment parameter 'Param' to run. Can I pass this parameter from my 'Root' configuration to the 'Sub' configuration in Teamcity. Regards ...

How to avoid publishing ASP.NET applications in debug mode from Visual Studio?

We all know that we should only be publishing our ASP.NET Web Applications with release build type, so why do I not get a warning when I trigger the "Publish" command in Visual Studio 2008, for a project configured to build in debug mode? Sure, there might be cases where I need to publish a debug build to a development or test environme...

MSBuild appending data to configuration string

Hi, I am getting strange behavior from MSBuild. I use the command: msbuild.exe /p:Configuration="Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)" "MySolution.sln" && exit %%ERRORLEVEL%% And it gives me the error: MySolution.sln : error MSB4126: The specified solution configuration "Release|Windows Mobile 5.0 Pocket PC SDK (...