build-automation

Sublime Text CoffeeScript build system: `env: node: No such file or directory`

爱⌒轻易说出口 提交于 2019-11-30 10:19:51
问题 I'm trying to set up a CoffeeScript build system in Sublime Text 3, but I keep getting the following error: env: node: No such file or directory [Finished in 0.0s with exit code 127] [cmd: ['coffee', '-o','/Users/jcourtdemone/Sites/autotempest.com/new_design_sandbox/static/script', '-cw', '/Users/jcourtdemone/Sites/autotempest.com/new_design_sandbox/static/coffee']] [dir: /Users/jcourtdemone/Sites/autotempest.com/new_design_sandbox/static/coffee] [path: /usr/bin:/bin:/usr/sbin:/sbin] My build

Programmatically pin a build in Teamcity

≡放荡痞女 提交于 2019-11-30 08:57:57
Is it possible to pin a build in Teamcity programmatically/automatically? I want to pin a build if a Deploy-build is successfull. Just found out that its possible through the REST API I can f.ex send a PUT command like this http://teamcityserver:81/httpAuth/app/rest/builds/id:688/pin/ and then the build with id 688 ( teamcity.build.id ) will be pinned. I would like to challenge the accepted answer with an up-to-date answer, which was tested with TeamCity 9 EAP 4 (build 31717) and 8.1.x. Tagging and pinning could be implemented via a simple plugin that contains just an event adapter such as the

Buildprocess for ActiveX / COM / VB6 enterprise projects

為{幸葍}努か 提交于 2019-11-30 07:19:24
问题 We have developed a software system using ActiveX/COM (VB6) technology from microsoft. In the last year, i get more and more interested in automated build processes and SCM at a whole. I intensively searched big parts of the web for information about best practices how to do scm with COM based software systems. The "problem" with COM is, that a referencing component holds the reference by an unique interface id. When you recompile the referenced component, the id may change and the reference

Easiest way to test for existence of cuda-capable GPU from cmake?

淺唱寂寞╮ 提交于 2019-11-30 06:49:09
We have some nightly build machines that have the cuda libraries installed, but which do not have a cuda-capable GPU installed. These machines are capable of building cuda-enabled programs, but they are not capable of running these programs. In our automated nightly build process, our cmake scripts use the cmake command find_package(CUDA) to determine whether the cuda software is installed. This sets the cmake variable CUDA_FOUND on platforms that have cuda software installed. This is great and it works perfectly. When CUDA_FOUND is set, it is OK to build cuda-enabled programs. Even when the

Renaming files during ANT copy

烈酒焚心 提交于 2019-11-30 06:48:53
I'd like to copy a directory of files, and rename some of them in the process. When I run the script below, nothing copies. If I comment the glob mappers in the file below, the files are copied (without the renaming) Thanks for any help. James <?xml version="1.0" ?> <project name="Create project structure" default="main"> <target name="main" description="Copy template files to project folder"> <echo>Copying template files to project folder</echo> <copy todir="${project.dir}" verbose="true" overwrite="true"> <fileset dir="${shared.files}/templateproject" excludes=".svn"/> <mapper>

Adding a framework to XCode 4

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-30 06:44:28
of course i did research before posting my question. I looked at How to "add existing frameworks" in Xcode 4? Adding Framework in Xcode 4 Adding an OpenGL framework in Xcode 4 XCode 4 adding dylib but whole thing is becoming wrong. My goal: Add (CorePlot) framework to XCode Mac project (not an iPhone one) My environment: OSX Lion 10.7, SDK Lion, XCode 4.1 (4B110) My steps: Opened XCode, created new project Downloaded CorePlot into my libraries directory (like ~/Applications/LIBS) Opened project preferences, via (+) opened dialog to add framework Add existing framework (+ copy files to dest.

How to organize the project tree for a C++ project using nmake?

£可爱£侵袭症+ 提交于 2019-11-30 06:38:32
There seems to be two major conventions for organizing project files and then many variations. Convention 1: High-level type directories, project sub-directories For example, the wxWidgets project uses this style: /solution /bin /prj1 /prj2 /include /prj1 /prj2 /lib /prj1 /prj2 /src /prj1 /prj2 /test /prj1 /prj2 Pros: If there are project dependencies, they can be managed from a single file Flat build file structure Cons: Since test has its own header and cpp files, when you generate the unit test applications for EXE files rather than libraries, they need to include the object files from the

Best enterprise repository tool for Maven 2?

雨燕双飞 提交于 2019-11-30 06:37:59
问题 Some of the other questions and answers here on SO extol the virtues of using an enterprise repository tool like Archiva, Artifactory, or Nexus. What are the pros and cons of each? How do I choose between them? In case it helps: We use both Maven 1 and Maven 2 (at least for a while) We want to store both internally-generated artifacts, publicly-available ones (ibiblio, codehaus, etc.), and proprietary ones (e.g. Sun's licensed JARs like the Servlet API). We would like something that runs on

Do you use Phing? [closed]

霸气de小男生 提交于 2019-11-30 05:57:34
Does anyone use Phing to deploy PHP applications, and if so how do you use it? We currently have a hand-written "setup" script that we run whenever we deploy a new instance of our project. We just check out from SVN and run it. It sets some basic configuration variables, installs or reloads the database, and generates a v-host for the site instance. I have often thought that maybe we should be using Phing . I haven't used ant much, so I don't have a real sense of what Phing is supposed to do other than script the copying of files from one place to another much as our setup script does. What

MSBuild doesn't pick up references of the referenced project

给你一囗甜甜゛ 提交于 2019-11-30 05:51:21
问题 I bumped into a strange situation with MSBuild just now. There's a solution which has three projects: LibX, LibY and Exe. Exe references LibX. LibX in its turn references LibY, has some content files, and also references to a third-party library (several pre-built assemblies installed in both GAC and local lib folder). The third-party library is marked as "Copy Local" ("private") and appears in the output of the LibX project, as the LibY's output and LibX's content files do. Now, Exe project