Ross, Thanks for the help. Im looking to get cruisecontrol.net to do incremental builds. (Builds with EVERY checkin) With my previous config file, it wasnt working. I dug around and found bootstrappers, and when I implemented them, they worked for a bit, then I moved that workspace, and that is when everything broke, with the previously posted errors. So I took the advice of you and David Cameron, and I pulled out the bootstrapper code. Opus_Development now works!! But I still cant get CCNET to build on checkin. Any ideas?
Thanks -Russ On Jan 2, 11:31 pm, "Ross Patterson" <[email protected]> wrote: > That's not a proper CruiseControl.NET config file. It looks almost right, > but there are aspects of it (*e.g.*, "<bootstrappers>") that aren't legal in > CruiseControl.NET but are in CruiseControl (the Java version). Did this > configuration ever work with CCNET? > > Ross > > On Fri, Jan 2, 2009 at 11:20, [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 type='defaultlabeller'> > > <prefix>Commit-</prefix> > > <incrementOnFailure>true</incrementOnFailure> > > </labeller> > > "> > > > <!ENTITY Opus_Development_Label " > > <labeller type='defaultlabeller'> > > <prefix>Opus_Development_</prefix> > > <incrementOnFailure>true</incrementOnFailure> > > </labeller> > > "> > > <!-- > > <!ENTITY Opus_Integration_Label " > > <labeller type='lastChangeLabeller'> > > <prefix>Opus_Integration_</prefix> > > <incrementOnFailure>true</incrementOnFailure> > > </labeller> > > "> > > --> > > <!ENTITY metricBuildLabel " > > <labeller type='defaultlabeller'> > > <prefix>Metric-</prefix> > > <incrementOnFailure>true</incrementOnFailure> > > </labeller> > > "> > > <!ENTITY deployBuildLabel " > > <labeller type='defaultlabeller'> > > <prefix>Deploy-</prefix> > > <incrementOnFailure>true</incrementOnFailure> > > </labeller> > > "> > > > <!ENTITY MSBuildAllTestsTask " > > <msbuild> > > <executable>C:\WINDOWS\Microsoft.NET\Framework > > ... > > read more »- Hide quoted text - > > - Show quoted text -
