Anyone have any ideas what I can do?
On Dec 11 2009, 11:14 am, Simon Martin <[email protected]> wrote: > I am trying to make use of the PreProcessor, following the example > onhttp://confluence.public.thoughtworks.org/display/CCNET/Configuration... > When I try to validate I get the following error (that I'll have to > type out because there's no handy copy error option!) > > An unexpected error has occurred while loading the configuration! > Unexpected value type 'XPathArrayIterator' while processing value for > 'CITrigger' [ApplicationException] > at > ThoughtWorks.CruiseControl.Core.Config.Preprocessor.Utils.ThrowAppException > (String fmt, Object[] args) > at > ThoughtWorks.CruiseControl.Core.Config.Preprocessor.ConfigPreprocessorEnvironment.eval_text_constant > (String name) > at > ThoughtWorks.CruiseControl.Core.Config.Preprocessor.ConfigPreprocessorEnvironment.<>c__DisplayClass1.<eval_text_constants>b__0 > (Match match) > > ... etc > > This is the config I'm trying to validate > <cruisecontrol xmlns:cb="urn:ccnet.config.builder"> > <cb:define WorkingDirectory="W:\CCWorkingDirectory\"/> > <cb:define SvnExecutable="C:\Progra~1\Visual~1\bin\svn.exe" /> > <cb:define BaseTrunkUrl="https://cibuild:8443/svn/" /> > <cb:define BuildScriptsDir="W:\CCBuildScripts\" /> > <cb:define XmlLoggerDir="W:\CCLogs" /> > <cb:define name="CITrigger"> > <triggers> > <intervalTrigger name="continuous" seconds="30" > initialSeconds="80" /> > </triggers> > </cb:define> > > <cb:define name="OurProject"> > <project name="$(ProjectName)"> > .... removed for brevity ... > $(Trigger) > </project> > </cb:define> > > <cb:scope ProjectName="CodeOfPracticeDev" > ProjectFile="CodeOfPractice.sln" Trigger="$(CITrigger)"> > <cb:OurProject /> > </cb:scope>
