build-process

Speeding up build times in ASP.NET

独自空忆成欢 提交于 2019-12-30 00:36:14
问题 I am currently involved in a ASP.NET project with about 40 projects in the solution. We are doing all our development in cloned Virtual PC environments so all developers have identical setups. That's all good, managing dependencies is easy, however building the solution is horribly slow. Virtual PC can only utilize one CPU so I'm really only using half of my computers resources. It takes a full 3 minutes from build to a complete page load.. and it's getting worse every day as the projects

In Eclipse, how can I exclude some files (maybe based on the .svn extension or filename) from being copied to the output folder?

妖精的绣舞 提交于 2019-12-29 16:25:33
问题 I'm developing a Java application using Eclipse. My project has two source directories that are both built and then some files are copied into the output folder. From the output directory I then run my application and all works well. However, I keep having these warnings: Snapshot from Problems tab in Eclipse http://www.freeimagehosting.net/uploads/128c1af93f.png Anyone know how to get rid of these warnings? Maybe by excluding some files, maybe based on the .svn extension or filename, from

How can TFS build process be configured to execute tests on Test Agents through a Test Controller?

百般思念 提交于 2019-12-29 08:02:30
问题 We have a Visual Studio test controller with 3 registered test agents in a specific test environment setup for our nightly automation runs. I've seen ample documentation on having the build agents run the tests, but we need the test execution to go through the controller and run from the test agents instead. My thought was to edit the build process template so it would trigger the execution of these remotely executed tests and then wait for the test run results, but I have no experience with

Create multiple versions of a project in Visual Studio using Build Configurations

狂风中的少年 提交于 2019-12-29 07:01:14
问题 I neeed to create multiple versions of my project using configuration just like we do with #define , #if , #endif . The down side of using these preprocessor directives is that I need to define symbols in almost every file of the project but I want to handle this thing by my build configurations. I am not even sure if Build Configurations will help me to do this. What I want is if I create a configuration with name "Development" and other with name "QA", my code would look like: if

Including resource file in a project by .RC file rather than .RES file

*爱你&永不变心* 提交于 2019-12-29 05:07:49
问题 I remember reading an article or post somewhere years ago that suggested including a resource file in a project by referencing the .rc file instead of an already compiled .res file so that the resource is built as part of the project's build process. I have a glyphs.rc file that I currently compile using the command brcc32 glyphs.rc. In my project file I then have the statement {$R Glyphs.res}. I'd like to simplify this by changing it to something like {$R Glyphs.rc} but am unsure of the

How to Increment Version Number via Gulp Task?

馋奶兔 提交于 2019-12-29 03:37:12
问题 I would like to replace a string indicating version number in a javascript file ( myConstantsFile.js ), with another string. So, for example, my version number looks like this: "01.11.15", written like this in myConstantsFile.js with other constants: .constant('productVersion', '1.11.15'); Right now, my task looks like this: gulp.task('increment-version', function(){ gulp.src(['./somedir/myConstantsFile.js']) .pipe(replace(/'productVersion', '(.*)'/g, '99.99.99')) .pipe(gulp.dest('./somedir/'

Is there a way to split/factor out common parts of Gradle build

若如初见. 提交于 2019-12-28 12:09:32
问题 We have several independent builds (each independent build is a multi-project build). The main build scripts become quite big as we have a set of common tasks reused by subprojects as well as there is a lot of repeation between indepedent builds. What we are looking for is: A way to split main build file into smaller files A way to reuse some parts of the build in other independent builds What is the best way to achieve that in Gradle? 回答1: Gradle 0.9 allows you to import a build script from

Build and Version Numbering for Java Projects (ant, cvs, hudson)

。_饼干妹妹 提交于 2019-12-28 01:39:49
问题 What are current best-practices for systematic build numbering and version number management in Java projects? Specifically: How to manage build numbers systematically in a distributed development environment How to maintain version numbers in source / available to the runtime application How to properly integrate with source repository How to more automatically manage version numbers vs. repository tags How to integrate with continuous build infrastructure There are quite a number of tools

Can I create an ASP.NET MVC 2 project with multiple areas without referencing each Child in the parent area?

放肆的年华 提交于 2019-12-25 16:43:35
问题 This is a follow-up question to my original query: How can I use multiple projects to separate a large ASP.NET MVC site into departments? Now that I have this working, is there a way to still have multiple project but not have to reference each child area from the parent project? Ideally I'd like to be able to have multiple, separate and distinct projects that only come together on the production/test machines. I should be able to build and test each "area" separately. 回答1: Not in MVC 2 Beta.

Naming a file in Apache Ant based on contents of different file

混江龙づ霸主 提交于 2019-12-25 09:44:50
问题 I've got foo.js, and an ant build process that results in foo.min.js. foo.js has a header comment that includes: * $Id: foo.js 12345 2011-10-04 14:35:23Z itoltz $ Where 12345 is the revision of the file when committed to SVN. I'd like to copy foo.min.js to foo.min.12345.js 回答1: You can extract the revision number into a property using loadfile and regex. Then you can copy the file using the property. <project default="rename"> <target name="rename" depends="get-rev"> <copy file="foo.min.js"