Configuration does not have any version information - assuming the configuration is for version 1.5

你说的曾经没有我的故事 提交于 2019-12-09 14:47:41

问题


Where in ccnet.config set version? I search and read docs but there is no version mentioned.


回答1:


You can add this line in your config file:

<cruisecontrol xmlns:cb="urn:ccnet.config.builder" xmlns="http://thoughtworks.org/ccnet/1/5"> 

It is mentionned in this tracker CCNET-1870 : http://jira.public.thoughtworks.org/browse/CCNET-1870




回答2:


@Andy I got the same error in one of my configurations. If you use cb:include in your configuration file, you should also give xmlns=version-url cb:config-template in configuration files included by cb:include.



来源:https://stackoverflow.com/questions/2843506/configuration-does-not-have-any-version-information-assuming-the-configuration

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!