build-process

In Eclipse, how can I exclude some files (maybe based on the .svn extension or filename) from being copied to the output folder?

I'm developing a Java application using Eclipse. My project has two source directories that are both built and then some files are copied into the output folder. From the output directory I then run my application and all works well. However, I keep having these warnings: Anyone know how to get rid of these warnings? Maybe by excludi...

How can we display a "step" inside Visual Studio build process?

When you are monitoring the TFS build from Visual Studio (2008 or 2005), you can see where it is up to. The issue is that I have some Post-Build custom steps I would like the developer to be able to see directly throught the UI. Those steps take some times and we can also get a "timing" of the build step. Any idea how to have it displa...

Strategies for multicore builds (/MP) that use #import

I'm working on a new solution configuration for our large VC++ project using VS 2008. I'd like this configuration to use the multicore build flag /MP. However, the "#import" feature of generating COM wrapper classes is sprinkled through-out the code base and this feature is not supported when using /MP. I understand why #import won't ...

What artifacts to save for a nightly build?

Assume that I set up an automatic nightly build. What artifacts of the build should I save? For example: Input source code output binaries Also, how long should I save them, and where? Do your answers change if I do Continuous Integration? ...

Visual Studio (2008) mixed mode project depencies. C-sharp project depends on C++ dll, but C++ dll is not getting re-built

Hi, I have a Visual Studio 2008 solution with two projects in it. A C++ DLL and a Csharp application. The Csharp application uses [DllImport] to access the functions in the DLL, and has a dependency set on the DLL. For some reason, setting the dependency isn't sufficient to cause VS to copy the DLL to the build path of the app. So the...

How to add a SqlMetal build step in VS2008?

I've created a one-line batch file to run SqlMetal to regenerate a LINQ to SQL DataContext for my database; this works great. *Refresh_DataContext.bat*: "C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\sqlmetal.exe" /server:.\sqlexpress /database:MyDatabaseName /code:"%~dp0\DataContext.vb" /context:DataContext /vie...

What are the custom targets you all run when using ant to build project?

I am thinking of running this custom targets to find out more about my project build status - jalopy - jdepend - cvs tagdiff report - custom task for NoUnit - generate UML diagram. ESS-Model What are your views? ...

What artifacts to save for a released build?

So, I now know what to save from nightly builds. What about when I give something to customers? For example, I probably want to save debugging information (e.g. PDB). What else? ...

Dependency checking - how to clean up a project with bad makefiles

I have a very large C project with many separate C files and headers and many dozens of contributors. Many contributors do not have a strong knowledge of makefiles and dependencies, resulting in the not uncommon problem where you almost always have to "make clean" before you can trust "make" to have produced correct output. If make too...

Detecting CPU architecture (32bit / 64bit ) in scons?

Are there any 'standard' plugins for detecting the CPU architecture in scons? BTW, this question was asked already here in a more general form... just wondering if anyone has already taken the time to incorporate this information into scons. ...

How to build an iterative user-defined action in Visual Build Professional?

In VBP its possible to define user defined actions by creating a custom COM component or a custom script. I need to create an user defined action which is iterative, which means it has to call child steps in an iterative manner like the "process files" built in action does. I can't figure out how to do this and Google isn't helpful eit...

Is there a way to separate long running (e.g. stress tests) out so they're not run by default in Maven 2?

We've had an ongoing need here that I can't figure out how to address using the stock Maven 2 tools and documentation. Some of our developers have some very long running JUnit tests (usually stress tests) that under no circumstances should be run as a regular part of the build process / nightly build. Of course we can use the surefire ...

Can I make one Netbeans project depend on another without hacking a Makefile?

In Netbeans 6.5, I've got two different C++ application projects - my application and the unit tests. I want to set it up so that if my main application is rebuilt, the unit tests are rebuilt as well (and vice versa). Netbeans is good at resolving the dependencies for library projects, and rebuilding them if necessary, but I can't see ...

What is the best way to share Delphi source files among projects?

What is the best way to share Delphi source files among projects? Clarification: We want to use a single source file in multiple Delphi projects. We've been using our SCM tool to put the same file into multiple folders, but this is not a super-elegant experience and we are also considering migrating to a tool that doesn't support this....

VisualStudio: How to save the obj folder somewhere else

Does anyone know how to tell VS(2008) where to save the obj folder when building the solution? We have it save the bin folder to another path in order to keep the source file folders small (ie. emailable), but can't find any way to tell it to do the same with obj... Thanks! ...

SubSonic build errors

I'm trying to use SubSonic for a new project with an existing database but when I try to build the project after generating the SubSonic files I'm getting these same two exceptions on different classes: Partial declarations of 'MyData.UserCollection' must not specify different base classes Type 'MyData.UserCollection' already defines a...

Best way to build trunk AND a branch on the same CruiseControl.Net server

We currently have a CruiseControl.Net server that is merrily building the trunk on our svn server. I have a new requirement to build the "latest" branch as well; is there a best practice in CruiseControl to handle this? What specific changes are needed to build from the trunk and a branch at the same time? ...

How do I pass build number from Nant back to Cruise Control

I have a Nant build script which CruiseControl uses to build a solution on-demand. However, we only recently got CruiseControl so our official build number is different from what is listed in CruiseControl. I know CruiseControl injects some properties into build scripts so that I can access the CC build number in the script (CCNetLabel...

Automatic BizTalk Versioning in My Build Process

In all of my other .net apps my build process (a mixture of nant and custom tasks) automatically updates the [AssemblyVersionAttribute] AssemblyInfo.cs with the current build number before the call to msbuild, stamping in the build number in the version number. I'm now working on my first BizTalk project and I'd like to do the same thin...

Is there step-by-step tutorial on setting up CruiseControl.NET?

What to do automatic nightly build of .NET web application and upload to the test server. Or, if this tool is overkill, please suggest something else. ...