Hi Daniël,

As you told, I also tried changing cb to pp without success.

Cheers,

Raúl

On 24 abr, 10:38, Daniël <goo...@twia.nl> wrote:
> Hi Raúl,
>
> I remember that I have been struggeling with this, and I think that in
> the end I changed the namespace from cb to pp.
> May be a long shot though.
>
> Daniël
>
> On 24 apr, 09:56, Raúl Nuño <rauln...@gmail.com> wrote:
>
> > Hi Daniël,
>
> > It keeps failing.
>
> > My ccnet.config:
>
> > <cruisecontrol xmlns:cb="urn:ccnet.config.builder">
> >     <cb:include href="project.xml"/>
> > </cruisecontrol>
>
> > Where project.xml contains:
>
> > <project name="My Project">
> > ...
> > </project>
>
> > And if I modify ccnet.config as below:
>
> > <cruisecontrol xmlns:cb="urn:ccnet.config.builder">
> >     <project name="My Project">
> >     ...
> >     </project>
> > </cruisecontrol>
>
> > That works...
>
> > Cheers,
>
> > Raúl
>
> > On 23 abr, 13:40, Daniël <goo...@twia.nl> wrote:
>
> > > Hi Raúl,
>
> > > I am using the include tag in RC1 and it works.
> > > I define the namespace in the root element as:
> > > xmlns:pp="urn:ccnet.config.builder"
>
> > > and then the include looks something like:
> > > <pp:include href="myInclude.xml" />
>
> > > I hope that helps.
>
> > > Daniël
>
> > > On Apr 23, 1:21 pm, Raúl Nuño <rauln...@gmail.com> wrote:
>
> > > > 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...
>
> > > > 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- Tekst uit oorspronkelijk bericht niet weergeven -
>
> > - Tekst uit oorspronkelijk bericht weergeven -

Reply via email to