build-process

Coded UI build server integration process

。_饼干妹妹 提交于 2019-12-04 21:49:07
We would like to integrate an automated functional test solution (developed using SpecFlow and Coded UI) in our build server. The project looks like this: the AUT is a WPF application the developers are working with Visual Studio 2010 Professional automation testers joined the project with Visual Studio 2012 Premium (VS Premium is needed for Coded UI tests) Visual Studio 2010 Professional is installed on the build server Jenkins is used a VM is configured for the development and a 2nd VM will be used by the testers Could someone help me with the build-server integration process? Which are the

How to deliver properties files in addition to artifacts?

情到浓时终转凉″ 提交于 2019-12-04 21:18:06
问题 I am using Maven2 to build a WAR project. Some properties files are dependent on the environment targeted for a release. I want to deliver, in addition of the WAR, a file called datasource.xml . This file already exists in my project directory, but contains properties that will be filtered during the build (i.e. some ${foo.bar} ). In others words, after running the command mvn clean install , I want to see in my target/ directory two files, my-webapp.war and datasource.xml . Note that

Versioning Build numbers with TortoiseSVN

不羁岁月 提交于 2019-12-04 20:34:03
Multiple duplicates: https://stackoverflow.com/search?q=svnversion I'm using TortoiseSVN with SVN Service running as a service on a windows server. I would like the version / build number in the project to be updated as or after the project is committed. So that the correct version / build on the project will be reflected in several places such as log files, Resource tables, Help > About Etc... Thanks... Tim You can do this in the build script and other places right before you make EXEs, install files, etc - What I did to add it to my resources/version info was make a template file for my rc

Can Xcode include application resource files that are generated during the build process?

半世苍凉 提交于 2019-12-04 19:45:58
I have a bunch of content files for my iPhone app that I generate via shell script. It takes way too long to be a part of the Xcode build process, so I run it periodically. I don't want to have to continually add these files to my Xcode project in order to get them included my app resources folder. Is there a way to get Xcode to copy the contents of a folder into the app resources at build time? (It'd be a bonus if I could specify other locations, such as the approot documents folder.) I tried adding a new 'Copy Files Build Phase' to my target, but that didn't seem to work. This seems like a

How does MSBuild check whether a target is up to date or not?

丶灬走出姿态 提交于 2019-12-04 17:53:26
问题 MSBuild emits the following message for up to date targets: Skipping target "MyTarget" because all output files are up-to-date with respect to the input files. How is the actual check performed? 回答1: Check flow of Incremental Build: A target element can have both an Inputs attribute, which indicates what items the target > expects as input, and an Outputs attribute, which indicates what items it produces as output MSBuild attempts to find a 1-to-1 mapping between the values of these

set LD_LIBRARY_PATH from Makefile

为君一笑 提交于 2019-12-04 17:05:25
问题 How do I set the LD_LIBRARY_PATH env variable from a Makefile? I have some source code that links to a shared library that in turn links to a different shared library (more than 1). The Makefile for building the application only knows about the first shared library. If I want to build this, I have to specify: #export LD_LIBRARY_PATH=/path/to/the/shared/libs (for bash) and that works fine. However, I would like to do this from the Makefile itself. 回答1: Yes, "export" is the correct directive to

Distributing .app file after command line xcodebuild call

我怕爱的太早我们不能终老 提交于 2019-12-04 15:46:30
问题 I'm building/archiving my Mac app for distribution from a command line call (below), with Xcode 4.3 installed. To be clear, I didn't have a working solution for this problem earlier to Xcode 4.3, so advice for earlier Xcode releases could easily still be valid. Here's the call: /usr/bin/xcodebuild -project "ProjectPath/Project.pbxproj" -scheme "Project" -sdk macosx10.7 archive This runs successfully, and it generates an .xcarchive file, located in my ~/Library/Developer/Xcode/Archives/<date>

When should I “Release” my builds?

与世无争的帅哥 提交于 2019-12-04 14:49:10
We just started using Visual Studio Release Management for one of our projects, and we're already having some problems with how we are doing things. For now, we've created a single release stage, which is responsible for deploying our build artifacts to a dedicated virtual machine for testing. We intend to use this machine to run our integration tests later on. Right now, we have a gated checkin build process: each checkin fires all the unit tests and we configured the release trigger to happen on this build also. At first, it seemed plausible that, after each checkin, the project was deployed

How to ignore output from executable with CruiseControl.Net build?

ぃ、小莉子 提交于 2019-12-04 12:19:16
I'm running a little find and replace utility called fart.exe (yes, fart, as in Find and Replace Text) as part of my CC build. Works great. The problem is that FART while it is working displays a little ASCII spinner composed of pipe, dash, slash... | / - . There isn't a way to suppress this spinner, and CC thinks these little symbols are error messages and the build fails. I've tried: adding those symbols as successexitcodes in CC -- same result, apparently only ints work Calling fart via a batch file with ECHO OFF -- it still outputs the spinner and causes the build to fail Any other ideas?

Is it possible to have version-independent DLL references in a class?

天涯浪子 提交于 2019-12-04 10:08:39
问题 I would like to create a class that compiles into a single DLL. This DLL would add functionality to an existing product. To make this work, the custom class references DLLs contained in the underlying product. These references are needed to compile. Everything works fine here and the custom class compiles. I can drop the DLL produced into the product and everything works fine. However, this product has several versions (minor versions, service packs). I would like to distribute this DLL to