build-process

When developing a website with visual studio, how do I improve the build time?

I have a lot of classes in the App_Code directory could this be a problem? Would it build faster if it was in a separate library? Any other tips? ...

How can I unzip the newest file in a directory in a BAT file?

I am working on a build system. The build system posts the results as a zip file in a directory. Unfortunately I have no easy way to know the name of the zip file, because it is timestamped. For the next operation, I must decompress this zip file to some specific location and then do some more file operations. I guess I could change ...

Buildprocess for ActiveX / COM / VB6 enterprise projects

We have developed a software system using ActiveX/COM (VB6) technology from microsoft. In the last year, i get more and more interested in automated build processes and SCM at a whole. I intensively searched big parts of the web for information about best practices how to do scm with COM based software systems. The "problem" with COM is...

How to manage external dependencies which are constantly being modified

Our development uses lots of open-source code and I'm trying to figure out what the best way to manage these external dependencies. Our current configuration: we are developing for both linux and windows We use svn for our own code external dependencies (boost, log4cpp, etc) are not stored in svn. Instead I put them under ./extern (or...

Build C project automaticly

I'm working on a free software (bsd license) project with others. We're searching for a system that check out our source code (svn) and build it also as test it (unit tests with Check / other tools). It should have a webbased interface and generate reports. I hope we don't have to write such a system from null by ourselves... ...

Preprocessing source code as a part of a maven build

I have a lot of Java source code that requires custom pre-processing. I'd like rid of it but that's not feasible right now so I'm stuck with it. Given that I have an unfortunate problem that shouldn't have existed in the first place, how do I solve it using maven? (For the full story, I'm replacing a python-based build system with a ma...

What Tools Do You Recommend To Auto-Build Your Application?

As recently as several years ago, the developers actually made the builds that went to clients. This was obviously a disaster for reasons too numerous to list. Then when we started to learn the errors of our ways, we looked for a way to auto-build the entire application on a dedicated build machine. The culture at that time was very a...

With scons, how do you link to prebuilt libraries?

I recently started using scons to build several small cross-platform projects. One of these projects needs to link against pre-built static libraries... how is this done? In make, I'd just append "link /LIBPATH:wherever libstxxl.lib" on windows, and "stxxl.a" on unix. ...

When to use a build tool?

A beginner question, bear with me: I'm just wondering under what circumstances one should use a build tool like nant or msbuild? I'm working on a medium sized application (.net 3.0), every developer is doing his work and builds on his machine checking his code changes into the repository as he goes. Once we're all done, I'll get all the ...

How do I build two different apps from one Visual C# project?

I have a source base that, depending on defined flags at build time, creates two different apps. I can build both of these apps using a Makefile by specifying two different targets, one that compiles with a flag and one that compiles without, and having an aggregate target that builds both. How do I do the equivalent thing from Visual C...

How to get doxygen to run faster?

Doxygen is a bit slow - it takes about a couple of minutes to process my whole project, so for small incremental changes this is longer than actually building the rest of my code. There are thousands of files without any documentation so I guess it is spending most of its time processing them. Is there any way to get it to skip files wit...

How do you auto-deploy a website during a release build?

I'd like to upload (via ftp) a website when doing a release build in visual studio 2008. I don't want any source code files to be uploaded and it would be nice to configure which folders should get uploaded. I'm using either ASP.NET Web Applications or MVC. How do I configure VS.NET to automatically upload (and overwrite) the last dep...

Finding out-of-date or missing dependencies or output files in a Visual C++ solution (or: Why does Visual Studio insist on building my entire solution, even though nothing's changed?)

I've got a solution containing multiple projects. I'm only changing the code in one of them, but every time I hit Ctrl+Shift+B, Visual Studio rebuilds all of the others. I want it to build the other projects, so this is good. What's not good is that, normally, it would see that there was nothing to do. I have a wonky dependency somewher...

Punishment for breaking the build

I'm sitting here frustrated that a team member broke the build and then goes on a long-weekend vacation. What happens on other teams when someone breaks the build? What would you consider a fair punishment? ...

How to toggle between one maven profile and another?

If I have a maven profile activated by the presence of a property, how can I define another profile that is only activated when the other profile is not activated? e.g. <profile> <activation> <property> <name>myproperty</name> <value>value</value> </property> <...

Make html validation part of build cycle

Currently when I build my site I have to manually open validate it at the 3wbc site (means when opera pops up, press ctr+alt+shft+u) for every page. Is it possible to automatically validate every page whenever I build my pages? P.s.: This page doesn't validate ;) ...

NAnt script for C++ project build automation

Hi, Could anyone provide any example of NAnt script for C++ project build automation? Thanks! ...

How to run Eclipse launch configurations programmatically?

I'm finding it difficult to phrase this question well, as there are quite a few generic terms (run, configuration, launch, etc.). Here goes: You can save run configurations in a .launch file. (in the Run Configuration Dialog, under the Common tab, Save as a shared file. We check these in to SVN. The developers can pass them around, and...

Referencing different versions of the same assembly

If A references assembly B 1.1 and C, and C references B 1.2, how do you avoid assembly conflicts? I nievely assumed C's references would be encapsulated away and would not cause any problems, but it appears all the dll's are copied to the bin, which is where the problem occurs. I understand the two ways around this are to use the GAC ...

How to build a CD ISO image file from the windows command line?

In an effort to satisfy "The Joel Test" question #2 "Can you make a build in one step?", I'm trying to complete a release candidate build script with the creation of a CD iso from the collection of files gathered and generated by the installer creator. There seem to be many good tools (many free) out there that will create ISOs, but I n...