build-automation

Integrating Jade in Yeoman's server/watch/reload tasks

不问归期 提交于 2019-11-27 12:25:38
问题 I've been playing around with Yeoman & Jade. I've created a small test app via yeoman init angular (it's an angular app, but that's not the point here)... When I enter yeoman server at the command line, it will: compile coffeescript & compass files start a server start a browser watch & reload coffeescript & compass changes in the browser Which is a great feature of Yeoman! Now I want the same feature with Jade. So I installed grunt-jade via npm install grunt-jade and added the following

Is continuous integration worth it for small projects?

送分小仙女□ 提交于 2019-11-27 11:40:08
问题 I've been pushing for continuous integration at my company since I joined 5 months ago, but having seen the type of applications we work on I'm starting to think that it might not be worth the effort of setting up each and every project for continuous integration. If you work in a development department where the average project takes 2-3 weeks and once it's deployed you seldom if ever have to worry about it, is continuous integration worth the hassle of setting it up? 回答1: Probably depends

Maven: Non-resolvable parent POM

烂漫一生 提交于 2019-11-27 11:37:43
I have my maven project setup as 1 shell projects and 4 children modules. When I try to build the shell. I get: [INFO] Scanning for projects... [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project module1:1.0_A0 (C:\module1\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Failure to find shell:pom:1.0_A0 in http://nyhub1.ny.ssmb.com:8081/nexus/content/repositories/JBoss/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss has elapsed or updates are forced and 'parent.relativePath' points at wrong local

Should I switch from nant to msbuild?

好久不见. 提交于 2019-11-27 11:34:47
问题 I currently use nant, ccnet (cruise control), svn, mbunit. I use msbuild to do my sln build just because it was simpler to shell out. Are there any merits to switching my whole build script to MSBuild? I need to be able to run tests, watir style tests, xcopy deploy. Is this easier? Update: Any compelling features that would cause me to shift from nant to msbuild? 回答1: I like MSBuild. One reason is that .csproj files are msbuild files, and building in VS is just like building at the command

How do you determine the latest SVN revision number rooted in a directory?

不羁的心 提交于 2019-11-27 11:34:28
I would like to start tagging my deployed binaries with the latest SVN revision number. However, because SVN is file-based and not directory/project-based, I need to scan through all the directory's and subdirectory's files in order to determine the highest revision number. Using svn info on the root doesn't work (it just reports the version of that directory, not files in subdirectories): I was wondering if there is a shortcut using the svn command to do this. Otherwise, can anyone suggest a simple script that is network-efficient (I would prefer if it didn't hit the remote server at all)? I

How to synchronise the publish version to the assembly version in a .NET ClickOnce application?

最后都变了- 提交于 2019-11-27 11:31:31
问题 In my C# ClickOnce application, there is an auto-incremented publish version in the Project -> Properties -> Publish tab. I'd like to display that version in my menu Help -> About box, but the code I'm using apparently accesses the assembly Version, which is different. The Assembly Version can be changed manually in the Project -> Properties -> Application -> Assembly Information dialog. So for now, every time before I publish I've been copying the publish version to the assembly version, so

Sharing build artifacts between jobs in Hudson

早过忘川 提交于 2019-11-27 11:08:14
问题 I'm trying to set up our build process in hudson. Job 1 will be a super fast (hopefully) continuous integration build job that will be built frequently. Job 2, will be responsible for running a comprehensive test suite, at a regular interval or triggered manually. Job 3 will be responsible for running analysis tools across the codebase (much like Job 2). I tried using the "Advanced Projects Options > use custom workspace" feature so that code compiled in Job 1 can be used in Job 2 and 3.

What strategies have you used to improve build times on large projects?

走远了吗. 提交于 2019-11-27 10:53:20
问题 I once worked on a C++ project that took about an hour and a half for a full rebuild. Small edit, build, test cycles took about 5 to 10 minutes. It was an unproductive nightmare. What is the worst build times you ever had to handle? What strategies have you used to improve build times on large projects? Update: How much do you think the language used is to blame for the problem? I think C++ is prone to massive dependencies on large projects, which often means even simple changes to the source

How to add a whole directory or project output to WiX package

可紊 提交于 2019-11-27 09:50:46
问题 We decided to switch from VS integrated setup to WiX. However, what we currently do is use projects output files as the input for the setup project. This lets us easily add Application Files to a directory (for images, samples, and other resources...) and those files are automatically added to the setup when we build. I could not find any similar feature in WiX. WiX seems to require one Directory entry and one File entry for each and every directory and file. This would require us to change

Programming Definitions: What exactly is 'Building'.

。_饼干妹妹 提交于 2019-11-27 09:25:50
问题 What does it mean to build a solution/project/program? I want to make sure I have my definitions correct (so I don't sound like a idiot when conversing). In IDE's, you can (correct me if I'm wrong) compile source-code/programming-code into computer-readable machine code. You can debug a program, which is basically stepping through the program and looking for errors. But what exactly does building a program do? In VS I'm aware that when you build a program it produces an executable file in a