build-process

TFS 2010 - The server returned content type text/html, which is not supported error, solution?

▼魔方 西西 提交于 2019-12-08 12:10:47
问题 I have a setup a new TFS 2010 build definition. When I run the build for this build definition I get the following error during a "GET" operation: "The server returned content type text/html, which is not supported" 13:48 Overall Build Process 00:00 Update Build Number 00:00 Create the Drop Location 13:46 Run On Agent (reserved build agent [Test] Agent - xyzbuild) 00:00 Delete Test Results Directory 00:00 Delete Binaries Directory 03:24 Delete Workspace 00:00 Delete Sources Directory 00:01

MVFS error in a snapshot view after upgradation of ClearCase

寵の児 提交于 2019-12-08 08:23:14
问题 I created a snapshot view using Rational ClearCase explorer. After creating it, I set the config specs, environmental variables and later tried compiling my code and got an MVFS error which says: Unable to determine if the current working directory is in MVFS - no such device or address When I searched the IBM website for the sake of eliminating this error, I found out that a snapshot view does not use the MVFS ! Why am I getting this error when Snapshot view does not use MVFS? When this

Xcode - build phase or script for copying only modified files to App Bundle

旧街凉风 提交于 2019-12-08 05:44:19
问题 Mac OS X 10.5 compatibility required. Xcode 3.2.5. My app looks in the bundle's Resources folder, for a "data" folder. "data" contains a hierarchy of subfolders and data. The contents are constantly being modified. I don't need to navigate or modify this data within Xcode. Q. When building, how can I copy "data" (say, from the Xcode project's folder) to the Resources folder, but only copying those files within "data" that have been modified since the last build? (Simply copying all files

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-08 03:51:01
问题 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

Modify angular cli build to run custom script

房东的猫 提交于 2019-12-08 03:06:32
问题 I have a custom node script that generates a pseudo language file, in older angular.js projects I used a gulp task to run the script as part of the build process. Is there a way to modify angular-cli to run the script on ng build/ng serve? I know I can use npm run-scripts to run it and then run the ng command but just wondering if there is a way to do with angular-cli directly? 来源: https://stackoverflow.com/questions/50908092/modify-angular-cli-build-to-run-custom-script

How can I set an Android Makefile to copy/rename files?

不打扰是莪最后的温柔 提交于 2019-12-08 02:39:48
问题 According to the Android online docs there's currently no way to specify multiple/mixed file extensions for the gcc compiler in an Android makefile. The source I'm using, a public project, has multiple extensions and in order to get it to compile I need to rename the files with the other extensions .cpp before build. I set up a project subfolder I can copy these files into and rename them and then just link to them from there but I'd like to make this step a part of the build process so that

How do I call a ruby script as part of the Maven build process?

一世执手 提交于 2019-12-08 01:32:51
问题 edit 2: I found the problem. The quick answer is that the lack of an <id> for my newly configured execution was causing the problem. I'll leave the question here in case it helps someone else. I have a ruby script which generates some of my jUnit source files. I am trying to use the exec-maven-plugin to call this ruby script during the generate-sources phase of the default lifecycle. Here's what I've added to my POM to achieve this: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId

Create a list of artifacts that are build by a maven project

好久不见. 提交于 2019-12-07 20:22:33
问题 Is there a way to create a list of all artifacts that are created by running mvn clean install similar to the output of : mvn mvn dependency:tree/list 回答1: There is a way to do that: mvn -q -Dexec.executable='echo' -Dexec.args='${project.groupId} ${project.version} ${project.artifactId} ${project.packaging}' --non-recursive exec:exec If you want it for all artifacts in your project including sub-folders remove --non-recursive . 回答2: It can be achieved by writing a maven extension by extending

Is there any documentation for building OS X frameworks using autotools?

老子叫甜甜 提交于 2019-12-07 13:29:04
问题 I have a cross-platform shared library, and I am using GNU autotools for the build system. I would like to be able to package the library as a framework on OS X. Is it possible to do this with autotools + additional scripting e.g. bash? Is there any good documentation for doing this, or does anyone know an example of a project that does this, which I could copy? 回答1: A framework is a glorified directory that includes a metadata file (Info.plist) and one or more libraries. I’m not sure if

put build date in about box

a 夏天 提交于 2019-12-07 11:19:48
问题 I have a C# WinForms app with an About box. I am putting the version number in the about box using: FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location) .FileVersion This ends up giving me the Subversion revision number from which the executable was built. I would also like to get the date of the build into the About box. I tried: File.GetLastWriteTime(Assembly.GetEntryAssembly().Location) But that gives me the write date of the executable, which only corresponds to the