that's the plan run it outside the test
just compile that source, and drop in the files you mentioned On Fri, Apr 23, 2010 at 11:59 AM, johnman <[email protected]> wrote: > Thanks Ruben, > > Could you also trying to do it outside of the test. > > i.e. drop the config files into the server directory and run ccnet.exe > > (I also tried the 1.6 download and it gave me the same error and tried > running 1.5 on someone else's workstation to ensure it wasn't > something to do with my pc [although from the error it seems > unlikely]). > > > John > > On Apr 23, 10:51 am, Ruben Willems <[email protected]> wrote: > > Hi > > > > very weird > > as you can see from the modification log, this is indeed the build where > I > > added your tests. > > > > I'll run it again, keeping you posted .... > > > > 2010-04-22 14:45:34 Label : 1.5.7217.1 Changed Files: 12 add > > unittests for the Preprocessor, scenario's provided by John Mandia > > Added willemsruben add unittests for the Preprocessor, scenario's > provided > > by John Mandia > > > /branches/RB_1_5/project/UnitTests/resources/IntegrationScenarios/CCNetConfigWithPreProcessor_5.xml > > Modified willemsruben add unittests for the Preprocessor, scenario's > > provided by John Mandia > > /branches/RB_1_5/project/UnitTests/IntegrationTests/PreprocessorTest.cs > > Modified willemsruben add unittests for the Preprocessor, scenario's > > provided by John Mandia > /branches/RB_1_5/project/UnitTests/UnitTests.csproj > > Added willemsruben add unittests for the Preprocessor, scenario's > provided > > by John Mandia > > > /branches/RB_1_5/project/UnitTests/resources/IntegrationScenarios/test1.xml > > Added willemsruben add unittests for the Preprocessor, scenario's > provided > > by John Mandia > > > /branches/RB_1_5/project/UnitTests/resources/IntegrationScenarios/test2.xml > > Added willemsruben add unittests for the Preprocessor, scenario's > provided > > by John Mandia > > > /branches/RB_1_5/project/UnitTests/resources/IntegrationScenarios/test3.xml > > Added willemsruben add unittests for the Preprocessor, scenario's > provided > > by John Mandia > > > /branches/RB_1_5/project/UnitTests/resources/IntegrationScenarios/test4.xml > > Added willemsruben add unittests for the Preprocessor, scenario's > provided > > by John Mandia > > > /branches/RB_1_5/project/UnitTests/resources/IntegrationScenarios/test5.xml > > Added willemsruben add unittests for the Preprocessor, scenario's > provided > > by John Mandia > > > /branches/RB_1_5/project/UnitTests/resources/IntegrationScenarios/CCNetConfigWithPreProcessor_1.xml > > Added willemsruben add unittests for the Preprocessor, scenario's > provided > > by John Mandia > > > /branches/RB_1_5/project/UnitTests/resources/IntegrationScenarios/CCNetConfigWithPreProcessor_2.xml > > Added willemsruben add unittests for the Preprocessor, scenario's > provided > > by John Mandia > > > /branches/RB_1_5/project/UnitTests/resources/IntegrationScenarios/CCNetConfigWithPreProcessor_3.xml > > Added willemsruben add unittests for the Preprocessor, scenario's > provided > > by John Mandia > > > /branches/RB_1_5/project/UnitTests/resources/IntegrationScenarios/CCNetConfigWithPreProcessor_4.xml > > > > > > > > On Fri, Apr 23, 2010 at 11:40 AM, johnman <[email protected]> wrote: > > > Hi Ruben, > > > > > This is strange. > > > > > I have been grabbing the files from here (this is just the latest I > > > downloaded): > > > > >http://ccnetlive.thoughtworks.com/CCNet-builds/1.5.0/1.5.7217.1/ > > > > > Extracted it to > > > > > C:\Program Files\CruiseControl.NET-1.5 > > > > > Set the command prompt to server and ran ccnet (also tried running the > > > service that failed to start). > > > > > This is with test1 dropped into the server directory. > > > > > Error message: > > > > > CCNet Server:ERROR] INTERNAL ERROR: Unhandled Xml Node Type: > > > DocumentType > > > --------- > > > ystem.InvalidOperationException: Unhandled Xml Node Type: DocumentType > > > at > > > > > > ThoughtWorks.CruiseControl.Core.Config.Preprocessor.ElementProcessors.DefaultProcessor.Process(XNode > > > node) > > > at > > > > > > ThoughtWorks.CruiseControl.Core.Config.Preprocessor.ConfigPreprocessor.<PreProcess>b__1(XNode > > > node) > > > at System.Linq.Enumerable.<SelectManyIterator>d__14`2.MoveNext() > > > at > > > > > > ThoughtWorks.CruiseControl.Core.Config.Preprocessor.ConfigPreprocessor.PreProcess(XmlReader > > > input, XmlWriter output, XmlUrlResolver resolver, Uri input_uri) > > > at > > > > > > ThoughtWorks.CruiseControl.Core.Config.DefaultConfigurationFileLoader.CreateXmlValidatingLoader(FileInfo > > > configFile) > > > at > > > > > > ThoughtWorks.CruiseControl.Core.Config.DefaultConfigurationFileLoader.AttemptLoadConfiguration(FileInfo > > > configFile) > > > 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, IFileSystem fileSystem, > > > IExecutionEnvironment executionEnvironment > > > List`1 extensionList) > > > at > > > ThoughtWorks.CruiseControl.Core.CruiseServerFactory.CreateLocal(String > > > configFile) > > > at > > > ThoughtWorks.CruiseControl.Core.CruiseServerFactory.CreateRemote(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, > > > Boolean usesShadowCopying) > > > --------- > > > > > An unexpected error has caused the console to crash, please press any > > > key to continue... > > > > > I'm on Windows XP with .NET 3.5 SP1 installed. > > > > > John > > > > > On Apr 22, 8:53 pm, Ruben Willems <[email protected]> wrote: > > > > Hi > > > > > > I added your scenario's to the integration tests, and all succeeded > in > > > the > > > > 1.5 branch :-) > > > > > > but in trunk they fail :-( > > > > > > are you 100% sure that you have a 1.5 build ? > > > > > > with kind regards > > > > Ruben Willems > > > > > > On Thu, Apr 22, 2010 at 5:21 PM, johnman <[email protected]> > wrote: > > > > > Hi Ruben, > > > > > > > I've uploaded 5 different test scenarios here: > > > > > > > > http://groups.google.com/group/ccnet-devel/web/ccnet-configuration-is. > > > .. > > > > > > > Thanks, > > > > > > > John > > > > > > > On Apr 22, 3:45 pm, Ruben Willems <[email protected]> wrote: > > > > > > Hi > > > > > > > > can you mail me a ccnet.config and xml file whitch shows this? > > > > > > So I can check it via a test. > > > > > > > > with kind regards > > > > > > Ruben Willems > > > > > > > > On Thu, Apr 22, 2010 at 4:40 PM, johnman <[email protected]> > > > wrote: > > > > > > > Thanks! > > > > > > > > > If all projects are inline it works but if you try to include a > > > file > > > > > > > via xml entity include or the cb:include it doesn't seem to > work > > > > > > > (although it did seem to work with an earlier release). > > > > > > > > > On Apr 22, 11:25 am, Ruben Willems <[email protected]> > > > wrote: > > > > > > > > Hi > > > > > > > > > > there was not a real patch, I had a bug in my integration > test > > > :-( > > > > > > > > so your problem still remains it seems. > > > > > > > > > > I'll make an extra integration test with your setup, and see > what > > > > > that > > > > > > > > gives. > > > > > > > > > > with kind regards > > > > > > > > Ruben Willems > > > > > > > > > > On Thu, Apr 22, 2010 at 10:56 AM, johnman < > [email protected] > > > > > > > wrote: > > > > > > > > > Hi Ruben, > > > > > > > > > > > I just pulled down the latest version of 1.5 from the ccnet > > > live > > > > > > > > > dashboard and I am still getting a similar error. > > > > > > > > > > > Was this patch applied to the 1.5 branch? > > > > > > > > > > > Thanks, > > > > > > > > > > > John > > > > > > > > > > > On Apr 21, 7:18 pm, Ruben Willems <[email protected] > > > > > wrote: > > > > > > > > > > Hi all > > > > > > > > > > > > patch has been applied > > > > > > > > > > and integration test added. > > > > > > > > > > > > with kind regards > > > > > > > > > > Ruben Willems > > > > > > > > > > > > On Wed, Apr 21, 2010 at 5:12 PM, johnman < > > > [email protected]> > > > > > > > wrote: > > > > > > > > > > > Hi I seem to be having a problem with cb include. > > > > > > > > > > > > > I'm on 1.5.7180.4: > > > > > > > > > > > > > ccnet.config looks like this: > > > > > > > > > > > > > <cruisecontrol xmlns:cb="urn:ccnet.config.builder"> > > > > > > > > > > > <cb:include href="myproj.config"/> > > > > > > > > > > > </cruisecontrol> > > > > > > > > > > > > > also tried: > > > > > > > > > > > > > <cruisecontrol xmlns:cb="urn:ccnet.config.builder"> > > > > > > > > > > > <cb:include href="myproj.config" > > > > > > > xmlns:cb="urn:ccnet.config.builder"/> > > > > > > > > > > > </cruisecontrol> > > > > > > > > > > > > > myproj.config > > > > > > > > > > > > > <cb:config-template > xmlns:cb="urn:ccnet.config.builder"> > > > > > > > > > > > <project name="MyFirstProject" /> > > > > > > > > > > > </cb:config-template> > > > > > > > > > > > > > This fails as well: > > > > > > > > > > > > > <project name="MyFirstProject" /> > > > > > > > > > > > > > and so does this: > > > > > > > > > > > > > <project name="MyFirstProject" > > > > > > > xmlns:cb="urn:ccnet.config.builder"/> > > > > > > > > > > > > > This is the error I get: > > > > > > > > > > > > > [CCNet Server:ERROR] INTERNAL ERROR: Object reference > not > > > set > > > > > to an > > > > > > > > > > > instance of an object. > > > > > > > > > > > ---------- > > > > > > > > > > > System.NullReferenceException: Object reference not set > to > > > an > > > > > > > instance > > > > > > > > > > > of an object. > > > > > > > > > > > at > > > > > > ThoughtWorks.CruiseControl.Core.Config.Preprocessor.PreprocessorEnvironment.PushInclude(String > > > > > > > > > > > href) > > > > > > > > > > > at > > > > > > ThoughtWorks.CruiseControl.Core.Config.Preprocessor.ElementProcessors.IncludeProcessor.Process(XNode > > > > > > > > > > > node) > > > > > > > > > > > at > > > > > > ThoughtWorks.CruiseControl.Core.Config.Preprocessor.ElementProcessors.DefaultProcessor._ProcessPpElement(XElement > > > > > > > > > > > element) > > > > > > > > > > > at > > > > > > ThoughtWorks.CruiseControl.Core.Config.Preprocessor.ElementProcessors.DefaultProcessor._ProcessElement(XElement > > > > > > > > > > > element) > > > > > > > > > > > at > > > > > > ThoughtWorks.CruiseControl.Core.Config.Preprocessor.ElementProcessors.DefaultProcessor.Process(XNode > > > > ... > > > > read more »- Hide quoted text - > > > > - Show quoted text - >
