Hello, Mono 2.4 has a know problem that prevents you from using CCNet. Its fixed in Mono 2.4.2
Daniel Leszek Ciesielski schrieb: > Mono 2.0 is most likely your problem. Try 2.4. > > On Mon, Jun 1, 2009 at 7:50 AM, Ruben Willems <[email protected]> wrote: > >> Hi >> >> this must indeed be a MONO item, because the same config runs fine on >> windows. >> so, this will be for Dna I guess .... >> >> with kind regards >> Ruben Willems >> >> On Mon, Jun 1, 2009 at 12:19 AM, Symon Rottem <[email protected]> wrote: >> >>> I've been trying to get up an running under Ubuntu 8.04 and have been >>> having some trouble. I've installed Mono 2.0 and can get ccnet.exe to >>> run with a super-basic config (<project name="test"/>) but it seems to >>> choke when I add anything more sophisticated. >>> >>> For example, I added the following labeller block: >>> >>> <labeller type="defaultlabeller"> >>> <prefix>1.0.</prefix> >>> <labelFormat>000</labelFormat> >>> </labeller> >>> >>> This causes the executable to fail with the following stack trace: >>> >>> [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. >>> Type with NetReflector name "" does not exist. The name may be >>> incorrect or the assembly containing the type might not be loaded. >>> Xml: <labeller type=""><prefix></prefix><labelFormat></labelFormat></ >>> labeller> >>> Conflicting project data : <project >>> name=""><triggers><intervalTrigger></intervalTrigger></ >>> triggers><sourcecontrol type=""><trunkUrl></trunkUrl></ >>> sourcecontrol><labeller type=""><prefix></prefix><labelFormat></ >>> labelFormat></labeller><nant></nant></project> >>> ---------- >>> 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. >>> Type with NetReflector name "" does not exist. The name may be >>> incorrect or the assembly containing the type might not be loaded. >>> Xml: <labeller type=""><prefix></prefix><labelFormat></labelFormat></ >>> labeller> >>> Conflicting project data : <project >>> name=""><triggers><intervalTrigger></intervalTrigger></ >>> triggers><sourcecontrol type=""><trunkUrl></trunkUrl></ >>> sourcecontrol><labeller type=""><prefix></prefix><labelFormat></ >>> labelFormat></labeller><nant></nant></project> ---> >>> Exortech.NetReflector.NetReflectorException: Type with NetReflector >>> name "" does not exist. The name may be incorrect or the assembly >>> containing the type might not be loaded. >>> Xml: <labeller type=""><prefix></prefix><labelFormat></labelFormat></ >>> labeller> >>> at Exortech.NetReflector.XmlMemberSerialiser.GetTargetType >>> (System.Xml.XmlNode childNode, >>> Exortech.NetReflector.NetReflectorTypeTable table) [0x00000] >>> at Exortech.NetReflector.XmlMemberSerialiser.Read >>> (System.Xml.XmlNode node, Exortech.NetReflector.NetReflectorTypeTable >>> table) [0x00000] >>> at Exortech.NetReflector.XmlTypeSerialiser.ReadMembers >>> (System.Xml.XmlNode node, System.Object instance, >>> Exortech.NetReflector.NetReflectorTypeTable table) [0x00000] >>> at Exortech.NetReflector.XmlTypeSerialiser.Read (System.Xml.XmlNode >>> node, Exortech.NetReflector.NetReflectorTypeTable table) [0x00000] >>> at Exortech.NetReflector.NetReflectorReader.Read (System.Xml.XmlNode >>> node) [0x00000] >>> at >>> >>> ThoughtWorks.CruiseControl.Core.Config.NetReflectorConfigurationReader.Read >>> (System.Xml.XmlDocument document) [0x00000] --- End of inner exception >>> stack trace --- >>> >>> at >>> >>> ThoughtWorks.CruiseControl.Core.Config.NetReflectorConfigurationReader.Read >>> (System.Xml.XmlDocument document) [0x00000] >>> at >>> >>> ThoughtWorks.CruiseControl.Core.Config.DefaultConfigurationFileLoader.PopulateProjectsFromXml >>> (System.Xml.XmlDocument configXml) [0x00000] >>> at >>> ThoughtWorks.CruiseControl.Core.Config.DefaultConfigurationFileLoader.Load >>> (System.IO.FileInfo configFile) [0x00000] >>> at >>> ThoughtWorks.CruiseControl.Core.Config.FileConfigurationService.Load >>> () [0x00000] >>> at >>> >>> ThoughtWorks.CruiseControl.Core.Config.FileWatcherConfigurationService.Load >>> () [0x00000] >>> at >>> ThoughtWorks.CruiseControl.Core.Config.CachingConfigurationService.Load >>> () [0x00000] >>> at ThoughtWorks.CruiseControl.Core.CruiseServer..ctor >>> (IConfigurationService configurationService, >>> IProjectIntegratorListFactory projectIntegratorListFactory, >>> IProjectSerializer projectSerializer, IProjectStateManager >>> stateManager, System.Collections.Generic.List`1 extensionList) >>> [0x00000] >>> at ThoughtWorks.CruiseControl.Core.CruiseServerFactory.CreateLocal >>> (System.String configFile) [0x00000] >>> at ThoughtWorks.CruiseControl.Core.CruiseServerFactory.CreateRemote >>> (System.String configFile) [0x00000] >>> at ThoughtWorks.CruiseControl.Core.CruiseServerFactory.Create >>> (Boolean remote, System.String configFile) [0x00000] >>> at ThoughtWorks.CruiseControl.Core.ConsoleRunner.LaunchServer () >>> [0x00000] >>> at ThoughtWorks.CruiseControl.Core.ConsoleRunner.Run () [0x00000] >>> at ThoughtWorks.CruiseControl.Console.AppRunner.Run (System.String[] >>> args) [0x00000] >>> ---------- >>> >>> An unexpected error has caused the console to crash, please press any >>> key to continue... >>> >>> The same problem happens if I remove the labeller block and add a >>> sourcecontrol block with type="svn". I'm guessing something is going >>> wrong with NetReflector during validation, but I'm stumped as to how >>> to address it. >>> >>> Little help? >>> >>> Cheers, >>> >>> Symon. >>> >>> >>> >>> >>
