build-process

buildbot: run svn with --trust-server-cert

风格不统一 提交于 2019-12-13 02:00:13
问题 I am trying to install buildbot for my project. I always run my svn commands with trust-server-cert option. How can I pass that to SVN thru buildbot? I don't see there is a way for doing that. What is the shortest workaround? 回答1: Use the extra_args argument to the buildbot.steps.source.SVN constructor. 来源: https://stackoverflow.com/questions/1908856/buildbot-run-svn-with-trust-server-cert

How to make build definition in TFS Build 2010 configurable w.r.t input variable values and “items to build”

偶尔善良 提交于 2019-12-12 17:20:39
问题 We are using TFS Build 2010 for Builds. We have two branches of source code (Lets say branchA and branchB). Now as a part of the build definition we set the projects to build: Now to employ the same build definition from branchB will mean that I create another build definition file with same content, with only the items to build set to "$/branchB" Is there anyway to make this configurable, without having to edit the build definition? Also there are other input variables that we set for the

Python 2.5.2 and Solaris 8 (gcc 3.4.2) build issues

ⅰ亾dé卋堺 提交于 2019-12-12 15:16:26
问题 I'm trying to build python 2.5.2 on Solaris 8 using gcc 3.4.2. I can't see any immediate errors in the ./configure step but, once built and i enter the python shell doing an import time errors with : Python 2.5.2 (r252:60911, Nov 21 2008, 18:45:42) [GCC 3.4.2] on sunos5 Type "help", "copyright", "credits" or "license" for more information. >>> import time Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named time What am i doing wrong? From what i

How can I make the Microsoft C++ compiler treat unknown flags as errors rather than warnings?

蓝咒 提交于 2019-12-12 14:03:40
问题 For various reasons, I would like to be able to script the detection of whether the MS C++ compiler honors a particular flag. I'm using the compiler from the Windows 7.1 SDK: C:\> cl /version Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64 Copyright (C) Microsoft Corporation. All rights reserved. So lets say I want to know if the flag /GLEFGB is supported by this compiler (which it is not, because it doesn't exist): C:\>cl /c ./foo.cc /GLEFBG Microsoft (R) C/C++

Ant loadproperties failed (bcel error?)

Deadly 提交于 2019-12-12 10:39:42
问题 I'm working on a simple build script that should get some constants from a java class file and use them as the version numbers in my file names. I use Eclipse and its own Ant, but put bcel-5.2.jar in my libs folder and into the classpath for the Ant call. <target name="generate_version" depends="compile"> <loadproperties srcfile="${dir.dest}/MyVersion.class"> <classpath> <fileset dir="${dir.libs}"> <include name="**/bcel*.jar"/> </fileset> </classpath> <filterchain> <classconstants/> <

How can I make Windows software run as a different user within a script?

我与影子孤独终老i 提交于 2019-12-12 09:45:18
问题 I'm using a build script that calls Wise to create some install files. The problem is that the Wise license only allows it to be run under one particular user account, which is not the same account that my build script will run under. I know Windows has the runas command but this won't work for an automated script as there is no way to enter the password via the command line. 回答1: This might help: Why doesn't the RunAs program accept a password on the command line? 回答2: I recommend taking a

Reason why a VS 2008 project is being rebuilt each time

南楼画角 提交于 2019-12-12 09:05:52
问题 Is there a way to find out the reason why a project is being rebuilt each time a Build Selection operation is issued in VS 2008? I've tried to even remove all dependencies from the Build\Configuration Manager (unchecked the build column for all assemblies, but the one in question). I get the same result: the assembly is rebuilt each time. I have to mention that all the dependencies are built in the same directory (there is a common Output Directory). Actually it's not very clear to me what is

Load different stylesheets when packaging a war file with Grails

冷暖自知 提交于 2019-12-12 02:56:50
问题 I want to package a Grails application for different brands. While generating a war file, I want to pass some custom parameter that refers to a certain brand and styles the application by loading the stylesheet for the brand. I read online and one approach I found was with maven. I tried working with maven but I am stuck while initially compiling the application. The error is Failed to execute goal org.grails:grails-maven-plugin:2.2.1:maven-compile (default-maven-compile) on project

How to create custom folder from the release folder of Windows Work flow for TFS Build process?

女生的网名这么多〃 提交于 2019-12-12 01:53:46
问题 I have used the /p:GenerateProjectSpecificOutputFolder=True for creating build for each and every project in my solution and now i wanted to customerize the folder structure on my needs. How can we achieve this? enter image description here 回答1: If you are using XAML build, you can customize Binaries folder in TFS Team Build by modifying the build process template. Adding CreateDirectory Activity and FindMatchingFiles activity are necessary, following this blog for more details. If you use

Target confusion at compile time

雨燕双飞 提交于 2019-12-12 01:33:11
问题 I am working on a project, in xCode 4.5.2 with 2 targets T1 and T2. When I want to build T1, I get error messages about one file only belonging to T2. Obviously, even though I think the file belongs to T2, the compiler thinks differently. Where do I need to check? As far as I can see, I have done the necessary for the file to be inside T2 and not inside T1. But I must be forgetting something. Any idea? Thanks for any useful tip. 回答1: Check the "target membership" for the file... click on the