build-process

How to get Visual Studio 'Publish' functionality to include files from post build event?

I am currently attempting to use Visual Studio 2010 'Publish' and MSDeploy functionality to handle my web deployment needs but have run into a roadblock with regards to customizing the package depending on my build configuration. I develop in a 32bit environment but need to create a release package for a 64bit environment, so in the 'Re...

What are good Ant target naming conventions?

I'm about to create some complex Ant build files and I wanted find out what people think are best practices for naming ant tasks. It is going to build some Java, C++, compresses JavaScript, generate docs and lots more. What tasks do you always add to an any script? Things like clean, build? How to you name targets that make up a single...

how to set the python framework path before building cxfreeze for python3

I m building a python script using a setup.py file. In building process, it links to python framework. I want to change the linking framework path as its linking to the wrong location. How to set the framework path before building the script. Thanks in advance for sparring ur valuable time for this thread. ...

android build source errors

i have ubuntu installed on the lenovo s10e netbook. i am not sure if this is related to the issue. i am new to source builds so i would appreciate some direction. i followed instructions on cyanogen's wiki (http://wiki.cyanogenmod.com/index.php/Building_from_source) i am stuck on the last step of 'Building CyanogenMod' after starting th...

How to display buildnumber in spring-based web application

I need to display build number in my index.jsp page <!DOCTYPE HTML> <html> <head> <meta charset="UTF-8" /> <title>Title (build: BUILDNUMBER ) </head> The build number can be supplied by maven into a *.properties file. What is the best way to read *.properties file and display a property with Spring? ...

What Can I Do To Reduce My Executable's Size (Delphi)?

I release a single executable (.EXE) for a desktop program using Delphi 2009. I have no external DLLs or resources that I need for the program to run. I use two components: LMD Innovative's ELPack and Sergey Tkachenko's TRichView that are compiled into my executable. When I build my production version, using the "Release" build configu...

Why should one use a build system over that which is included as part of an IDE?

I've heard more than one person say that if your build process is clicking the build button, than your build process is broken. Frequently this is accompanied with advice to use things like make, cmake, nmake, MSBuild, etc. What exactly do these tools offer that justifies manually maintaining a separate configuration file? EDIT: I'm mos...

How to configure lazy or incremental build in general with Ant?

Java compiler provides incremental build, so javac ant task as well. But most other processes don't. Considering build processes, they transform some set of files (source) into another set of files (target). I can distinct two cases here: Transformator cannot take a subset of source files, only the whole set. Here we can only make la...

Can CMake generate build scripts which do *not* use cmake?

Question: Can CMake generate build scripts that do not, in any way, use CMake? If not, how hard is it to gut a CMake generated automake script to not make any checks against CMake? I am a big fan of CMake to the point where I am championing the idea that we transition to it in my current work environment. One thing that could ease this ...

How to change package destination folder in CPack?

I have a multiple module CMake project with a root CMakeLists.txt with multipe add_subdirectory macros. As far as I understand the default for CPack/CMake is to create package in project root folder, where root CMakeLists.txt resides. I would like to create a separate install module, with its own folder and create packages there? How to...

Create and deploy environment-specific war builds for Tomcat during same build

I want to be able to build a war file and deploy it in multiple environments. I know I can create an ant task to get the environment and either include the files in the war, or replace the tokens as necessary. However, this would lead to as many different war files as environments (dev, QA, DR, prod, etc...). It seems that this would ...

xcode duplicates build source files process

I am using the cocos2d library. when xcode builds, it builds twice as many source files as it needs to, i.e. 162 instead of the 81 that come with the cocos2d library. this only happens when i build in release mode on the device, i.e. not device / debug nor simulator release / debug. I have tried clean all targets to no avail. I am us...

How to tag a scientific data processing tool to ensure repeatability

Dear all, we develop a data processing tool to extract some scientific results out of a given set of raw data. In data science it is very important that you can re-obtain your results and repeat the calculations, that led to a result set Since the tool is evolving, we need a way to find out which revision/build of our tool generated a ...

Is NAntContrib dead?

Is NAntContrib dead, or maybe it's just "resting" like NAnt was used to few months ago? Any one know something about it? And by "dead" I've ment that there were no updates since 5-6 years, and I'm wonder if it's/will be updated someday - like nant was few months ago. ...

Latex, TikZ and separate compilation of chapters and figures.

I have fairly large Latex document with a lot of TikZ figures inside. I have a habit of frequent recompilation and it takes forever to compile it using pdflatex. Figures in TikZ take most of the time. My question is what is the best way to split the document into separate tex files (figures/chapters) to achieve separate compilation of ...

About the internal logic of C compiler

When we build a programe,some symbols are to be resolved at link time(like those in a .lib), but some can be resolved at run time(those in a .dll), my doubt is that how does the compiler know about this, or how do we notify the compiler about this? ...

How to determine if all objects are serializable in a given namespace?

Some background: We require all of our DTO objects to be serializable so that they can be stored in session or cached. As you can imagine, this is extremely annoying and prone to error... is there any automated way (ideally as part of the build process) using Visual Studio 2010 to ensure that all classes in a namespace are marked with t...

.Net AssemblyName.version Build versus Revision

The MSDN documentation states: Version numbers consist of two to four components: major, minor, build, and revision. The major and minor components are required; the build and revision components are optional, but the build component is required if the revision component is defined. All defined components must be intege...

TFS Custom Build Process Template Errors - Cannot view designer

I'm getting a bunch of errors about missing references. Anyone know why? Viewing the default template does the same thing. Reloading the designer does not work. I have TFS Power Tools installed as well. ...

How to block a status from an Ivy resolve

Hello. At our company, we use a base ant file that is included by everyone to do their builds. It contains the things we want to define globally and uniform, like build-test, test-coverage, build-release, publish on ivy, etc. I would like to enforce that in the ivy resolve that is done for creating a release build, libraries that hav...