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)
精彩评论