开发者

Configuration Preprocessor and conditional statements

I am trying to set a conditional statement to use an attribute depending on its value. I am not sure ccnet-config supports conditions

For example:

<cb:define project-name="$(name)" />
<cb:if test:"$(project-name ==开发者_C百科 '')">
    <cb:define project-name="$(name)" />
</cb:if>


The CruiseControl.NET pre-processor, as of version 1.5, doesn't support conditional statements, so this is not possible.


1.6 support this, and a few other new constructs (see the preprocessor documentation, new features are towards the bottom)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜