如何在CruiseControl.net中配置svn Task来检测Subversion外部更改 [英] how to configure svn Task in CruiseControl.net to detect subversion external changes

查看:56
本文介绍了如何在CruiseControl.net中配置svn Task来检测Subversion外部更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Subversion中有一个.net项目,该项目与
Cruisecontrol.net连续集成。

I have a .net project in subversion which is contineously integrated with Cruisecontrol.net.

我使用Svn源代码控制CCNET任务。

i use Svn source control CCNET task.

.net项目库目录,其中一组可重用组件配置为Subversion外部组件。

The .net project library directory with set of reusable components configured as subversion externals.

ProjectA\libraries {可重用组件目录}
ProjectA\库\组件1
ProjectA\库\组件2
ProjectA\库\组件3

ProjectA\libraries {reusable components directory} ProjectA\libraries\component1 ProjectA\libraries\component2 ProjectA\libraries\component3

projectA\Src {源代码目录}

projectA\Src { source code directory}

当更改Subversion外部组件时,不会触发生成,因为它没有检测到外部文件夹中发生的更改。

when the subversion externals are changed the build is not triggered, as it is not detecting the changes happened in extern folders.

当配置为外部组件的
组件发生更改时,如何立即构建Subversion ccnet任务。

How to make subversion ccnet task to build immediately when there is change in configured components as externals.

推荐答案

在CruiseControl.NET 1.4中,有一些用于subversion源代码控制块的新标志,其中之一是CheckExternals在conf中将其设置为true

In CruiseControl.NET 1.4 there is a few new flags for the subversion source control block, one of them is CheckExternals set this to true in your config and any modifications in your externals should trigger a build.

<checkExternals>True</checkExternals>
<checkExternalsRecursive>True</checkExternalsRecursive>

这篇关于如何在CruiseControl.net中配置svn Task来检测Subversion外部更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆