build-automation

Continuous Integration with Nant

馋奶兔 提交于 2019-12-03 20:16:02
I am preparing to use continuous integration for the first time. I will be using Nant for the automated build and testing tasks, and am trying to find the appropriate CI tool to poll the repository and execute the Nant script. I have so far loosely researched the following: Hudson Cruise Control Draco My sense so far is that since most of the work will be done by Nant, Draco would be fine because it is supposed to be easy to install/setup. Cruise Control and Hudson, on the other hand might provide better reporting options. What is the best way to perform Continuous Integration when using Nant

Building Qt Creator projects from command line

余生颓废 提交于 2019-12-03 18:38:22
问题 I'm in the process of writing a build script to automate build and release tasks. I have a Qt Creator project which has three configurations, two of which I want to completely rebuild from scratch without any precompiled headers and existing .o files to skip (release and release_production). The latter is the same except it has the PRODUCTION symbol #defined. I'm using windows. How can I build these configurations from the command line? Edit: Some clarification: The Qt Creator custom build

What's with all the Java Build tools?

别来无恙 提交于 2019-12-03 18:26:01
问题 what's the point of using ant, maven, and buildr? won't the using build in eclipse or netbeans work fine? i'm just curious what the purpose and benefit of extended build tools are. 回答1: Dependency Management : The build tools follow a component model that provides hints on where to look for dependencies. In Eclipse / Netbeans, you have to depend on a JAR and you don't really know if this JAR has been updated or not. With these build tools, they 'know' updates in dependencies (generally

How to sort array of version number strings in VBScript?

扶醉桌前 提交于 2019-12-03 18:17:41
问题 I am using SVN and tags to label releases, with each tag directory named with the version number. This is all fine, but now I am in the process of automating this build process using Visual Build Pro. I am using svn ls to retrieve a list of tags (which of course it doesn't return in a sorted order), which I use and then put into an array using Split() to sort to find the latest one to check out and build. This is all carried out in VBScript. The trouble is that as strings, the version numbers

Creating Hermetic Maven Builds

…衆ロ難τιáo~ 提交于 2019-12-03 17:47:31
问题 I am attempting to create a way in which hermetic builds can be achieved while still relying on SNAPSHOT dependencies in your project. For the purposes of example, say I have a project which has a dependency structure like this: ┌ other-1.2-SNAPSHOT mine-1.2.3 ──┤ └ thing-3.1-SNAPSHOT ── gizmo-6.1.3-SNAPSHOT What I would like to do is resolve all the SNAPSHOT dependencies locally to something which is related to my current version and then deploy those as releases to my Nexus' release

How to set up maven 3 local plugin repository

最后都变了- 提交于 2019-12-03 17:35:19
问题 I need to have a completely offline maven repository due to some limitations. According to http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException , only <pluginRepositories> are searched for plugins. So I am wondering how to configure maven to look up plugins in a local file system. I tried using "file://" prefix when setting <url> but it doesn't work. DEBUG] Verifying availability of /home/dsun/.m2/repository/org/apache/karaf/tooling/features-maven-plugin/2.3.0/features

How to version resources that are shared across projects

三世轮回 提交于 2019-12-03 16:30:24
We use Team Foundation Server and have numerous ASP.NET Web Application Projects. Each of the Web Apps uses a custom content management system that we've developed in house. The CMS is itself, an ASP.NET web app. When deployed, the CMS resides in a subdirectory, such as "/Admin". The CMS is comprised of .aspx and ascx files, and the corresponding assemblies are, of course, placed in the bin. Presently, the CMS files exist separately for each Web App in source control. In other words, an "Admin" folder exists in each web application that depends on the CMS. This poses obvious challenges since

Chain automated builds in the same Docker Hub repository

霸气de小男生 提交于 2019-12-03 16:23:57
Due to build time restrictions on Docker Hub, I decided to split the Dockerfile of a time-consuming automated build into 3 files. Each one of those "sub-builds" finishes within Docker Hub's time limits. I have now the following setup within the same repository: | branch | dockerfile | tag | | ------ | ------------------ | ------ | | master | /step-1.Dockerfile | step-1 | | master | /step-2.Dockerfile | step-2 | | master | /step-3.Dockerfile | step-3 | The images build on each other in the following order: step-1.Dockerfile : FROM ubuntu step-2.Dockerfile : FROM me/complex-image:step-1 step-3

Anything better than CruiseControl for .Net CI? [closed]

牧云@^-^@ 提交于 2019-12-03 16:16:21
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 4 years ago . I've been asked to set up yet another CruiceControl environment for yet another client. I realized that I've been using CC for years without really looking around for competitors. Is there anything else that's sprung up that does the job equally well or better for .Net apps?

Code freeze in SVN - Build management

纵然是瞬间 提交于 2019-12-03 16:15:29
Is there a better way to implement code freeze in SVN than asking all developers to not check in any new code? We have CruiseControl running, which automatically deploys the latest build to environment. So if new code comes in, the build that was made available earlier changes to the latest one. I want that the build that is deployed is the one from a particular branch/tag, so that any new code check-ins dont affect the deployed build. Only when i tag/branch next time, the new code should be again deployed. How can we achieve this? Use SVN's built in branching functionality. The following link