Hi,

I'm testing 1.4.4 RC1 version. I copied ccnet.config and the included
XML files (I have each project configuration separately on XML files)
from my CCNet 1.4.3 server.

When I try to start the service I get:

2009-04-23 12:46:52,841 [CCNet Server:ERROR] Exception:
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 (#text).  Xml Source:
 Conflicting project data :
----------
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 (#text).  Xml Source:
 Conflicting project data :  --->
Exortech.NetReflector.NetReflectorException: No loaded type is marked
up with a ReflectorType attribute that matches the Xml node (#text).
Xml Source:
   at Exortech.NetReflector.NetReflectorReader.Read(XmlNode node)
   at
ThoughtWorks.CruiseControl.Core.Config.NetReflectorConfigurationReader.Read
(XmlDocument document)
   --- End of inner exception stack trace ---
   at
ThoughtWorks.CruiseControl.Core.Config.NetReflectorConfigurationReader.Read
(XmlDocument document)
   at
ThoughtWorks.CruiseControl.Core.Config.DefaultConfigurationFileLoader.Load
(FileInfo configFile)
   at
ThoughtWorks.CruiseControl.Core.Config.FileConfigurationService.Load()
   at
ThoughtWorks.CruiseControl.Core.Config.FileWatcherConfigurationService.Load
()
   at
ThoughtWorks.CruiseControl.Core.Config.CachingConfigurationService.Load
()
   at ThoughtWorks.CruiseControl.Core.CruiseServer..ctor
(IConfigurationService configurationService,
IProjectIntegratorListFactory projectIntegratorListFactory,
IProjectSerializer projectSerializer, IProjectStateManager
stateManager, List`1 extensionList)
   at ThoughtWorks.CruiseControl.Core.CruiseServerFactory.CreateLocal
(String configFile)
   at ThoughtWorks.CruiseControl.Core.CruiseServerFactory.Create
(Boolean remote, String configFile)
   at ThoughtWorks.CruiseControl.Core.ConsoleRunner.LaunchServer()
   at ThoughtWorks.CruiseControl.Core.ConsoleRunner.Run()
   at ThoughtWorks.CruiseControl.Console.AppRunner.Run(String[] args)
----------

It works on 1.4.3 but not on 1.4.4 RC1...

Furthermore, I've used the new CCValidator with result "Internal
validation passed".

I have removed the <include> elements and I have copy/pasted the
content of the XML files and... ouch, now works!

Before post I have read:
http://confluence.public.thoughtworks.org/display/CCNET/Configuration+Preprocessor

I discovered the statement "define a <cb:config-template
xmlns:cb="urn:ccnet.config.builder"> root element in every included
file" and now I'm applying it but CCNet still crashes. I suppose it's
not necessary for me because I have only one project tag (one root
element) on each XML file.

Cheers,

Raúl

Reply via email to