Cruise Control include.projects not recognized
I have a very basic ccnet.config file, in which I am trying to use the include.projects tag to include a very basic project. For so开发者_StackOverflow社区me reason, when I use this tag the CCNet Server won't start, and I get the following error in windows EventLog:
ThoughtWorks.CruiseControl.Core.Config.ConfigurationException: Unable to instantiate CruiseControl projects from configuration document. Configuration document is likely missing Xml nodes required for properly populating CruiseControl configuration. No loaded type is marked up with a ReflectorType attribute that matches the Xml node (include.projects).
Here is my ccnet.config:
<cruisecontrol>
<include.projects file="MyTestProject.config" />
</cruisecontrol>
Any advice appreciated!
Thanks
As detailed in the documentation, correct syntax is:
<cruisecontrol xmlns:cb="urn:ccnet.config.builder">
<cb:include href="MyTestProject.config"/>
</cruisecontrol>
精彩评论