build-process

Run command line when a document is saved in Visual Studio 2013?

为君一笑 提交于 2019-12-06 21:15:31
I'm currently evaluating using VS2013 for a HTML5 project. In this project I would like to be able to run a command line tool every time a file is saved (and have the file path passed as argument to the command line tool), and then have the output displayed in the console in VS. It's also important that this setup can be part of the project file, so that when a developer opens the project it's already setup correctly and ready to go without any additional configuring in VS. In both Sublime Text and Webstorm projects all this is easy to achieve, but I haven't been able to find anything similar

Does it matter which vendor's JDK you build with?

左心房为你撑大大i 提交于 2019-12-06 18:47:29
问题 If I'm deploying to servers with WebSphere 6.1 (Java 1.5), should I use IBM's JDK on my build box? Or will Sun's JDK compile to the same binary? If I should use IBM's, where can I get the Windows x64 version? 回答1: I would as much as possible try to keep development as close to production as possible. Ibm and Sun's JDK's certainly both satisfy the SDK certification, but they are by no means identical. Their instrumentation and memory management are at least slightly different. If nothing else,

Coded UI build server integration process

感情迁移 提交于 2019-12-06 15:24:16
问题 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

Versioning Build numbers with TortoiseSVN

我的梦境 提交于 2019-12-06 12:29:57
问题 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... 回答1: You can do this in the build script and other places right before you make EXEs,

How to use YUI Compressor in Ant build script for javascript

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-06 11:45:51
问题 I have ANT script which compresses .js files into their own files, but i want to compress all .js files into one .js file. How to make it work using below ANT script. <echo message="Compressing Javascript files at location: ${build.root}/resources/js/*.js" /> <java jar="c:/dev/lib/yuicompressor-2.4.7/build/yuicompressor.jar" fork="true"> <arg value="${build.root}/resources/js/*.js" /> <!-- input path for JS files --> <!--<arg value="-v" /> --><!-- Turn on verbose --> <arg value="-o" /> <arg

The account running the TFS build service (NT AUTHORITY\\NETWORK SERVICE) needs to be added as a system user in the Release Management Server

让人想犯罪 __ 提交于 2019-12-06 06:16:49
I am receiving the above error when attempting to trigger a release from my build. The build works on its own, and the release works on its own, but I cannot trigger the release. My problem is that there is no such thing as a system user in Release Management. There is a Service User, and the above user is set as a Service User. It's also set as a Release Manager. It is also in the Project Collection Administrators group in TFS and has the "Make requests on behalf of others" permission. I've done everything I think I need to do in order to get this to work. The only thing I can think of is

Referencing private .net assemblies in a subfolder

江枫思渺然 提交于 2019-12-06 05:05:22
In Visual Studio 2008 I can add a project reference and set Copy Local property to true. As result the referenced assembly will be copied to the same folder the main assembly is build to. But what if I want to have all referenced assemblies in a subfolder near the main assembly? Something like this: .. myApp.exe Libs myLib1.dll myLib2.dll Data myDatabase.sqlite PS: This is the smart device application build against .NET Compact Framework 3.5 For other versions of the framework, this is what you would do: http://msdn.microsoft.com/en-us/library/twy1dw1e.aspx For compact, I suggest reading this:

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

流过昼夜 提交于 2019-12-06 04:48:56
问题 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

How to change package destination folder in CPack?

試著忘記壹切 提交于 2019-12-06 02:03:46
问题 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 do this? 回答1: Take a look at the CPACK_TOPLEVEL_TAG and the CPACK_PACKAGE_FILE_NAME variables in the documentation. 回答2: To get the created packages in the

CMake variable or property to discern betwen debug and release builds

拟墨画扇 提交于 2019-12-06 02:01:23
问题 I want to set a CMake variable differently for debug and release builds. I have tried to use CMAKE_CFG_INTDIR like this: IF(${CMAKE_CFG_INTDIR} STREQUAL "Debug") SET(TESTRUNNER DllPlugInTesterd_dll) ELSE(${CMAKE_CFG_INTDIR} STREQUAL "Debug") SET(TESTRUNNER DllPlugInTester_dll) ENDIF(${CMAKE_CFG_INTDIR} STREQUAL "Debug") But this variable evaluates to $(OUTDIR) at the time CMake does its thing. Is there a CMake variable I can use to discern between debug and release builds, or something along