David, Thanks for the tips on the closing comments...missed that one. Also I really dont know what it is meaning by \main\truetruetrue....I agree.....it looks fishy...but I cant seem to locate where in the config file ccnet may be getting this. But you and Ross were both correct about the bootstrapper code snippet. I included it in an attempt to 'fix' the "build on checkin" that I need for Opus_Development, because it is currently not working. That seemed to fix it for a bit, then the whole thing broke. Once I removed that code, my config resolves nicely.
My question is you mention "The <sourcecontrol> blocks in CC.Net serve a similar purpose." And it looks like my <sourcecontrol> blocks are set up...I must just not have them set to get a 'build-on-checkin'. Im finding code examples for seemingly every sourcecontrol OTHER than Accurev. Do you have any suggestions as to how I should proceed? Thanks, -Russ On Jan 3, 12:02 am, "David Cameron" <[email protected]> wrote: > Around line 31 in the stack trace there is an unusual ending to the line: > > <intervalTrigger name="continuous" seconds="120" > buildCondition="IfModificationExists" />--> > > The "--gt;" shouldn't be in the file at this point. Looking through > the config file you also included there are a few of the closing > comment markers that are not matched. > > For example, around line 398, we can see the fragment that ended up in > the final file above: > <triggers> > <intervalTrigger name="continuous" seconds="120" > buildCondition="IfModificationExists"/> > --> > > The other thing that caught my attention in the output was this > description of the troublesome input: > ThoughtWorks.CruiseControl.Core.ITask for object with value: "E: > \accurev\CI.Opus_Development_Build\maintruetruetrue" > > Why is there "truetruetrue" appended to the end of the directory > string? I tried to find obvious syntax errors near the > "CI.Opus_Development_Build" string, but didn't see anything obvious. > It still might be worth tracing that string through the file. > > I think Ross's suggestion is the best though: the <bootstrappers> > sections of this file look like they are from CruiseControl, and will > not be compatible with CruiseControl.Net. The <sourcecontrol> blocks > in CC.Net serve a similar purpose. > > Dave Cameronhttp://ccnet.thoughtworks.com > > On Sat, Jan 3, 2009 at 3:20 AM, [email protected] > > > > <[email protected]> wrote: > > > Hello, > > > First time poster to any of these types of boards. I have inherited > > a CCNET implementation with two projects in accurev, their workspaces > > on the E drive of my cruise control server, and one project in svn, > > its workspace on the C drive of my cruise control server. > > All was well, till I ran out of space on the C drive and had to move > > my SVN workspace to the E drive. I immeadiately got the below error: > > > 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. > > Cannot convert from type System.String to > > ThoughtWorks.CruiseControl.Core.ITask for object with value: "E: > > \accurev\CI.Opus_Development_Build\maintruetruetrue" > > Conflicting project data : > > <project name="Opus_Development" queue="AccuRevQueue" > > queuePriority="2"> > > <category>AutoVirt</category> > > <modificationDelaySeconds>30</modificationDelaySeconds> > > <workingDirectory>E:\accurev\CI.Opus_Development_Build</ > > workingDirectory> > > <sourcecontrol type="accurev"> > > <autoGetSource>true</autoGetSource> > > <executable>c:\Program Files\AccuRev\bin\accurev.exe</executable> > > <homeDir>c:\Documents and Settings\build</homeDir> > > <workspace>E:\accurev\CI.Opus_Development_Build</workspace> > > <login>true</login> > > <principal>build</principal> > > <password /> > > </sourcecontrol> > > <labeller type="defaultlabeller"> > > <prefix>Opus_Development_</prefix> > > <incrementOnFailure>true</incrementOnFailure> > > </labeller> > > <triggers> > > <intervalTrigger name="continuous" seconds="120" > > buildCondition="IfModificationExists" />--> > > <!-- can add a buildCondition="ForceBuild" when testing, else set to > > IfModificationExists --> > > </triggers> > > <tasks> > > <msbuild> > > <executable>C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe</ > > executable> > > <workingDirectory>E:\accurev\CI.Opus_Development_Build\main</ > > workingDirectory> > > <projectFile>Trunk.proj</projectFile> > > <buildArgs>/t:Clean</buildArgs> > > <logger>C:\Program Files\CruiseControl.NET\server > > \ThoughtWorks.CruiseControl.MsBuild.dll</logger> > > </msbuild> > > <bootstrappers> > > <accurevbootstrapper>E:\accurev\CI.Opus_Development_Build\main</ > > accurevbootstrapper> > > <synctime>true</synctime> > > <keep>true</keep> > > <verbose>true</verbose> > > </bootstrappers> > > <msbuild> > > <executable>C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe</ > > executable> > > <workingDirectory>E:\accurev\CI.Opus_Development_Build\main</ > > workingDirectory> > > <projectFile>Trunk.proj</projectFile> > > <buildArgs>/t:Build /p:TestInstallers=true /noconsolelogger</ > > buildArgs> > > <timeout>900</timeout> > > <logger>C:\Program Files\CruiseControl.NET\server > > \ThoughtWorks.CruiseControl.MsBuild.dll</logger> > > </msbuild> > > </tasks> > > <publishers> > > <merge><files><file>..\..\..\..\build\*-results.xml</file></files></ > > merge> > > <xmllogger /> > > <statistics /> > > </publishers> > > </project> > > ---> Exortech.NetReflector.NetReflectorException: Cannot convert from > > type System.String to ThoughtWorks.CruiseControl.Core.ITask for object > > with value: "E:\accurev\CI.Opus_Development_Build\maintruetruetrue" > > ---> System.NotSupportedException: ExpandableObjectConverter cannot > > convert from System.String. > > at System.ComponentModel.TypeConverter.GetConvertFromException > > (Object value) > > at System.ComponentModel.TypeConverter.ConvertFrom > > (ITypeDescriptorContext context, CultureInfo culture, Object value) > > at System.ComponentModel.TypeConverter.ConvertFrom(Object value) > > at Exortech.NetReflector.Util.ReflectorTypeConverter.Convert(Type > > to, Object from) > > --- End of inner exception stack trace --- > > at Exortech.NetReflector.Util.ReflectorTypeConverter.Convert(Type > > to, Object from) > > at Exortech.NetReflector.XmlArraySerialiser.Read(XmlNode node, Type > > instanceType, NetReflectorTypeTable table) > > at Exortech.NetReflector.XmlMemberSerialiser.Read(XmlNode node, > > NetReflectorTypeTable table) > > at Exortech.NetReflector.XmlTypeSerialiser.ReadMembers(XmlNode > > node, Object instance, NetReflectorTypeTable table) > > at Exortech.NetReflector.XmlTypeSerialiser.Read(XmlNode node, > > NetReflectorTypeTable table) > > 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.Restart() > > at > > ThoughtWorks.CruiseControl.Core.Config.ConfigurationUpdateHandler.Invoke > > () > > at > > ThoughtWorks.CruiseControl.Core.Config.FileWatcherConfigurationService.HandleConfigurationFileChanged > > (Object source, FileSystemEventArgs args) > > > My ccnet.config file reads below: > > > <!-- > > Confidential - Copyright 2008 AutoVirt, Inc., all rights reserved - > > Patent pending > > $Id:$ > > --> > > <!DOCTYPE cruisecontrol [ > > <!ENTITY SVN_DIR "E:\svn"> > > > <!ENTITY ACCUREV_DIR "E:\accurev"> > > <!ENTITY CI_Opus_Development_Build_Workspace > > "CI.Opus_Development_Build"> > > <!ENTITY CI_Opus_Integration_Build_Workspace > > "CI.Opus_Integration_Build"> > > <!ENTITY POWERSHELL "C:\WINDOWS\system32\WindowsPowerShell > > \v1.0\powershell.exe"> > > > <!ENTITY svnMainTrunk " > > <!-- the timeout has intentionally left out because even long > > timeout periods result in an Exception claiming that svn has timed > > out--> > > <sourcecontrol type='svn'> > > <trunkUrl>http://svn/main/trunk</trunkUrl> > > <workingDirectory>&SVN_DIR;\main\trunk</workingDirectory> > > <username>avlab\build</username> > > <password>@Utov1rt</password> > > <autoGetSource>true</autoGetSource> > > </sourcecontrol> > > "> > > > <!ENTITY svnEA1RCTrunk " > > <!-- the timeout has intentionally left out because even long > > timeout periods result in an Exception claiming that svn has timed > > out--> > > <sourcecontrol type='svn'> > > <trunkUrl>http://svn/main/branches/EA1_RC</trunkUrl> > > <workingDirectory>&SVN_DIR;\main\branches\EA1_RC</ > > workingDirectory> > > <username>avlab\build</username> > > <password>@Utov1rt</password> > > <autoGetSource>true</autoGetSource> > > </sourcecontrol> > > "> > > > <!ENTITY AccuRevGetSource_Opus_Development_Build " > > <sourcecontrol type='accurev'> > > <autoGetSource>true</autoGetSource> > > <executable>c:\Program Files\AccuRev\bin\accurev.exe</ > > executable> > > <homeDir>c:\Documents and Settings\build</homeDir> > > <workspace>&ACCUREV_DIR;\&CI_Opus_Development_Build_Workspace;</ > > workspace> > > <login>true</login> > > <principal>build</principal> > > <password></password> > > </sourcecontrol> > > > "> > > > <!-- > > <!ENTITY AccuRevGetSource_Opus_Integration_Build " > > <sourcecontrol type='accurev'> > > <autoGetSource>true</autoGetSource> > > <executable>c:\Program Files\AccuRev\bin\accurev.exe</ > > executable> > > <homeDir>c:\Documents and Settings\build</homeDir> > > <workspace>&ACCUREV_DIR;\&CI_Opus_Integration_Build_Workspace;</ > > workspace> > > <login>true</login> > > <principal>build</principal> > > <password></password> > > </sourcecontrol> > > > "> > > > <!ENTITY svnBranchesFalafel " > > <sourcecontrol type='svn'> > > <trunkUrl>http://svn/main/branches/falafel</trunkUrl> > > <workingDirectory>&SVN_DIR;\main\branches\falafel</ > > workingDirectory> > > <username>avlab\build</username> > > <password>@Utov1rt</password> > > <autoGetSource>true</autoGetSource> > > </sourcecontrol> > > "> > > --> > > > <!ENTITY nightlyBuildLabel " > > <labeller type='defaultlabeller'> > > <prefix>1.0.</prefix> > > <incrementOnFailure>true</incrementOnFailure> > > </labeller> > > "> > > <!ENTITY ea1RcBuildLabel " > > <labeller type='defaultlabeller'> > > <prefix>RC-1.0.177.</prefix> > > <incrementOnFailure>true</incrementOnFailure> > > </labeller> > > "> > > <!ENTITY commitBuildLabel " > > <labeller > > ... > > read more »- Hide quoted text - > > - Show quoted text -
