build-automation

Promising alternatives to make? [closed]

江枫思渺然 提交于 2019-11-28 15:38:07
I've been using make and makefiles for many many years, and although the concept is sound, the implementation has something to be desired. Has anyone found any good alternatives to make that don't overcomplicate the problem? check out SCons . For example Doom 3 and Blender make uses of it. I have a lot of friends who swear by CMake for cross-platform development: http://www.cmake.org/ It's the build system used for VTK (among other things), which is a C++ library with cross-platform Python, Tcl, and Java bindings. I think it's probably the least complicated thing you'll find with that many

Modular TeamBuilds

荒凉一梦 提交于 2019-11-28 11:49:53
I have 3 TFS Builds (2 Dev and 1 Cert). I would like to modularize the builds so I don't have to edit 3 files each time I make a change to the common items. The problem I have is that Only the items in the build folder (under TeamBuildTypes) are automatically retrieved by the Team Build. I can put in code in my build process to get other files, but by then it is too late. Here is the scenario that I have. I make a "Common" location for common tasks. I then went and made changes to that file. Because the file does not down load until my build process tells it to down load it is retrieved too

TFS 2010/Code Metrics Integration, Automated Builds Fail, Code Metrics Don't Run

故事扮演 提交于 2019-11-28 08:38:12
问题 I'm trying to add an automatic post-build trigger to run NDepend (code metrics software) after an automated team build in TFS 2010. NDepend's website provided code for integrating this capability, and so I have pasted their code into my .csproj file where they said for it to go, but I receive errors on the build. The errors refer to two of the three "BuildStep" tags I have in the code snippet. The following two snippets are giving me errors: <BuildStep TeamFoundationServerUrl="$

Gradle zipAlign task not working?

风流意气都作罢 提交于 2019-11-28 08:25:34
It appears the Gradle zipAlign task isn't working for me, not sure what I'm doing wrong. I've tried including the zipAlign task, and not including it, but it doesn't seem to make a difference. My gradle scripts spit out a "release" build, but it's never zipAligned according to the developer console when I try to upload my .apk. Here's my build script: buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:0.4.2' } } apply plugin: 'android' dependencies { compile project(':facebook-android-sdk-3.0.1:facebook') compile project(':google-play

Recursive CMake search for header and source files

谁说胖子不能爱 提交于 2019-11-28 08:20:06
I am new to CMake and would like to ask if somebody can help in the following problem. I have C++ source and header files in their respective folders and now, I want to make a CMake text file that recursively searches for them. Currently, I am doing it in this way: CMAKE_MINIMUM_REQUIRED(VERSION 2.8) PROJECT(CarDetectorDAISY) file(GLOB_RECURSE SRCS *.cpp) file(GLOB_RECURSE HDRS *.h) ADD_EXECUTABLE(stereo_framework ${SRCS} ${HDRS}) TARGET_LINK_LIBRARIES(stereo_framework) This creates my CarDetectorDAISY.sln solution file and when I try to build it, it shows an error that header files are not

ant depends vs. antcall

房东的猫 提交于 2019-11-28 07:08:48
When defining sequential build steps I use the depends attribute of the target element. I have recently seen an ant file, where the build sequence was defined by antcall elements inside the targets. To illustrate : <target name="a" depends="b"> ...</target> vs <target name="a"> <antcall target="b"/> ...</target> Is there a real difference between the two approaches? Is one of them preferable? The main difference between both approaches is that targets in depends are always executed, while targets in antcall are executed only if the containing target is. A clarifying example: <target name="a"

VS 2010 pre-compile web sites with build process?

一世执手 提交于 2019-11-28 06:49:53
问题 VS 2010; TFS 2010; ASP.Net 4.0; Web Deployment Projects 2010; I am using the build process templates in order to do one-click deploys (for dev and QA only). I want my sites to be pre-compiled. I can do it with the command line, using: C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler -v /site_name -p "C:\...\site_name" -f "C:\...\site_name1" and this works fine if I copy the files over from site_name1 to site_name... but is there an option in the IDE for this?? It seems really

OpenOffice command line PDF creation

大兔子大兔子 提交于 2019-11-28 06:30:15
I have some documentation written in OpenOffice, and I would like to include some of it as PDF files in the final build deliveries. I would like to do this with the automated build script. Is there a way to create a PDF file from OpenOffice with a command line command? OscarRyz Art of Solving has also a very good API to perform the conversion in Java. It is a little slow but it is simple enough. This is how I use it: File inputFile = new File("C:\\oreyes\\hola.doc"); File outputFile = new File("C:\\oreyes\\hola.pdf"); OpenOfficeConnection connection = new SocketOpenOfficeConnection(8100); try

How do you automate a Visual Studio build?

我们两清 提交于 2019-11-28 03:27:31
How do you turn a Visual Studio build that you'd perform in the IDE into a script that you can run from the command line? With VS2008 you can do this: devenv solution.sln /build configuration \Windows\Microsoft.NET\Framework\[YOUR .NET VERSION]\msbuild.exe Lots of command line parameters, but the simplest is just: msbuild.exe yoursln.sln Sören Kuklau Simplest way: navigate to the directory containing the solution or project file, and run msbuild (assuming you have Visual Studio 2005 or newer). More flexible ways: Read up on the MSBuild reference . There are tons of customization, especially

How do I clear my Jenkins/Hudson build history?

為{幸葍}努か 提交于 2019-11-28 02:48:54
I recently updated the configuration of one of my hudson builds. The build history is out of sync. Is there a way to clear my build history? Please and thank you William Leara If you click Manage Hudson / Reload Configuration From Disk, Hudson will reload all the build history data. If the data on disk is messed up, you'll need to go to your %HUDSON_HOME%\jobs\< projectname > directory and restore the build directories as they're supposed to be. Then reload config data. If you're simply asking how to remove all build history, you can just delete the builds one by one via the UI if there are