简体   繁体   English

Cruise control.NET跟踪源文件被更改的次数?

[英]Cruise control.NET tracking the number of times source files are changed?

i have configured a ccnet which actually sniffs for the modifications in my source files present in my local system.My ccnet.config file will poll every 4 minutes to check for any modification in the source files.So the problem is like if i modify the same file twice,when the ccnet polls what i see in the command window is jst 1 modification is detected instead of 2 modification which i had done.Can u plz suggest any method by which i can get the exact number of times my source files gets modified. 我已经配置了一个ccnet,它实际上会嗅探本地系统中存在的源文件中的修改。我的ccnet.config文件将每4分钟轮询一次,以检查源文件中是否有任何修改。所以问题就好像我是否修改了相同的文件两次,当ccnet轮询我在命令窗口中看到的内容时,首先检测到1次修改,而不是我进行的2次修改。请问我可以通过任何方法获取我的源文件获得确切次数的方法吗?改性。 to make it more clear:-------- suppose my source folders contain files named ac,bc and dc If i make modification in ac and bc,when my ccnet polls at the exact interval it shows 2 modifications detected and starts the build process.Now if i make modification only in ac for 2 times and when the ccnet polls it shows only 1 modification detected instead of 2 modifications detected.So can u plz explain this discrepency?? 更清楚地说:--------假设我的源文件夹包含名为ac,bc和dc的文件如果我在ac和bc中进行了修改,则当ccnet以确切的时间间隔进行轮询时,它将显示检测到2次修改并开始现在,如果我仅在ac中进行2次修改,并且ccnet轮询时,它仅显示检测到1个修改,而不是检测到2个修改。那么您能解释一下这种差异吗?

Thanks Maddy 谢谢妈妈

CruiseControl.Net checks modifications since the last build in order to know whether it should trigger a new build or not. CruiseControl.Net会检查自上次构建以来的修改,以了解是否应触发新的构建。 It doesn't need to know how many times a file is modified, only which files have been modified since the last time it checked. 无需知道文件被修改了多少次,只需知道自上次检查以来已修改了哪些文件。

The number of modifications refers to the files that were modified, not the number or times that the file was modified. 修改数量是指已修改的文件,而不是文件的修改数量或次数。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM